http://bugzilla.suse.com/show_bug.cgi?id=1012825
Bug ID: 1012825 Summary: YaST2 hung "retrieving cracklib-dict-full.rpm extension" if rpm passed in DUD Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: PowerPC-64 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 Assignee: yast2-maintainers@suse.de Reporter: normand@linux.vnet.ibm.com QA Contact: jsrain@suse.com Found By: --- Blocker: ---
Created attachment 704263 --> http://bugzilla.suse.com/attachment.cgi?id=704263&action=edit installation_overview-y2logs.tar.bz2
YaST2 hung "retrieving cracklib-dict-full.rpm extension"
while investigating bug https://bugzilla.suse.com/show_bug.cgi?id=1009472 I tried to pass a DUD=*dud containing the rpm*.rpm
The consequence is that YaST2 hungs at "retrieving cracklib-dict-full.rpm extension"
The y2log ends is stuck at Calling: extend,
note that there is no /var/log/extend in reported tarball and no trace of extend in /var/log/linuxrc.log
steps: === $mkdud -c /tmp/boo1009472.dud --install instsys --force -d 20161122 /tmp/powerpc-utils-1.3.2-9.ppc64le.rpm /tmp/rpm-4.12.0.1-0.ppc64le.rpm === /var/lib/openqa/script/client jobs post ISO=openSUSE-Tumbleweed-DVD-ppc64le-Snapshot20161122-Media.iso ARCH=ppc64le BUILD=20161122 DESKTOP=minimalx DISTRI=opensuse DVD=1 FLAVOR=DVD HDDSIZEGB=40 MACHINE=ppc64le-multipath MULTIPATH=1 OFW=1 QEMU=ppc64 QEMUCPU=host QEMUCPUS=8 QEMURAM=4096 QEMUTHREADS=8 TEST=install_minimalx VERSION=Tumbleweed Test=install_minimalx VGA=std WORKER_CLASS=qemu_ppc64le DUD=http://stade.lab.toulouse-stg.fr.ibm.com/~normand/boo1009472.dud === extract y2log install(8235) [Ruby] modules/InstExtensionImage.rb:386 Calling: extend 'cracklib-dict-full.rpm' ===
http://bugzilla.suse.com/show_bug.cgi?id=1012825 http://bugzilla.suse.com/show_bug.cgi?id=1012825#c1
--- Comment #1 from Michel Normand normand@linux.vnet.ibm.com --- if needed I can provide with the dud file I used: === $lr /tmp/boo1009472.dud -rw-r--r-- 1 michel users 2.0M Nov 30 06:50 /tmp/boo1009472.dud $mkdud -s /tmp/boo1009472.dud === Update #1 === [ppc64le-20161122] Name: powerpc-utils-1.3.2-9.ppc64le Thu Nov 24 07:01:34 2016 rpm-4.12.0.1-0.ppc64le Tue Nov 29 16:32:07 2016 ID: 145b8a20-f175-4aae-bd2f-3f4199f6c726 Installation System: *** Warning: includes /usr/src/packages. *** /bin/rpm /etc/init.d/rpmconfigcheck /usr/bin/amsstat /usr/bin/convertdb1 /usr/bin/gendiff /usr/bin/rpm2cpio /usr/bin/rpmdb /usr/bin/rpmgraph /usr/bin/rpmkeys /usr/bin/rpmqpack ... (198 more files) ===
http://bugzilla.suse.com/show_bug.cgi?id=1012825 http://bugzilla.suse.com/show_bug.cgi?id=1012825#c2
--- Comment #2 from Michel Normand normand@linux.vnet.ibm.com --- I have the same hung on "retrieving cracklib-dict-full.rpm extension" with a simpler case passing directly the rpm rather than via a dud file. === /var/lib/openqa/script/client jobs post ISO=openSUSE-Tumbleweed-DVD-ppc64le-Snapshot20161122-Media.iso ARCH=ppc64le BUILD=20161122 DESKTOP=minimalx DISTRI=opensuse DVD=1 FLAVOR=DVD HDDSIZEGB=40 MACHINE=ppc64le-multipath MULTIPATH=1 OFW=1 QEMU=ppc64 QEMUCPU=host QEMUCPUS=8 QEMURAM=4096 QEMUTHREADS=8 TEST=install_minimalx VERSION=Tumbleweed Test=install_minimalx VGA=std WORKER_CLASS=qemu_ppc64le DUD=http://download.opensuse.org/ports/ppc/tumbleweed/repo/oss/suse/ppc64le/rpm-... ===
http://bugzilla.suse.com/show_bug.cgi?id=1012825 http://bugzilla.suse.com/show_bug.cgi?id=1012825#c3
Arvin Schnell aschnell@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|yast2-maintainers@suse.de |snwint@suse.com
--- Comment #3 from Arvin Schnell aschnell@suse.com --- Last line of y2log is "Calling: extend 'cracklib-dict-full.rpm'". So looks like a linuxrc issue.
http://bugzilla.suse.com/show_bug.cgi?id=1012825 http://bugzilla.suse.com/show_bug.cgi?id=1012825#c4
--- Comment #4 from Steffen Winterfeldt snwint@suse.com --- mkdud actually warns you about this:
# mkdud --force ... rpm-4.*.rpm [...] Installation System: *** Warning: includes /usr/src/packages. *** /bin/rpm
Without '--force' mkdud will fix the dud to prevent these issues. (The mentioned directory must not exist in the install environment.)
But unfortunately you need '--force' to build a dud for the currently broken TW iso. :-(
http://bugzilla.suse.com/show_bug.cgi?id=1012825 http://bugzilla.suse.com/show_bug.cgi?id=1012825#c5
--- Comment #5 from Steffen Winterfeldt snwint@suse.com --- ATM, the only way is to do an additional step and remove the file manually, like:
# mkdud -c /tmp/foo.tar --format tar --force ... rpm-*.rpm # mkdir /tmp/bar # tar -C /tmp/bar -xf /tmp/foo.tar # rm -r /tmp/bar/linux/suse/<XXX>/inst-sys/usr/src/packages # mkdud -c /tmp/foo.dud /tmp/bar
http://bugzilla.suse.com/show_bug.cgi?id=1012825 http://bugzilla.suse.com/show_bug.cgi?id=1012825#c6
--- Comment #6 from Michel Normand normand@linux.vnet.ibm.com --- In reply to Steffen Winterfeldt from comment #4 and comment #5
I apologise, I did not previously understood the meaning of mkdud warning about /usr/src/packages and its potential impact on Yast.
I just followed your suggestion to remove the related dir in generated dud file, and tried to use used, and my install trial do not fail anymore.
So if you agree we can close this bug as a user error.
http://bugzilla.suse.com/show_bug.cgi?id=1012825 http://bugzilla.suse.com/show_bug.cgi?id=1012825#c7
Michel Normand normand@linux.vnet.ibm.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID
--- Comment #7 from Michel Normand normand@linux.vnet.ibm.com --- as per comment #6 close bug as user error.
http://bugzilla.suse.com/show_bug.cgi?id=1012825 http://bugzilla.suse.com/show_bug.cgi?id=1012825#c8
--- Comment #8 from Steffen Winterfeldt snwint@suse.com --- my plan was actually to keep it open as a reminder to make mkdud's warnings more clear...
http://bugzilla.suse.com/show_bug.cgi?id=1012825 http://bugzilla.suse.com/show_bug.cgi?id=1012825#c9
Michel Normand normand@linux.vnet.ibm.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID |---
--- Comment #9 from Michel Normand normand@linux.vnet.ibm.com --- reopen as per comment #8
http://bugzilla.suse.com/show_bug.cgi?id=1012825 http://bugzilla.suse.com/show_bug.cgi?id=1012825#c10
Sergio Lindo Mansilla slindomansilla@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |slindomansilla@suse.com
--- Comment #10 from Sergio Lindo Mansilla slindomansilla@suse.com --- reproduced on latest SLE 12 SP3 Build https://openqa.suse.de/tests/768407#step/user_settings_root/4
By Anton Anton Smorodskyi
http://bugzilla.suse.com/show_bug.cgi?id=1012825 http://bugzilla.suse.com/show_bug.cgi?id=1012825#c11
Steffen Winterfeldt snwint@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(slindomansilla@su | |se.com)
--- Comment #11 from Steffen Winterfeldt snwint@suse.com --- What do you mean by 'reproduced'?
The report is about a DUD that updated rpm.rpm and was produced with 'mkdud --force' to ignore some warnings.
Is that what you tested?
http://bugzilla.suse.com/show_bug.cgi?id=1012825 http://bugzilla.suse.com/show_bug.cgi?id=1012825#c12
Anton Smorodskyi anton.smorodskyi@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |anton.smorodskyi@suse.com
--- Comment #12 from Anton Smorodskyi anton.smorodskyi@suse.com --- Sorry , you right my issue is not related because test didn't use DUD. I was confused by same error message.
So please ignore comment #10. ( Sergio did it on my request because we had SSO issues last Friday)
http://bugzilla.suse.com/show_bug.cgi?id=1012825 http://bugzilla.suse.com/show_bug.cgi?id=1012825#c13
Sergio Lindo Mansilla slindomansilla@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(slindomansilla@su | |se.com) |
--- Comment #13 from Sergio Lindo Mansilla slindomansilla@suse.com --- Anton forgot to free the "need info", when he answered
http://bugzilla.suse.com/show_bug.cgi?id=1012825 http://bugzilla.suse.com/show_bug.cgi?id=1012825#c14
Steffen Winterfeldt snwint@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium URL| |https://trello.com/c/OvfmDM | |1P Assignee|snwint@suse.com |yast-internal@suse.de
--- Comment #14 from Steffen Winterfeldt snwint@suse.com --- tracked in yast scrum board now
http://bugzilla.suse.com/show_bug.cgi?id=1012825
Steffen Winterfeldt snwint@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |snwint@suse.com
https://bugzilla.suse.com/show_bug.cgi?id=1012825 https://bugzilla.suse.com/show_bug.cgi?id=1012825#c15
Ancor Gonzalez Sosa ancor@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |CONFIRMED CC| |ancor@suse.com
--- Comment #15 from Ancor Gonzalez Sosa ancor@suse.com --- Updating the status to fit our search filters. This task is still queued in the YaST Team backlog.
https://bugzilla.suse.com/show_bug.cgi?id=1012825 https://bugzilla.suse.com/show_bug.cgi?id=1012825#c16
Stefan Hundhammer shundhammer@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|yast-internal@suse.de |snwint@suse.com
--- Comment #16 from Stefan Hundhammer shundhammer@suse.com --- Steffen, this is very old and probably a very minor problem since it's about a fringe case. This may be a WONTFIX.
But since it's about "mkdud" and maybe installation-images, it's now yours anyway. ;-)