Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/systemd/files/, sys-apps/systemd/
Date: Fri, 08 Sep 2017 21:16:52
Message-Id: 1504905361.10dac99b679c3c105be855afc5e75b3a179c4885.floppym@gentoo
1 commit: 10dac99b679c3c105be855afc5e75b3a179c4885
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 8 21:15:49 2017 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 8 21:16:01 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10dac99b
7
8 sys-apps/systemd: backport patch for dbus error in logind
9
10 Closes: https://bugs.gentoo.org/630424
11 Package-Manager: Portage-2.3.6_p60, Repoman-2.3.3_p38
12
13 ...-sure-we-don-t-process-the-same-method-ca.patch | 29 ++++++++++++++++++++++
14 ...systemd-234-r3.ebuild => systemd-234-r4.ebuild} | 1 +
15 2 files changed, 30 insertions(+)
16
17 diff --git a/sys-apps/systemd/files/234-0004-logind-make-sure-we-don-t-process-the-same-method-ca.patch b/sys-apps/systemd/files/234-0004-logind-make-sure-we-don-t-process-the-same-method-ca.patch
18 new file mode 100644
19 index 00000000000..97230f9dd2a
20 --- /dev/null
21 +++ b/sys-apps/systemd/files/234-0004-logind-make-sure-we-don-t-process-the-same-method-ca.patch
22 @@ -0,0 +1,29 @@
23 +From f7d27d130eaac222b2d11c4d4415c9b599934da8 Mon Sep 17 00:00:00 2001
24 +From: Lennart Poettering <lennart@××××××××××.net>
25 +Date: Sat, 26 Aug 2017 15:19:26 +0200
26 +Subject: [PATCH] logind: make sure we don't process the same method call twice
27 + (#6583)
28 +
29 +Tiny mistake, big effect.
30 +
31 +Fixes: #6375
32 +---
33 + src/login/logind-session-dbus.c | 2 +-
34 + 1 file changed, 1 insertion(+), 1 deletion(-)
35 +
36 +diff --git a/src/login/logind-session-dbus.c b/src/login/logind-session-dbus.c
37 +index 22e5349a6..649f3c155 100644
38 +--- a/src/login/logind-session-dbus.c
39 ++++ b/src/login/logind-session-dbus.c
40 +@@ -457,7 +457,7 @@ static int method_take_device(sd_bus_message *message, void *userdata, sd_bus_er
41 + goto error;
42 +
43 + session_save(s);
44 +- return 0;
45 ++ return 1;
46 +
47 + error:
48 + session_device_free(sd);
49 +--
50 +2.14.1
51 +
52
53 diff --git a/sys-apps/systemd/systemd-234-r3.ebuild b/sys-apps/systemd/systemd-234-r4.ebuild
54 similarity index 99%
55 rename from sys-apps/systemd/systemd-234-r3.ebuild
56 rename to sys-apps/systemd/systemd-234-r4.ebuild
57 index 15bf64cd732..2582732b6cc 100644
58 --- a/sys-apps/systemd/systemd-234-r3.ebuild
59 +++ b/sys-apps/systemd/systemd-234-r4.ebuild
60 @@ -151,6 +151,7 @@ src_prepare() {
61 "${FILESDIR}"/234-0001-path-lookup-look-for-generators-in-usr-lib-systemd-s.patch
62 "${FILESDIR}"/234-0002-cryptsetup-fix-infinite-timeout-6486.patch
63 "${FILESDIR}"/234-0003-resolved-make-sure-idn2-conversions-are-roundtrippab.patch
64 + "${FILESDIR}"/234-0004-logind-make-sure-we-don-t-process-the-same-method-ca.patch
65 )
66
67 if ! use vanilla; then