Mailinglist Archive: opensuse-features (306 mails)

< Previous Next >
[New: openFATE 309205] Remove old kernel package only after the new one successfully booted
  • From: fate_noreply@xxxxxxx
  • Date: Tue, 23 Mar 2010 16:03:38 +0100 (CET)
  • Message-id: <feature-309205-1@xxxxxxxxxxxxxx>
Feature added by: Michal Marek (michal-m)

Feature #309205, revision 1
Title: Remove old kernel package only after the new one successfully booted

openSUSE-11.2: New
Priority
Requester: Important

Requested by: Martin Barry (supine)

Description:
When the kernel package is upgraded the old one is immediately removed leaving
the currently running kernel with no modules. This breaks anything that
requires modules until the user has an opportunity to reboot.

The removal of the old package should be delayed till the system is rebooted
into the new kernel.

Reproducible: Always

Steps to Reproduce: 1. Kernel package is upgraded 2. Try to run tcpdump

Actual Results: 3. Get error about "interface not supported" and "unknown
address family" 4. Reboot into new kernel 5. Try again to run tcpdump with
identical arguements 6. tcpdump works as expected

Expected Results: 3. tcpdump works as expected even before system is booted
into new kernel

Relations:
- Kernel upgrade removes modules of running kernel subtly breaking the system
until rebooted into new kernel (novell/bugzilla/id: 590496)
https://bugzilla.novell.com/show_bug.cgi?id=590496

Discussion:

#1: unknown user (2010-03-23 14:38:59)
This is another symptom of needing the ability to clean up an old kernel after
a successful boot.

#2: (michal-m) (2010-03-23 16:02:38) (reply to #1)
Let alone defining "successful boot" would be tough, but let's say if the user
has logged in, there is at least some success (but e.g. the network might still
not be working though). This would be the kernel packaging part. Then there
would need to be some way to tell the package manager "now it's time to remove
packages x,y and z, ask the user for confirmation either via the update applet,
or as soon as the package manager is started".

IMO it would be a nice feature, but I have no idea how difficult the
zypp/yast/updater applet part would be.


--
openSUSE Feature:
https://features.opensuse.org/309205

< Previous Next >
List Navigation
This Thread
References