On Tue, Mar 13, 2018 at 4:19 PM, Owen Taylor <otaylor@redhat.com> wrote:
On Tue, Mar 13, 2018 at 8:58 AM, Kamil Paral <kparal@redhat.com> wrote:
On Fri, Mar 9, 2018 at 6:10 AM, Adam Williamson <adamwill@fedoraproject.org> wrote:
Hi folks!

So, Fedora 28 has inherited an upstream GNOME change to default to
suspending after 20 minutes:

https://bugzilla.gnome.org/show_bug.cgi?id=681869

I believe this will also apply to live images, unless we suppress it.
Should we suppress it? Suspending live images does not work well and
is, I think, expressly not really 'supported'.

Today, we have tested what happens when anaconda installation takes longer than the auto-suspend timeout. The good news is that anaconda inhibits idle timer, meaning the installation is not suspended during the installation phase. The bad news is that once the installation is complete, and I mean *immediately* after that, the system suspends. You can't even say whether the installation finished or not. At one instant you see an "almost finished" anaconda screen, and a split second later your system "shuts down". (It really looks like the power cable was plugged off). There's no screen dimming, no grace period to let the user react (as there is when the screen is about to lock down). So overall this is a poor experience. In this particular case, it's related to anaconda auto-exiting after installation is complete:
https://bugzilla.redhat.com/show_bug.cgi?id=1553935
But the same thing would happen even if it didn't auto-exit, just released the idle lock.

Thanks for testing it - did the system recover from suspend? (Was this testing from a USB drive?)

Yes, it recovered fine and it was from USB. We'll test optical media as well.

Please note that this might be hardware specific. I'm quite sure I remember a situation in the past when I suspended Live running from DVD (by accident) and it was frozen on resume (the DVD didn't spin up). But we'll see whether we can reproduce this reliably, now that this situation is quite likely to happen.