ryantimwilson / rpms / systemd

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