Bugzilla – Bug 1180582
Deny to hibernate, when multiple os are installed
Last modified: 2023-01-20 20:15:38 UTC
When multiple OS is installed, especially multiple Linux-based OS, there could exist wake after hibernation problem. Since more than one Linux system could use the same partition, there could been errors, when we hibernate one system, then start another, etc. It's also visible on Windows and GNU/Linux, where GNU/Linux OSES refuses to mount NTFS FS, when Windows hibernates (or: uses fast boot). I think the same should be with other Linux oses. But problem with Linux is more complicated, because Linux could mess up even on not-mounted systems. Solution used by Windows (tag fs is dirty) is not quite useful, because one user could use system A, then hibernate it and (next) another user (administrator, for example) would use system B with partition from system A. So: made UPower (?) refuse to hibernate, when another OS is installed. User could bypass this restriction by Polkit and admin should be able to configure Polkit to allow some users to hibernate system without type password, being asked for privileges, etc.
Assign to systemd team to take a look at this. Please feel free to reassign whenever necessary, thanks.
let's try the upower maintainers ...
This has to be discussed mainline. from upower manpage: upower - UPower command line tool Please send bug reports to either the distribution or the DeviceKit mailing list, see http://lists.freedesktop.org/mailman/listinfo/devkit-devel on how to subscribe. Still these are rather fundamental changes. It sounds that there should, probably is a sane default way to go and people who know what they do still want to hibernate with lots of OSes installed on the system.