[systemd-devel] [PATCH 1/3] tmpfiles: skip the path entirely if configured as type x

Lennart Poettering lennart at poettering.net
Mon Nov 11 05:10:09 PST 2013


On Mon, 11.11.13 13:19, Michal Sekletar (msekleta at redhat.com) wrote:

> > So I still don't get the problem you are trying to point out. Can you
> > give a minimal example where the problem manifests? Maybe I grok it
> > then...
> > 
> 
> Please consider following configuration and steps to reproduce:
> 
> *** /etc/tmpfiles.d/test.conf ***
> d /tmp/testdir 0755 lennart lennart 1s
> x /tmp/testdir

Ahum. So, either this should generate an error, as there are two lines
for the same directory, and we shouldn't allow that. Or we declare lines
of type "x" and "d" mergable and then merge them together. However, I am
pretty sure we should just generate an error here...

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list