[Bug 854348] New: purge-kernels feature missing in dracut
https://bugzilla.novell.com/show_bug.cgi?id=854348 https://bugzilla.novell.com/show_bug.cgi?id=854348#c0 Summary: purge-kernels feature missing in dracut Classification: openSUSE Product: openSUSE Factory Version: 13.2 Milestone 0 Platform: x86-64 OS/Version: openSUSE 13.1 Status: NEW Severity: Major Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: m4ng4n@gmx.de QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:25.0) Gecko/20100101 Firefox/25.0 When installing dracut instead of mkinitrd old kernels are not being purged anymore when the multiversion.kernels feature is activated in /etc/zypp/zypp.conf. The file /boot/do_purge_kernels is correctly generated by a new kernel installation. The files /sbin/purge-kernels, /etc/systemd/system/runlevel5.target.wants/purge-kernels.service (and probably some more) are being deinstalled together with mkinitrd when switching from mkinitrd to dracut. Reproducible: Always Steps to Reproduce: 1. install dracut 2. activate multiversion.kernels in zypp.conf 3. install new kernel 4. reboot Actual Results: Old kernel(s) not being deleted Expected Results: Old kernels will be deleted -- 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=854348
https://bugzilla.novell.com/show_bug.cgi?id=854348#c
Borislav Petkov
https://bugzilla.novell.com/show_bug.cgi?id=854348
https://bugzilla.novell.com/show_bug.cgi?id=854348#c
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=854348 https://bugzilla.novell.com/show_bug.cgi?id=854348#c3 Thomas Renningerchanged: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |m4ng4n@gmx.de --- Comment #3 from Thomas Renninger 2013-12-10 14:40:37 UTC --- >From what I can see /sbin/purge-kernels should work for dracut as well. You can either: 1) Uninstall dracut: rpm -e dracut --nodeps 2) Install mkinitrd: zypper install mkinitrd 3) cp purge-kernels script away: cp /sbin/purge-kernels /tmp 4 Install dracut again: rpm -e mkinitrd --nodeps zypper install dracut or even better: I built a dracut package simply adding /sbin/purge-kernels from mkinitrd: ftp.suse.com/pub/people/trenn/dracut_purge_kernels Does this one solve your problem? -- 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=854348
https://bugzilla.novell.com/show_bug.cgi?id=854348#c4
Andreas Prittwitz
https://bugzilla.novell.com/show_bug.cgi?id=854348
https://bugzilla.novell.com/show_bug.cgi?id=854348#c5
Thomas Renninger
https://bugzilla.novell.com/show_bug.cgi?id=854348
https://bugzilla.novell.com/show_bug.cgi?id=854348#c
Thomas Renninger
https://bugzilla.novell.com/show_bug.cgi?id=854348
https://bugzilla.novell.com/show_bug.cgi?id=854348#c6
--- Comment #6 from Andreas Prittwitz
https://bugzilla.novell.com/show_bug.cgi?id=854348
https://bugzilla.novell.com/show_bug.cgi?id=854348#c7
Andreas Prittwitz
https://bugzilla.novell.com/show_bug.cgi?id=854348
https://bugzilla.novell.com/show_bug.cgi?id=854348#c8
Thomas Renninger
participants (1)
-
bugzilla_noreply@novell.com