diff options
author | 2017-03-21 11:09:36 +0100 | |
---|---|---|
committer | 2017-03-21 11:14:54 +0100 | |
commit | f16e5b8a1a3d898ab0116b3260b5f1d6dff5b461 (patch) | |
tree | 30fe2b4f81bdcc0e46e8014cb030a82428459c4c /sys-auth/elogind/files/elogind-219.12-session.patch | |
parent | sys-auth/elogind: 226.4 version bump (diff) | |
download | gentoo-f16e5b8a1a3d898ab0116b3260b5f1d6dff5b461.tar.gz gentoo-f16e5b8a1a3d898ab0116b3260b5f1d6dff5b461.tar.bz2 gentoo-f16e5b8a1a3d898ab0116b3260b5f1d6dff5b461.zip |
sys-auth/elogind: Drop old
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'sys-auth/elogind/files/elogind-219.12-session.patch')
-rw-r--r-- | sys-auth/elogind/files/elogind-219.12-session.patch | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/sys-auth/elogind/files/elogind-219.12-session.patch b/sys-auth/elogind/files/elogind-219.12-session.patch deleted file mode 100644 index 82cbebdead03..000000000000 --- a/sys-auth/elogind/files/elogind-219.12-session.patch +++ /dev/null @@ -1,45 +0,0 @@ -From b5c5dd2ad43a3bf4fa0fb21139f8d16959b5d14e Mon Sep 17 00:00:00 2001 -From: Andy Wingo <wingo@pobox.com> -Date: Sun, 6 Mar 2016 16:56:33 +0100 -Subject: [PATCH] Fixes to user and session saving - -* src/login/logind-dbus.c (method_create_session): No need to save - session here, as session_send_create_reply will do it. -* src/login/logind-session-dbus.c (session_send_create_reply): On the - other hand we do need to save the user here, so the file marks them as - being active. ---- - src/login/logind-dbus.c | 2 -- - src/login/logind-session-dbus.c | 5 +++-- - 2 files changed, 3 insertions(+), 4 deletions(-) - -diff --git a/src/login/logind-dbus.c b/src/login/logind-dbus.c -index 5e6952d..6f7e569 100644 ---- a/src/login/logind-dbus.c -+++ b/src/login/logind-dbus.c -@@ -801,8 +801,6 @@ static int method_create_session(sd_bus *bus, sd_bus_message *message, void *use - if (r < 0) - goto fail; - -- session_save(session); -- - return 1; - - fail: -diff --git a/src/login/logind-session-dbus.c b/src/login/logind-session-dbus.c -index f71798b..337bbbb 100644 ---- a/src/login/logind-session-dbus.c -+++ b/src/login/logind-session-dbus.c -@@ -721,9 +721,10 @@ int session_send_create_reply(Session *s, sd_bus_error *error) { - if (fifo_fd < 0) - return fifo_fd; - -- /* Update the session state file before we notify the client -- * about the result. */ -+ /* Update the session and user state files before we notify -+ * the client about the result. */ - session_save(s); -+ user_save(s->user); - - p = session_bus_path(s); - if (!p) |