Comment 3 for bug 76424

Revision history for this message
Michel D'HOOGE (michel-dhooge) wrote : Re: resume from Hibernate fails with kernel upgrade

I've also been annoyed by this for quite a while... Here are some of the solutions I thought of:

- Insist on rebooting after a kernel upgrade. This is indeed the only time where rebooting is really needed (in comparison to another well-known OS where it is a common habit...). If the user declined, offers to remind her periodically (maybe a Gnome/KDE applet would be a good way to do it - as when there are updates available).
- Before doing a Hibernate, check whether a kernel upgrade occurred. In that case, options are:
  - Remind the user that on next boot, she should choose the XXX line in GRUB.
  - Offer the user to do a shut-down instead,
  - If GRUB is configured to boot with "default saved", change the default to the currently used kernel.
  - Change GRUB to have no time-out...

Note that if Hibernate is mostly used on laptops, it can also be used with desktops. So having different behaviours based on laptop/desktop detection doesn't sound good to me.