[Bug 393030] New: kernel install/remove leaves broken system ...
https://bugzilla.novell.com/show_bug.cgi?id=393030 User mmeeks@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=393030#c392054 Summary: kernel install/remove leaves broken system ... Product: openSUSE 11.0 Version: Beta 2 Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: Booting AssignedTo: jsrain@novell.com ReportedBy: mmeeks@novell.com QAContact: jsrain@novell.com Found By: --- Sooo ... perhaps this is a side-effect of #392054# / #389177# - however I have removed my /.buildenv and (I believe) can expect my machine to continue to work. So - to reproduce: I install the kernel-debug package: this results in a happy looking /boot - though (most strangely) - while I now have 3 kernels installed: kernel-default, kernel-debug and kernel-xen: I only have one mentioned (kernel-debug) in /boot/grub/menu.lst. Nevertheless - since kernel-debug doesn't boot (#393002#) I try to remove it: zypper rm kernel-debug it is removed; and (as if by magic) /boot has a broken initrd link, and grub/menu.lst is now completely devoid of useful content :-) Quite how this happens is rather a mystery: before I started trying to repeat this I had at least a 'failsafe' option in the grub menu. Now I still have 2 kernels installed and neither of them in my boot menu :-) I attach an strace of the zypper rm in case it helps. -- 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=393030
User mmeeks@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=393030#c1
--- Comment #1 from Michael Meeks
https://bugzilla.novell.com/show_bug.cgi?id=393030
User mmeeks@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=393030#c2
--- Comment #2 from Michael Meeks
https://bugzilla.novell.com/show_bug.cgi?id=393030
User mmeeks@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=393030#c3
--- Comment #3 from Michael Meeks
https://bugzilla.novell.com/show_bug.cgi?id=393030
User mmeeks@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=393030#c4
Michael Meeks
https://bugzilla.novell.com/show_bug.cgi?id=393030
User agruen@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=393030#c5
Andreas Gruenbacher
https://bugzilla.novell.com/show_bug.cgi?id=393030
User roland.kletzing@materna.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=393030#c6
roland kletzing
https://bugzilla.novell.com/show_bug.cgi?id=393030
User aosthof@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=393030#c7
--- Comment #7 from Alexander Osthof
https://bugzilla.novell.com/show_bug.cgi?id=393030
User mmeeks@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=393030#c8
--- Comment #8 from Michael Meeks
https://bugzilla.novell.com/show_bug.cgi?id=393030
User aosthof@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=393030#c9
Alexander Osthof
https://bugzilla.novell.com/show_bug.cgi?id=393030
User mmeeks@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=393030#c10
--- Comment #10 from Michael Meeks
https://bugzilla.novell.com/show_bug.cgi?id=393030
User roland.kletzing@materna.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=393030#c11
--- Comment #11 from roland kletzing
https://bugzilla.novell.com/show_bug.cgi?id=393030
User roland.kletzing@materna.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=393030#c12
--- Comment #12 from roland kletzing
https://bugzilla.novell.com/show_bug.cgi?id=393030
User mmeeks@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=393030#c13
Michael Meeks
Sorry, but I have to disappoint you. In both cases of either a fresh installation or and "normal" kernel update long names of images (vmlinuz & initrd) will be entered in the menu.lst, e.g. "vmlinuz-2.6.22.17-0.1-default" or "initrd-2.6.22.17-0.1-default", to avoid above described confusions.
Re-opening & bumping priority - I just did a live-CD install of RC1; and my /boot/grub/menu.lst emphatically uses symlinks to initrd and vmlinuz: $ ls -l /boot total 12644 .. drwxr-xr-x 2 root root 4096 Jun 2 09:42 grub lrwxrwxrwx 1 root root 25 Jun 2 09:42 initrd -> initrd-2.6.25.4-8-default -rw-r--r-- 1 root root 5777149 Jun 2 09:42 initrd-2.6.25.4-8-default .. lrwxrwxrwx 1 root root 26 Jun 2 09:36 vmlinuz -> vmlinuz-2.6.25.4-8-default -rw-r--r-- 1 root root 2125760 May 27 01:47 vmlinuz-2.6.25.4-8-default $ cat grub/menu.lst # Modified by YaST2. Last modification on Mon Jun 2 09:42:30 BST 2008 default 0 timeout 8 gfxmenu (hd0,5)/boot/message ###Don't change this comment - YaST2 identifier: Original name: linux### title openSUSE 11.0 root (hd0,5) kernel /boot/vmlinuz root=/dev/disk/by-id/scsi-SATA_WDC_WD800BB-75FWD-WCAJD1497090-part6 resume=/dev/sda5 splash=silent showopts vga=0x305 initrd /boot/initrd ###Don't change this comment - YaST2 identifier: Original name: windows### title Windows rootnoverify (hd0,5) chainloader (hd0,1)+1 ###Don't change this comment - YaST2 identifier: Original name: floppy### title Floppy rootnoverify (hd0,5) chainloader (fd0)+1 ###Don't change this comment - YaST2 identifier: Original name: failsafe### title Failsafe -- openSUSE 11.0 root (hd0,5) kernel /boot/vmlinuz root=/dev/disk/by-id/scsi-SATA_WDC_WD800BB-75FWD-WCAJD1497090-part6 showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off x11failsafe vga=0x305 initrd /boot/initrd
Using symlinks for those file as in your case most likely stems from a manual intervention, thus there's nothing systematic I can do. Changing the symlinks (thus let them point to a new image) even happens in the post install/uninstall script of kernel packages, which I'm not responsible for. And I don't think this will be changed due to legacy issues IMHO.
Quite possibly this is a live-CD specific problem; re-opening & upping priority. -- 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=393030
User mmeeks@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=393030#c14
--- Comment #14 from Michael Meeks
https://bugzilla.novell.com/show_bug.cgi?id=393030
JP Rosevear
https://bugzilla.novell.com/show_bug.cgi?id=393030
User coolo@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=393030#c15
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=393030
User coolo@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=393030#c16
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=393030
User coolo@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=393030#c17
--- Comment #17 from Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=393030
User coolo@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=393030#c18
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=393030
Jozef Uhliarik
https://bugzilla.novell.com/show_bug.cgi?id=393030
User coolo@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=393030#c19
--- Comment #19 from Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=393030
User jsrain@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=393030#c20
--- Comment #20 from Jiri Srain
https://bugzilla.novell.com/show_bug.cgi?id=393030
User juhliarik@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=393030#c21
Jozef Uhliarik
participants (1)
-
bugzilla_noreply@novell.com