Blame SOURCES/0002-logind-set-RemoveIPC-to-false-by-default.patch

a3e2b5
From 0b3833d6c3b751c6dfb40eeb2ef852984c58f546 Mon Sep 17 00:00:00 2001
a3e2b5
From: rpm-build <rpm-build>
a3e2b5
Date: Wed, 1 Aug 2018 10:58:28 +0200
a3e2b5
Subject: [PATCH] logind: set RemoveIPC to false by default
a3e2b5
a3e2b5
Resolves: #1523233
a3e2b5
---
a3e2b5
 man/logind.conf.xml      | 2 +-
a3e2b5
 src/login/logind-core.c  | 2 +-
a3e2b5
 src/login/logind.conf.in | 2 +-
a3e2b5
 3 files changed, 3 insertions(+), 3 deletions(-)
a3e2b5
a3e2b5
diff --git a/man/logind.conf.xml b/man/logind.conf.xml
a3e2b5
index 9e88764c6f..7d7e869a26 100644
a3e2b5
--- a/man/logind.conf.xml
a3e2b5
+++ b/man/logind.conf.xml
a3e2b5
@@ -319,7 +319,7 @@
a3e2b5
         user fully logs out. Takes a boolean argument. If enabled, the user may not consume IPC resources after the
a3e2b5
         last of the user's sessions terminated. This covers System V semaphores, shared memory and message queues, as
a3e2b5
         well as POSIX shared memory and message queues. Note that IPC objects of the root user and other system users
a3e2b5
-        are excluded from the effect of this setting. Defaults to <literal>yes</literal>.</para></listitem>
a3e2b5
+        are excluded from the effect of this setting. Defaults to <literal>no</literal>.</para></listitem>
a3e2b5
       </varlistentry>
a3e2b5
 
a3e2b5
     </variablelist>
a3e2b5
diff --git a/src/login/logind-core.c b/src/login/logind-core.c
a3e2b5
index dbae4bf5af..511e3acf8f 100644
a3e2b5
--- a/src/login/logind-core.c
a3e2b5
+++ b/src/login/logind-core.c
a3e2b5
@@ -25,7 +25,7 @@ void manager_reset_config(Manager *m) {
a3e2b5
 
a3e2b5
         m->n_autovts = 6;
a3e2b5
         m->reserve_vt = 6;
a3e2b5
-        m->remove_ipc = true;
a3e2b5
+        m->remove_ipc = false;
a3e2b5
         m->inhibit_delay_max = 5 * USEC_PER_SEC;
a3e2b5
         m->handle_power_key = HANDLE_POWEROFF;
a3e2b5
         m->handle_suspend_key = HANDLE_SUSPEND;
a3e2b5
diff --git a/src/login/logind.conf.in b/src/login/logind.conf.in
a3e2b5
index 1029e29bc7..c7346f9819 100644
a3e2b5
--- a/src/login/logind.conf.in
a3e2b5
+++ b/src/login/logind.conf.in
a3e2b5
@@ -32,6 +32,6 @@
a3e2b5
 #IdleAction=ignore
a3e2b5
 #IdleActionSec=30min
a3e2b5
 #RuntimeDirectorySize=10%
a3e2b5
-#RemoveIPC=yes
a3e2b5
+#RemoveIPC=no
a3e2b5
 #InhibitorsMax=8192
a3e2b5
 #SessionsMax=8192