The kernel's postinst script already provide a way to prevent hibernation: # Let programs know not to hibernate if the kernel that would be used for # resume-from-hibernate is likely to differ from the currently running kernel. system("mountpoint -q /var/run"); if ($? eq 0) { system("touch /var/run/do-not-hibernate"); }
I therefore think that this bug is actually in the gnome UI and/or the hibernate script, which both ignores the file created by the kernel and allow the user to hibernate the system anyway. ** Also affects: gnome-panel (Ubuntu) Importance: Undecided Status: New -- Kernel upgrades without reboot break resume from hibernation https://bugs.launchpad.net/bugs/76424 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs