Bug 15338

Summary: disable hibernate when the on-disk kernel has been upgraded to a newer version
Product: hal Reporter: Sam Morris <sam>
Component: haldAssignee: David Zeuthen (not reading bugmail) <zeuthen>
Status: RESOLVED NOTOURBUG QA Contact:
Severity: enhancement    
Priority: medium    
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Sam Morris 2008-04-03 06:22:17 UTC
[ forwarded from http://bugs.debian.org/457515 ]

> 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.

We think HAL should disable suspend/hibernation if it notices that the kernel image has been modified.
Comment 1 Danny Kukawka 2008-04-03 13:34:55 UTC
No, since HAL depends on pm-utils, this is the job of pm-utils.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.