On Thu, 23.10.14 11:03, Maciej Wereski ([email protected]) wrote:
> 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. I still think this xattr approach is the way to go. Note that for the usage by the "sysusers" tool I wrote a completely new word parser in unquote_many_words() that deals in a much saner way with quotation marks. We really should rework tmpfiles to make use of that. That should deal with many of the quoting problems? Lennart -- Lennart Poettering, Red Hat _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
