logind: set RemoveIPC to false by default v249-1
authorrpm-build <rpm-build>
Wed, 1 Aug 2018 08:58:28 +0000 (10:58 +0200)
committerJan Macku <jamacku@redhat.com>
Tue, 20 Jul 2021 10:33:07 +0000 (12:33 +0200)
RHEL-only

Resolves: #1959836

(cherry picked from commit 0b3833d6c3b751c6dfb40eeb2ef852984c58f546)

man/logind.conf.xml
src/login/logind-core.c
src/login/logind.conf.in

index be62b6b572307cf1ec9f96f3ce0e2a227896e067..bec7ff44af69a17c0c0405d56b1f578cdbcb32c9 100644 (file)
         user fully logs out. Takes a boolean argument. If enabled, the user may not consume IPC resources after the
         last of the user's sessions terminated. This covers System V semaphores, shared memory and message queues, as
         well as POSIX shared memory and message queues. Note that IPC objects of the root user and other system users
-        are excluded from the effect of this setting. Defaults to <literal>yes</literal>.</para></listitem>
+        are excluded from the effect of this setting. Defaults to <literal>no</literal>.</para></listitem>
       </varlistentry>
 
     </variablelist>
index 22031f485a0109abdb6c5964b6efc095a0dc6334..f5e1126adca0dc7b556032c78f52377c3e1c9fd3 100644 (file)
@@ -34,7 +34,7 @@ void manager_reset_config(Manager *m) {
 
         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->user_stop_delay = 10 * USEC_PER_SEC;
 
index 27ba77ce79613ee94ca73676f7fc6ab338f860e6..f9c5099865e49ce307c22c6efbe1ad5906133612 100644 (file)
@@ -39,6 +39,6 @@
 #IdleActionSec=30min
 #RuntimeDirectorySize=10%
 #RuntimeDirectoryInodes=400k
-#RemoveIPC=yes
+#RemoveIPC=no
 #InhibitorsMax=8192
 #SessionsMax=8192