[systemd-devel] [RFC] tmpfiles.d with mac_label

WaLyong Cho walyong.cho at gmail.com
Thu Oct 23 01:37:16 PDT 2014


On 10/23/2014 05:34 PM, WaLyong Cho wrote:
> As we know we can make a direcory or link or file or some others by
> using tmpfiles.d. But we can not apply mac_label on there when after
> that is genreated.
> 
> How about add mac_label field on tmpfiles.d? Actually, now we can not
> assign a mac_label to newly generated directory. So we make a script
> which include mkdir/chsmack. (I'm not sure chsmack is official tool for
> get/set SMACK label. Anyway.) If tmpfiles.d have a field for mac_label
> then we don't need such a terrible scripts.
> 
If you agree, "SECLABEL{module}" format will appropriate for that like
udev rules.


More information about the systemd-devel mailing list