valeriyvdovin / rpms / systemd

Forked from rpms/systemd 4 years ago
Clone

Blame SOURCES/0261-logind-set-RemoveIPC-no-by-default.patch

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