[Bug 1208963] New: [Build 20230305] util-linux: invalid postun script for libfdisk1
rpm -q --scripts libfdisk1
http://bugzilla.opensuse.org/show_bug.cgi?id=1208963 Bug ID: 1208963 Summary: [Build 20230305] util-linux: invalid postun script for libfdisk1 Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other URL: https://openqa.opensuse.org/tests/3159146/modules/tdup /steps/10 OS: Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem Assignee: screening-team-bugs@suse.de Reporter: dimstar@opensuse.org QA Contact: qa-bugs@suse.de Found By: openQA Blocker: Yes ## Observation The current postun script for libfdisk1 contains: postinstall program: /sbin/ldconfig postuninstall scriptlet (using /sbin/ldconfig): # ulsubset == core, pre & post ###################### # Systemd pre & post # ###################### # ulsubset == systemd, pre & post ############## # Base files # ############## the comments are passed as parameter to ldconfig, which is invalid. openQA test in scenario microos-Tumbleweed-MicroOS-Image-x86_64-microos2microosnext@64bit fails in [tdup](https://openqa.opensuse.org/tests/3159146/modules/tdup/steps/10) ## Test suite description Boot from the latest published MicroOS image and transactional-update dup to snapshot under test. Make sure to use %BUILD% in the URL and file name to force a redownload for new builds. ## Reproducible Fails since (at least) Build [20230305](https://openqa.opensuse.org/tests/3159146) (current job) ## Expected result Last good: [20230304](https://openqa.opensuse.org/tests/3157654) (or more recent) ## Further details Always latest result in this scenario: [latest](https://openqa.opensuse.org/tests/latest?arch=x86_64&distri=microos&flavor=MicroOS-Image&machine=64bit&test=microos2microosnext&version=Tumbleweed) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1208963 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rgoldwyn@suse.com Assignee|screening-team-bugs@suse.de |saweber@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1208963 http://bugzilla.opensuse.org/show_bug.cgi?id=1208963#c1 --- Comment #1 from Dominique Leuenberger <dimstar@opensuse.org> --- Fix has been submitted to Factory: https://build.opensuse.org/request/show/1069593 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1208963 http://bugzilla.opensuse.org/show_bug.cgi?id=1208963#c2 Andreas Stieger <Andreas.Stieger@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |Andreas.Stieger@gmx.de Resolution|--- |FIXED --- Comment #2 from Andreas Stieger <Andreas.Stieger@gmx.de> --- and it just landed in a snapshot. message no longer appears after 2nd update, the postun of the previous package still triggers. I think this can be closed. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1208963 Guillaume GARDET <guillaume.gardet@arm.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |guillaume.gardet@arm.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1208963 Pavel Dost�l <pdostal@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pdostal@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1208963 http://bugzilla.opensuse.org/show_bug.cgi?id=1208963#c3 Santiago Zarate <santiago.zarate@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |santiago.zarate@suse.com Resolution|FIXED |--- --- Comment #3 from Santiago Zarate <santiago.zarate@suse.com> --- (In reply to Andreas Stieger from comment #2)
and it just landed in a snapshot. message no longer appears after 2nd update, the postun of the previous package still triggers. I think this can be closed.
Nope, on one of my systems:
The following 58 packages are going to be upgraded: MicroOS-release MicroOS-release-appliance branding-openSUSE btrfsprogs btrfsprogs-udev-rules checkpolicy elfutils ethtool grep grub2 grub2-branding-openSUSE grub2-i386-pc grub2-i386-pc-extras grub2-snapper-plugin grub2-x86_64-efi grub2-x86_64-efi-extras iproute2 kdump krb5 libasm1 libblkid1 libbrotlicommon1 libbrotlidec1 libbtrfs0 libbtrfsutil1 libdw1 libelf1 libfdisk1 libhugetlbfs liblz4-1 libmount1 libpython3_10-1_0 libselinux1 libsemanage-conf libsemanage2 libsepol2 libsmartcols1 libsystemd0 libudev1 libuuid1 policycoreutils policycoreutils-python-utils python3-policycoreutils python3-selinux python310 python310-base python310-semanage selinux-policy selinux-policy-targeted selinux-tools systemd timezone udev util-linux util-linux-systemd vim-data-common vim-small yast2-logs
The following product is going to be upgraded: openSUSE MicroOS 20230304-0 -> 20230309-0
...
Mar 09 01:18:06 ninlil transactional-update[7595]: /sbin/ldconfig: relative path `1' used to build cache Mar 09 01:18:06 ninlil transactional-update[7595]: warning: %postun(libfdisk1-2.38.1-7.1.x86_64) scriptlet failed, exit status 1 Mar 09 01:18:06 ninlil transactional-update[7595]: done]
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1208963 http://bugzilla.opensuse.org/show_bug.cgi?id=1208963#c4 Luciano Santos <luc14n0@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED --- Comment #4 from Luciano Santos <luc14n0@opensuse.org> --- Yes Santiago, this is fixed already. For MicroOS systems, this command can be used to get past the postun scriptlet failure:
$ sudo transactional-update run zypper --ignore-unknown dup
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1208963 http://bugzilla.opensuse.org/show_bug.cgi?id=1208963#c5 --- Comment #5 from Dominique Leuenberger <dimstar@opensuse.org> --- Snapshot 0311 will contain a transactional-update fix taking care of this transparently -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com