[systemd-commits] TODO src/login

Lennart Poettering lennart at kemper.freedesktop.org
Tue Jan 3 14:08:22 PST 2012


 TODO                            |    6 ------
 src/login/logind-session-dbus.c |    2 +-
 2 files changed, 1 insertion(+), 7 deletions(-)

New commits:
commit bda061759c3baef4383a2ec0bf1b538905cb30b0
Author: Lennart Poettering <lennart at poettering.net>
Date:   Tue Jan 3 23:08:15 2012 +0100

    logind: send out Lock signal when locking

diff --git a/TODO b/TODO
index cdc014f..3a844ca 100644
--- a/TODO
+++ b/TODO
@@ -23,8 +23,6 @@ Features:
 
 * logind: selinux is borked...
 
-* logind: sends SessionNew on Lock()?
-
 * logind: allow showing logout dialog from system
 
 * document that %% can be used to write % in a string that is specifier extended
@@ -57,8 +55,6 @@ Features:
 
 * Something is wrong with symlink handling of "autovt at .service" in "systemctl list-unit-files"
 
-* introduce sd_log_open() to create a connection to the syslog bridge via sd-daemon.h
-
 * when a bus name of a service disappears from the bus make sure to queue further activation requests
 
 * something like ConditionExec= or ExecStartPre= without failure state
@@ -113,8 +109,6 @@ Features:
 
 * and a dbus call to generate target from current state
 
-* detect LXC with $container=lxc
-
 * drop /.readahead on bigger upgrades with yum
 
 * add inode nr check to readahead to suppress preloading changed files
diff --git a/src/login/logind-session-dbus.c b/src/login/logind-session-dbus.c
index dc0ef5b..cbd6d7f 100644
--- a/src/login/logind-session-dbus.c
+++ b/src/login/logind-session-dbus.c
@@ -288,7 +288,7 @@ static DBusHandlerResult session_message_dispatch(
         } else if (dbus_message_is_method_call(message, "org.freedesktop.login1.Session", "Lock") ||
                    dbus_message_is_method_call(message, "org.freedesktop.login1.Session", "Unlock")) {
 
-                if (session_send_signal(s, streq(dbus_message_get_member(message), "Lock")) < 0)
+                if (session_send_lock(s, streq(dbus_message_get_member(message), "Lock")) < 0)
                         goto oom;
 
                 reply = dbus_message_new_method_return(message);



More information about the systemd-commits mailing list