From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 586461396D0 for ; Fri, 8 Sep 2017 21:16:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B5412E0CA4; Fri, 8 Sep 2017 21:16:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 842BEE0CA4 for ; Fri, 8 Sep 2017 21:16:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B81A33416EA for ; Fri, 8 Sep 2017 21:16:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3E8AF9052 for ; Fri, 8 Sep 2017 21:16:49 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1504905361.10dac99b679c3c105be855afc5e75b3a179c4885.floppym@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/systemd/files/, sys-apps/systemd/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/systemd/files/234-0004-logind-make-sure-we-don-t-process-the-same-method-ca.patch sys-apps/systemd/systemd-234-r3.ebuild sys-apps/systemd/systemd-234-r4.ebuild X-VCS-Directories: sys-apps/systemd/files/ sys-apps/systemd/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: 10dac99b679c3c105be855afc5e75b3a179c4885 X-VCS-Branch: master Date: Fri, 8 Sep 2017 21:16:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 22cc7d31-1e23-42f5-8847-9f8b78e65064 X-Archives-Hash: 691f031214899342a2eabfbdf059def2 commit: 10dac99b679c3c105be855afc5e75b3a179c4885 Author: Mike Gilbert gentoo org> AuthorDate: Fri Sep 8 21:15:49 2017 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Fri Sep 8 21:16:01 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10dac99b sys-apps/systemd: backport patch for dbus error in logind Closes: https://bugs.gentoo.org/630424 Package-Manager: Portage-2.3.6_p60, Repoman-2.3.3_p38 ...-sure-we-don-t-process-the-same-method-ca.patch | 29 ++++++++++++++++++++++ ...systemd-234-r3.ebuild => systemd-234-r4.ebuild} | 1 + 2 files changed, 30 insertions(+) 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 new file mode 100644 index 00000000000..97230f9dd2a --- /dev/null +++ b/sys-apps/systemd/files/234-0004-logind-make-sure-we-don-t-process-the-same-method-ca.patch @@ -0,0 +1,29 @@ +From f7d27d130eaac222b2d11c4d4415c9b599934da8 Mon Sep 17 00:00:00 2001 +From: Lennart Poettering +Date: Sat, 26 Aug 2017 15:19:26 +0200 +Subject: [PATCH] logind: make sure we don't process the same method call twice + (#6583) + +Tiny mistake, big effect. + +Fixes: #6375 +--- + src/login/logind-session-dbus.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/login/logind-session-dbus.c b/src/login/logind-session-dbus.c +index 22e5349a6..649f3c155 100644 +--- a/src/login/logind-session-dbus.c ++++ b/src/login/logind-session-dbus.c +@@ -457,7 +457,7 @@ static int method_take_device(sd_bus_message *message, void *userdata, sd_bus_er + goto error; + + session_save(s); +- return 0; ++ return 1; + + error: + session_device_free(sd); +-- +2.14.1 + diff --git a/sys-apps/systemd/systemd-234-r3.ebuild b/sys-apps/systemd/systemd-234-r4.ebuild similarity index 99% rename from sys-apps/systemd/systemd-234-r3.ebuild rename to sys-apps/systemd/systemd-234-r4.ebuild index 15bf64cd732..2582732b6cc 100644 --- a/sys-apps/systemd/systemd-234-r3.ebuild +++ b/sys-apps/systemd/systemd-234-r4.ebuild @@ -151,6 +151,7 @@ src_prepare() { "${FILESDIR}"/234-0001-path-lookup-look-for-generators-in-usr-lib-systemd-s.patch "${FILESDIR}"/234-0002-cryptsetup-fix-infinite-timeout-6486.patch "${FILESDIR}"/234-0003-resolved-make-sure-idn2-conversions-are-roundtrippab.patch + "${FILESDIR}"/234-0004-logind-make-sure-we-don-t-process-the-same-method-ca.patch ) if ! use vanilla; then