Skip to contentSkip to conversation

Add "RuntimeDirectory=setrans" to the mcstrans.service

PATCH In review Laurent Bigonville 2 participants 2 messages Nov 29, 2014 – Dec 2, 2014 SELinux security module

lore
Share & tools
lore
#0 lore raw

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
index 64bb361..8976b97 100644
@@ -4,6 +4,7 @@ ConditionSecurity=selinux
 
 [Service]
 ExecStart=/sbin/mcstransd -f
+RuntimeDirectory=setrans
 
 [Install]
 WantedBy=multi-user.target
Signature · 1 line
2.1.3
Acked-by on v1 1/1
#1 lore raw
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/setrans directory before starting the service.

This directory contains the ".setrans-unix" socket created by the daemon.

Thanks!

Quoted 17 lines
---
 policycoreutils/mcstrans/src/mcstrans.service | 1 +
 1 file changed, 1 insertion(+)
policycoreutils/mcstrans/src/mcstrans.service +1 -0
index 64bb361..8976b97 100644
@@ -4,6 +4,7 @@ ConditionSecurity=selinux
 
 [Service]
 ExecStart=/sbin/mcstransd -f
+RuntimeDirectory=setrans
 
 [Install]
 WantedBy=multi-user.target