[systemd-devel] [RFC] tmpfiles.d with mac_label
Maciej Wereski
m.wereski at partner.samsung.com
Thu Oct 23 02:03:23 PDT 2014
3.10.2014 at 10:34 WaLyong Cho <walyong.cho at gmail.com> 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.
Last year I've proposed patch, that was adding xattr option to tmpfiles
(which can be used for SMACK labeling). This is latest patch:
<http://lists.freedesktop.org/archives/systemd-devel/2013-December/015053.html>
Problem was, that upstream wanted me to use str/strv API, which
unfortunately didn't work well in my case.
> 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.
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
regards,
--
Maciej Wereski
Samsung R&D Institute Poland
Samsung Electronics
m.wereski at partner.samsung.com
More information about the systemd-devel
mailing list