3.10.2014 at 10:34 WaLyong Cho <[email protected]> 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 [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
regards, -- Maciej Wereski Samsung R&D Institute Poland Samsung Electronics [email protected] _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
