hibernation support - lack of distro-wide coordination between systemd, dracut, anaconda, pm-utils and maybe more?

Vít Ondruch vondruch at redhat.com
Mon Mar 30 11:37:18 UTC 2015


"Luckily", resume from hybernation does not work at all for me on Rawhide:

https://bugzilla.redhat.com/show_bug.cgi?id=1199708


Vít



Dne 30.3.2015 v 08:57 Till Maas napsal(a):
> Hi,
>
> it seems to be that me have a major problem of core package maintainers
> coordinating features in Fedora.
>
> See for example:
> https://bugzilla.redhat.com/show_bug.cgi?id=1174945
>
> There the problem is, that dracut runs a fsck check before deciding
> whether to resume. This can result in a big file system corruption,
> since the kernel had a different idea of the file system state after
> resuming from hibernation that there really is. The problem has several
> core players that do not seem to communicate:
>
> - dracut which uses systemd and showed this problem in F21 (I did not
>   notice it in F20)
> - systemd:
>     - might have changed things in F21 to break resuming
>     - Does only parse the kernel command line, does not parse the
>       options that dracut gathers from the system during initramfs
>       generation
>     - provides hibernation support via "systemctl hibernate", which is
>       also what pm-hibernate does (why do we have two tools for the same
>       core task?)
> - anaconda, which does not add a resume= kernel command line option when
>   installing a system
>
> Therefore please coordinate with others if you maintain a key component
> for a core distribution feature and look for other items that need to be
> adjusted.
>
> Regards
> Till



More information about the devel mailing list