1abbee
From 07cda5adb4ccecc6208b9fc85f4ea3ed8dece47d Mon Sep 17 00:00:00 2001
4e2e74
From: Lukas Nykryn <lnykryn@redhat.com>
4e2e74
Date: Thu, 26 Nov 2015 14:14:55 +0100
4e2e74
Subject: [PATCH] logind: set RemoveIPC=no by default
4e2e74
4e2e74
RHEL-only
4e2e74
4e2e74
Resolves: #1284588
4e2e74
---
4e2e74
 src/login/logind.c    | 2 +-
4e2e74
 src/login/logind.conf | 2 +-
4e2e74
 2 files changed, 2 insertions(+), 2 deletions(-)
4e2e74
4e2e74
diff --git a/src/login/logind.c b/src/login/logind.c
Pablo Greco 48fc63
index b44f376427..3afbf34a13 100644
4e2e74
--- a/src/login/logind.c
4e2e74
+++ b/src/login/logind.c
4e2e74
@@ -49,7 +49,7 @@ Manager *manager_new(void) {
4e2e74
 
4e2e74
         m->n_autovts = 6;
4e2e74
         m->reserve_vt = 6;
4e2e74
-        m->remove_ipc = true;
4e2e74
+        m->remove_ipc = false;
4e2e74
         m->inhibit_delay_max = 5 * USEC_PER_SEC;
4e2e74
         m->handle_power_key = HANDLE_POWEROFF;
4e2e74
         m->handle_suspend_key = HANDLE_SUSPEND;
4e2e74
diff --git a/src/login/logind.conf b/src/login/logind.conf
Pablo Greco 48fc63
index 834c4c2ebf..be8d7dff29 100644
4e2e74
--- a/src/login/logind.conf
4e2e74
+++ b/src/login/logind.conf
4e2e74
@@ -30,4 +30,4 @@
4e2e74
 #IdleAction=ignore
4e2e74
 #IdleActionSec=30min
4e2e74
 #RuntimeDirectorySize=10%
4e2e74
-#RemoveIPC=yes
4e2e74
+#RemoveIPC=no