Hi, On Tue, 17 Feb 2009, Peter Poeml wrote:
On Tue, Feb 17, 2009 at 04:31:18PM +0100, Eberhard Moenkeberg wrote:
I can live with it, but it is nasty, and against YaST's philosophy.
If YOU is offering a kernel update, it brings a popup window. I then do
cd /lib/modules mkdir x cp -al `uname -r` x/ cd /boot mkdir x cp -a *`uname -r`* x/ cd /usr/src cp -al linux-`uname -r`* x/
then ack the popup, and after YOU has finished, I copy the saves back to ..
This way, my old, but running kernel is still valid - I can delay the reboot as long as I like and enter an additional, "safe" boot target into the grub or lilo setup.
YaST is still wasting /etc/lilo.conf and /boot/grub/menue.lst regularly in this case, but that is a different point if you need something to argue against the "quality" which I will not reflect upon here.
rpm -e --justdb kernel-$version should achieve the same; it is what I used until I settled for yum.
Splendid idea. Thanks.
--noscripts can be useful, as well. Otherwise the bootloader config might be touched, which poses a risk in itself. But the config needs to be closely watched anyway, if a kernel is going to be updated. (I forgot to mention it before.)
Oh yes, both /etc/lilo.conf and /boot/grub/menue.conf get mangled unusable currently if you have symlinks like "vmlinuz.old" and "vmlinuz.ori" for saved older kernels... I had entered https://bugzilla.novell.com/show_bug.cgi?id=410431 against it, but contrary to the last comment from 2008-09-19 no solution yet.
(And I routinely find myself deinstalling the suspend package; because it has a habit of recreating *all* initrds in its postinstall script, which I'm not fond of.)
Bugzilla ID? ... and the rpm -e --just-db" command should read in full: rpm -e --justdb --noscripts kernel-source kernel-<flavour> where <flavour> is default, xen, smp, bigsmp and so on. Viele Grüße Eberhard Mönkeberg (emoenke@gwdg.de, em@kki.org) -- Eberhard Mönkeberg Arbeitsgruppe IT-Infrastruktur E-Mail: emoenke@gwdg.de Tel.: +49 (0)551 201-1551 ------------------------------------------------------------------------- Gesellschaft für wissenschaftliche Datenverarbeitung mbH Göttingen (GWDG) Am Fassberg 11, 37077 Göttingen URL: http://www.gwdg.de E-Mail: gwdg@gwdg.de Tel.: +49 (0)551 201-1510 Fax: +49 (0)551 201-2150 Geschäftsführer: Prof. Dr. Bernhard Neumair Aufsichtsratsvorsitzender: Dipl.-Kfm. Markus Hoppe Sitz der Gesellschaft: Göttingen Registergericht: Göttingen Handelsregister-Nr. B 598 -------------------------------------------------------------------------