Re: [PATCH] Add "RuntimeDirectory=setrans" to the mcstrans.service

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

> ---
>  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
> 

_______________________________________________
Selinux mailing list
Selinux@xxxxxxxxxxxxx
To unsubscribe, send email to Selinux-leave@xxxxxxxxxxxxx.
To get help, send an email containing "help" to Selinux-request@xxxxxxxxxxxxx.




[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux