mcstrans: harden systemd service file
PATCH 1/1 mcstrans: harden systemd service file
Start to harden the systemd services file with some of the unproblematic options.
Signed-off-by Johannes Segitz <[email protected]>
--- mcstrans/src/mcstrans.service | 7 +++++++ 1 file changed, 7 insertions(+)
mcstrans/src/mcstrans.service +7 -0
@@ -7,6 +7,13 @@ Before=shutdown.target sysinit.target Conflicts=shutdown.target [Service] +ProtectHostname=true +ProtectClock=true +ProtectKernelTunables=true +ProtectKernelModules=true +ProtectKernelLogs=true +ProtectControlGroups=true +RestrictRealtime=true ExecStart=/sbin/mcstransd -f RuntimeDirectory=setrans RuntimeDirectoryPreserve=true
Signature · 1 line
2.55.0
Quoted 5 lines · Johannes Segitz
Start to harden the systemd services file with some of the unproblematic options.
Signed-off-by Johannes Segitz <[email protected]>
Acked-by Stephen Smalley <[email protected]>
Quoted 26 lines
--- mcstrans/src/mcstrans.service | 7 +++++++ 1 file changed, 7 insertions(+)mcstrans/src/mcstrans.service +7
-1@@ -7,6 +7,13 @@ Before=shutdown.target sysinit.target Conflicts=shutdown.target [Service] +ProtectHostname=true +ProtectClock=true +ProtectKernelTunables=true +ProtectKernelModules=true +ProtectKernelLogs=true +ProtectControlGroups=true +RestrictRealtime=true ExecStart=/sbin/mcstransd -f RuntimeDirectory=setrans RuntimeDirectoryPreserve=true --2.55.0
Stephen Smalley
maintainerQuoted 9 lines · Stephen Smalley
Quoted 5 lines · Johannes Segitz
Start to harden the systemd services file with some of the unproblematic options.
Signed-off-by Johannes Segitz <[email protected]>Acked-by Stephen Smalley <[email protected]>
Merged.