diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-03 17:01:25 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-03 17:01:25 +0000 |
commit | 118ef9d7c2944b014d01440ebef86f8aed8045d6 (patch) | |
tree | 5e757b39d2dfda3827d839f35f885bea810bcdce /debian/patches/Enable-PrivateTmp-in-the-systemd-service-files.patch | |
parent | Adding upstream version 3.1.8. (diff) | |
download | corosync-118ef9d7c2944b014d01440ebef86f8aed8045d6.tar.xz corosync-118ef9d7c2944b014d01440ebef86f8aed8045d6.zip |
Adding debian version 3.1.8-1.debian/3.1.8-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/Enable-PrivateTmp-in-the-systemd-service-files.patch')
-rw-r--r-- | debian/patches/Enable-PrivateTmp-in-the-systemd-service-files.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/debian/patches/Enable-PrivateTmp-in-the-systemd-service-files.patch b/debian/patches/Enable-PrivateTmp-in-the-systemd-service-files.patch new file mode 100644 index 0000000..0df50b6 --- /dev/null +++ b/debian/patches/Enable-PrivateTmp-in-the-systemd-service-files.patch @@ -0,0 +1,33 @@ +From: =?utf-8?q?Ferenc_W=C3=A1gner?= <wferi@debian.org> +Date: Mon, 10 Dec 2018 18:55:40 +0100 +Subject: Enable PrivateTmp in the systemd service files + +--- + init/corosync-notifyd.service.in | 1 + + init/corosync.service.in | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/init/corosync-notifyd.service.in b/init/corosync-notifyd.service.in +index 410a683..9247cbc 100644 +--- a/init/corosync-notifyd.service.in ++++ b/init/corosync-notifyd.service.in +@@ -9,6 +9,7 @@ EnvironmentFile=-@INITCONFIGDIR@/corosync-notifyd + ExecStart=@SBINDIR@/corosync-notifyd -f $OPTIONS + Type=notify + Restart=on-failure ++PrivateTmp=yes + + [Install] + WantedBy=multi-user.target +diff --git a/init/corosync.service.in b/init/corosync.service.in +index bd2a48a..f59bddb 100644 +--- a/init/corosync.service.in ++++ b/init/corosync.service.in +@@ -29,6 +29,7 @@ StandardError=null + #RestartSec=70 + # rewrite according to environment. + #ExecStartPre=/sbin/modprobe softdog ++PrivateTmp=yes + + [Install] + WantedBy=multi-user.target |