Bug 866660
| Summary: | RFE: Add "lock" action (and associated hooks) as an inhibitor action | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ben Boeckel <fedora> |
| Component: | systemd | Assignee: | systemd-maint |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 18 | CC: | johannbg, lnykryn, metherid, msekleta, notting, plautrba, systemd-maint, vpavlin |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-01-20 03:31:52 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 871094 | ||
This is fixed in git. systemd-197-1.fc18.1 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/FEDORA-2013-0655/systemd-197-1.fc18.1 systemd-197-1.fc18.1 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. |
In addition to suspend, halt, etc., it'd be nice to prevent/trigger locking the current session (via screenlockers for X or tlock for the TTY). The lid switch would be much better as 'lock' than 'ignored' here ('suspend' is a silly behavior IMO). Probably needs things such as: - Changes to screen lockers (tlock/xautolock is what I care about, but DE-level WMs would probably like this as well) - Video players to inhibit the locking (systemd-inhibit is fine as a partial solution in the interim) I imagine the simplest thing would be to create a client which has options which are commands to run for "lock" (this should work for both xautolock at least; probably DBus-enabled stuff as well; I don't know how well tlock works if it is run while something like vim or rtorrent is running though what tmux does for setting up lock-command seems to work fine).