Add "RuntimeDirectory=setrans" to the mcstrans.service
PATCH 1/1 Add "RuntimeDirectory=setrans" to the mcstrans.service
From: Laurent Bigonville <[email protected]>
Add "RuntimeDirectory=setrans" to the mcstrans.service, this will make systemd automatically create the /run/setrans directory before starting the service.
This directory contains the ".setrans-unix" socket created by the daemon.
--- policycoreutils/mcstrans/src/mcstrans.service | 1 + 1 file changed, 1 insertion(+)
policycoreutils/mcstrans/src/mcstrans.service +1 -0
@@ -4,6 +4,7 @@ ConditionSecurity=selinux [Service] ExecStart=/sbin/mcstransd -f +RuntimeDirectory=setrans [Install] WantedBy=multi-user.target
Signature · 1 line
2.1.3
Quoted 8 lines · Laurent Bigonville
From: Laurent Bigonville <[email protected]>
Add "RuntimeDirectory=setrans" to the mcstrans.service, this will make systemd automatically create the
/run/setransdirectory before starting the service.This directory contains the ".setrans-unix" socket created by the daemon.
Thanks!
Acked-by Steve Lawrence <[email protected]>
Quoted 17 lines
--- policycoreutils/mcstrans/src/mcstrans.service | 1 + 1 file changed, 1 insertion(+)policycoreutils/mcstrans/src/mcstrans.service +1
-0@@ -4,6 +4,7 @@ ConditionSecurity=selinux [Service] ExecStart=/sbin/mcstransd -f +RuntimeDirectory=setrans [Install] WantedBy=multi-user.target