expanding the inhibit spec

Ryan Lortie desrt at desrt.ca
Wed Jan 8 06:44:23 PST 2014


hi,

On Wed, Jan 8, 2014, at 4:21, Lennart Poettering wrote:
> How's that supposed to work? If the shutdown was blocked, its is
> entirely denied, so who will then reschedule the shutdown later? The
> word processor which wanted to show this dialog?
> 
> Note that our upstream wiki page about shutdown/suspend delay inhibition
> actually explicitly explains that the delay locks should only be taken
> when the files they edit "are dirty", and that they should be released
> as soon as everything is synced to disk. 

We talked about this once before, last year.  In my opinion, this case
should be handled by the applications all getting SIGTERM at logout time
(assuming that there are no proper full "blocks").  If they have things
that they want to take care of before being killed, they will install a
SIGTERM handler.  If not, they will die immediately.  After a while
(5s...), if processes are still around, SIGKILL.

Cheers


More information about the xdg mailing list