<p dir="ltr"><br>
On 20 Apr 2016 05:47, "Chris Murphy" <<a href="mailto:lists@colorremedies.com">lists@colorremedies.com</a>> wrote:<br>
><br>
> On Tue, Apr 19, 2016 at 4:10 AM, Lennart Poettering<br>
> <<a href="mailto:lennart@poettering.net">lennart@poettering.net</a>> wrote:<br>
><br>
> ><br>
> > So what precisely are you proposing? That we actively search for the<br>
> > swap partition in the hibernate-resume generator?<br>
><br>
> I think the main thing James is after, I know I'm in this camp, is<br>
> understanding all the parts and how they interrelate. Fedora doesn't<br>
> support it at all, and James it trying to figure out why not, and<br>
> needs sufficient understanding of hibernation in order to determine<br>
> which groups need to do what to make it work reliably or at least fail<br>
> safe, neither of which appear to be true right now.<br>
></p>
<p dir="ltr">Nothing even as grandiose as that.</p>
<p dir="ltr">I'm just looking for the best way to avoid Fedora laptop users unexpectedly losing their data.</p>
<p dir="ltr">I spent some time reading through the kernel docs on this last night, as ultimately that's what we rely on.</p>
<p dir="ltr"><a href="https://www.kernel.org/doc/Documentation/power/">https://www.kernel.org/doc/Documentation/power/</a></p>
<p dir="ltr">Regardless of how the hibernate generator might potentially be changed to attempt to locate a valid swap partition with hibernate data, or how difficult that may be given the nature of running in an initrd and as a generator, we still need to follow the kernel requirements for suspend-to-disk.</p>
<p dir="ltr">The documented way there is resume= so I feel that's the best way to direct the Fedora bug as it stands.</p>
<p dir="ltr">If the anaconda guys disagree then I think the best course of action to avoid unexpected data loss is to have upower not default to HybridSleep but go straight to shutdown.</p>
<p dir="ltr">I'll update the bug comments later today with the results of this thread.</p>
<p dir="ltr">Thank you all for your input.</p>