[Pkg-utopia-maintainers] Bug#457515: gnome-panel: disable hibernate when the on-disk kernel has been upgraded to a newer version

Michael Biebl biebl at debian.org
Tue Dec 25 19:52:38 UTC 2007


Josselin Mouette schrieb:
> reassign 457515 hal
> thanks
> 
> On dim, 2007-12-23 at 11:26 +0930, Paul Wise wrote:
>> Package: gnome-panel
>> Version: 2.20.2-2
>> Severity: wishlist
>>
>> Yesterday I upgraded my kernel and stupidly proceeded to hibernate as I
>> was running out of power. This resulted in the new kernel being unable
>> to load the s2disk images and them being lost. It would be nice if the
>> gnome-panel could detect this situation (kernel upgraded without
>> rebooting) and either prevent me from hibernating by disabling the
>> hibernate button or by popping up an error dialog explaining the
>> situation.
> 
> This would indeed be nice, but for GNOME (gnome-power-manager, actually)
> to do that, it would need hal to report it (which in turn may need a
> decent error message from pm-utils).
> 
> Reassigning to the Utopia guys, who know better how this could be done.
> 

afaik, kernel upgrades never remove the old kernel, so it should be safe
to hibernate, as grub allows to boot the old kernel.
s2disk will also detect, if it finds a hibernate image file which
doesn't match the (new) kernel and print a warning during boot.
This allows to restart and chose the old kernel.

Cheers,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20071225/85ac427b/attachment.pgp 


More information about the Pkg-utopia-maintainers mailing list