ryantimwilson / rpms / systemd

Forked from rpms/systemd a month ago
Clone
Blob Blame History Raw
From 07cda5adb4ccecc6208b9fc85f4ea3ed8dece47d Mon Sep 17 00:00:00 2001
From: Lukas Nykryn <lnykryn@redhat.com>
Date: Thu, 26 Nov 2015 14:14:55 +0100
Subject: [PATCH] logind: set RemoveIPC=no by default

RHEL-only

Resolves: #1284588
---
 src/login/logind.c    | 2 +-
 src/login/logind.conf | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/login/logind.c b/src/login/logind.c
index b44f37642..3afbf34a1 100644
--- a/src/login/logind.c
+++ b/src/login/logind.c
@@ -49,7 +49,7 @@ Manager *manager_new(void) {
 
         m->n_autovts = 6;
         m->reserve_vt = 6;
-        m->remove_ipc = true;
+        m->remove_ipc = false;
         m->inhibit_delay_max = 5 * USEC_PER_SEC;
         m->handle_power_key = HANDLE_POWEROFF;
         m->handle_suspend_key = HANDLE_SUSPEND;
diff --git a/src/login/logind.conf b/src/login/logind.conf
index 834c4c2eb..be8d7dff2 100644
--- a/src/login/logind.conf
+++ b/src/login/logind.conf
@@ -30,4 +30,4 @@
 #IdleAction=ignore
 #IdleActionSec=30min
 #RuntimeDirectorySize=10%
-#RemoveIPC=yes
+#RemoveIPC=no