[systemd-bugs] [Bug 90455] RFE: tmpfiles: allow multiple "w" lines for the same file, as long as they share all the same attributes (with the exception of the final argument to write)
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri May 15 02:44:02 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=90455
--- Comment #7 from Lennart Poettering <lennart at poettering.net> ---
(In reply to Sergio Durigan Junior from comment #6)
> (In reply to Lennart Poettering from comment #5)
> > Well, if you have one line that sets the access mode to 0755 for a file, and
> > another one which sets it to 0777, what do you do? It's not clear what
> > actually should happen in that case, hence we generally report errors about
> > conflicting lines.
>
> I am not a systemd developer, so I may be talking BS here, but in this case
> it seems to me that the *.conf file should be processed line-by-line, i.e.,
> the order matters, so if you are setting the mode to 0755 and then to 0777,
> the last one "wins".
Well, currently the first one wins, plus you get a message informing you about
the conflict. I think that's pretty OK already.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20150515/e2dce58e/attachment.html>
More information about the systemd-bugs
mailing list