Age | Commit message (Collapse) | Author | Files | Lines |
|
NOTE: ConsoleKit is no longer actively maintained and this will most
likely be the final release. You are advised to switch to logind:
http://www.freedesktop.org/software/systemd/man/systemd-logind.service.html
|
|
|
|
|
|
|
|
This reverts commit 2782cc8d4950effbc4407455e72bd4750cef6e11.
VT_WAITEVENT is racy unfortunately, since events that happen between the
time we woke up from a VT_WAITEVENT and we go into the next VT_WAITEVENT
are lost completely.
|
|
Starting from linux kernel 2.6.32 there is a new ioctl VT_WAITEVENT
which can monitor vt switches and return new vt number.
https://bugs.freedesktop.org/show_bug.cgi?id=17720
|
|
|
|
|
|
|
|
The 'session_active_changed' callout is an invitaton to racy misuses
since it splits up the session switches into two events. This patch gets
rid of it.
At this point there are two known users of the session.d/ callouts:
- Suse/Ubuntu ship a script for emulating pam_atconsole style
/var/run/console management for supporting D-Bus' at_console feature
properly. Both Martin Pitt and Kay Sievers however are happy with
having this feature go away. In addition I prepared a patch for
D-Bus which makes the need for these scripts go away entirely. That
patch is currently awaiting review.
- udev's udev-acl tool currently uses this. However this doesn't work
correctly anyway since it relies on that the CK database is correctly
dumped before the tool is invoked, which CK does not handle properly
at this time. In fact fixing this problem is the main reason why I
came up with this patch series. Kay is also very interested in
seeing the 'session_active_changed' logic go away.
A later commit introduces a replacement functionality that is less racy.
Please note that this patch does not drop session.d/ in its entirety.
Only the 'session_active_changed' type callout is removed. Scripts that
only rely on 'session_added'/'session_removed' will continue to work
fine, and will continue to be supported.
|
|
It was trying to write the log message way too early,
before the root filesystem was mounted.
|
|
|
|
|
|
|
|
|
|
Deny first and then allow. Add a simple test
script to check method access policy.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Also fix a distcheck error.
|
|
|
|
|
|
|