Package: systemd
Version: 232-25+deb9u1
Severity: normal
Tags: upstream patch


The version of systemd in stable (stretch), documents the RemoveIPC
directive, and supports it via d-bus, but not in the unit files.
Attached the upstream commit fixing that.

From c54515b1e42384ad4c582f7fb13434f9224c148f Mon Sep 17 00:00:00 2001
From: Yu Watanabe <>
Date: Fri, 10 Nov 2017 18:15:55 +0900
Subject: [PATCH] core/load-fragment: add RemoveIPC= (#7288)

PR #3865 introduced RemoveIPC= but the option is not listed in
load-fragment-gperf.gperf. So, the option could be used only via d-bus.
This adds RemoveIPC= in load-fragment-gperf.gperf. Then, now we can
set the option in unit files.

Fixes #7281.
 src/core/load-fragment-gperf.gperf.m4 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/core/load-fragment-gperf.gperf.m4 b/src/core/load-fragment-gperf.gperf.m4
index 48cf3a568..0f6372e8a 100644
--- a/src/core/load-fragment-gperf.gperf.m4
+++ b/src/core/load-fragment-gperf.gperf.m4
@@ -37,6 +37,7 @@ $1.EnvironmentFile,              config_parse_unit_env_file,         0,
 $1.PassEnvironment,              config_parse_pass_environ,          0,                             offsetof($1, exec_context.pass_environment)
 $1.UnsetEnvironment,             config_parse_unset_environ,         0,                             offsetof($1, exec_context.unset_environment)
 $1.DynamicUser,                  config_parse_bool,                  true,                          offsetof($1, exec_context.dynamic_user)
+$1.RemoveIPC,                    config_parse_bool,                  0,                             offsetof($1, exec_context.remove_ipc)
 $1.StandardInput,                config_parse_exec_input,            0,                             offsetof($1, exec_context)
 $1.StandardOutput,               config_parse_exec_output,           0,                             offsetof($1, exec_context)
 $1.StandardError,                config_parse_exec_output,           0,                             offsetof($1, exec_context)

Pkg-systemd-maintainers mailing list

Reply via email to