All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Add "RuntimeDirectory=setrans" to the mcstrans.service
@ 2014-11-29 10:24 Laurent Bigonville
  2014-12-02 13:49 ` Steve Lawrence
  0 siblings, 1 reply; 2+ messages in thread
From: Laurent Bigonville @ 2014-11-29 10:24 UTC (permalink / raw)
  To: selinux

From: Laurent Bigonville <bigon@bigon.be>

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(+)

diff --git a/policycoreutils/mcstrans/src/mcstrans.service b/policycoreutils/mcstrans/src/mcstrans.service
index 64bb361..8976b97 100644
--- a/policycoreutils/mcstrans/src/mcstrans.service
+++ b/policycoreutils/mcstrans/src/mcstrans.service
@@ -4,6 +4,7 @@ ConditionSecurity=selinux
 
 [Service]
 ExecStart=/sbin/mcstransd -f
+RuntimeDirectory=setrans
 
 [Install]
 WantedBy=multi-user.target
-- 
2.1.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Add "RuntimeDirectory=setrans" to the mcstrans.service
  2014-11-29 10:24 [PATCH] Add "RuntimeDirectory=setrans" to the mcstrans.service Laurent Bigonville
@ 2014-12-02 13:49 ` Steve Lawrence
  0 siblings, 0 replies; 2+ messages in thread
From: Steve Lawrence @ 2014-12-02 13:49 UTC (permalink / raw)
  To: Laurent Bigonville, selinux

On 11/29/2014 05:24 AM, Laurent Bigonville wrote:
> From: Laurent Bigonville <bigon@bigon.be>
> 
> 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!

Acked-by: Steve Lawrence <slawrence@tresys.com>

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-12-02 13:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-29 10:24 [PATCH] Add "RuntimeDirectory=setrans" to the mcstrans.service Laurent Bigonville
2014-12-02 13:49 ` Steve Lawrence

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.