[Bug 456417] New: mkinitrd creates broken symlinks on update
https://bugzilla.novell.com/show_bug.cgi?id=456417 Summary: mkinitrd creates broken symlinks on update Product: openSUSE 11.1 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bwalle@novell.com ReportedBy: mmarek@novell.com QAContact: qa@suse.de Found By: --- /sbin/mkinitrd_setup is called in %post, at which point files from the old package still exist and are symlinked to /lib/mkinitrd/setup/. This is how it looks when updating from a 11.0 mkinitrd (dead links are marged with a "!"): sepie:~ # ls /lib/mkinitrd/setup/ 01-prepare.sh 41-md.sh! 81-dasd.sh! 91-mount.sh 02-start.sh 51-kpartx.sh! 81-firewire.sh 91-progs.sh 03-udev.sh 61-dmraid.sh! 81-iscsi.sh! 91-splash.sh! 03-usb.sh 61-multipath.sh! 81-nfs.sh! 91-vendor.sh 11-storage.sh 62-dm.sh! 81-zfcp.sh! 92-busybox.sh! 21-luks.sh! 71-blockpartition.sh 82-network.sh 93-sharedlibs.sh 31-evms.sh! 72-block.sh 91-acpi.sh 94-done.sh 32-lvm2.sh! 81-cifs.sh! 91-modules.sh sepie:~ # mkinitrd egrep: /lib/mkinitrd/setup/21-luks.sh: No such file or directory egrep: /lib/mkinitrd/setup/31-evms.sh: No such file or directory egrep: /lib/mkinitrd/setup/32-lvm2.sh: No such file or directory egrep: /lib/mkinitrd/setup/41-md.sh: No such file or directory egrep: /lib/mkinitrd/setup/51-kpartx.sh: No such file or directory egrep: /lib/mkinitrd/setup/61-dmraid.sh: No such file or directory egrep: /lib/mkinitrd/setup/61-multipath.sh: No such file or directory egrep: /lib/mkinitrd/setup/62-dm.sh: No such file or directory egrep: /lib/mkinitrd/setup/81-cifs.sh: No such file or directory egrep: /lib/mkinitrd/setup/81-dasd.sh: No such file or directory egrep: /lib/mkinitrd/setup/81-iscsi.sh: No such file or directory egrep: /lib/mkinitrd/setup/81-nfs.sh: No such file or directory egrep: /lib/mkinitrd/setup/81-zfcp.sh: No such file or directory egrep: /lib/mkinitrd/setup/91-splash.sh: No such file or directory egrep: /lib/mkinitrd/setup/92-busybox.sh: No such file or directory Kernel image: /boot/vmlinuz-2.6.27.7-6-default Initrd image: /boot/initrd-2.6.27.7-6-default Root device: /dev/disk/by-id/scsi-SATA_ST3320613AS_9SZ01CBL-part2 (/dev/sda2) (mounted on / as ext3) /sbin/mkinitrd: line 397: /lib/mkinitrd/setup/21-luks.sh: No such file or directory Script /lib/mkinitrd/setup/21-luks.sh failed! The old package should have contained a %postun to clean up -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=456417
User mmarek@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=456417#c1
Michal Marek
https://bugzilla.novell.com/show_bug.cgi?id=456417
User bwalle@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=456417#c2
Bernhard Walle
https://bugzilla.novell.com/show_bug.cgi?id=456417
User mmarek@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=456417#c4
--- Comment #4 from Michal Marek
https://bugzilla.novell.com/show_bug.cgi?id=456417
User bwalle@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=456417#c5
--- Comment #5 from Bernhard Walle
https://bugzilla.novell.com/show_bug.cgi?id=456417
User mmarek@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=456417#c6
--- Comment #6 from Michal Marek
https://bugzilla.novell.com/show_bug.cgi?id=456417
User bwalle@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=456417#c7
Bernhard Walle
https://bugzilla.novell.com/show_bug.cgi?id=456417
User agraf@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=456417#c8
Alexander Graf
participants (1)
-
bugzilla_noreply@novell.com