diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-01-25 06:30:23 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-01-25 06:30:23 +0100 |
commit | 314b4b0a68d9ab35de981923a088fc8c8820caa5 (patch) | |
tree | d0c2dad4b83b2ddf01d027a1c4cb753127dda3a0 /TODO | |
parent | 5d1fb81b2c602abd2605f6e50810ac7fcb06c024 (diff) |
logind: rework delay inhibition logic
- Don't allow any locks to be taken while we are in the process of
executing the specific operation, so that apps are not surprised if a
suspend/shutdown happens while they rely on their inhibitor.
- Get rid of the Resumed signal, it was a bad idea, and redundant due to
PrepareForSleep(false), see below.
- Always send out PrepareFor{Shutdown,Sleep} signals, instead of only if
a delay lock is taken.
- Move PrepareForSleep(false) after we come back from the suspend, so
that apps can use this as "Resumed" notification. This also has the
benefit that apps know when to take a new lock.
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -20,15 +20,13 @@ Fedora 19: Features: -* logind: get rid of Resumed() signal again, instead, move PrepareForSleep(false) after coming back from suspend, and generate it unconditionally - * add configure switch for enabling/disabling efi stuff * introduce ExecCondition= in services * unify killing logic of service, socket, mount, swap units -* logind: document new Resume signal and UnlockSessions call in wiki +* logind: document new PrepareForSleep(false) semantics and UnlockSessions call in wiki * if we have systemd-analyze in C "systemctl dot" should move there too @@ -386,8 +384,6 @@ Features: * ExecOnFailure=/usr/bin/foo -* fedora: make sshd and pam_loginuid work in nspawn containers - * fix utmp for console logins in containers * Add pretty name for seats in logind |