[systemd-devel] [PATCH] networkd: disable tmpfiles and sysusers bits associated with networkd

Lennart Poettering lennart at poettering.net
Tue Dec 2 08:55:37 PST 2014


On Tue, 02.12.14 10:24, Ɓukasz Stelmach (l.stelmach at samsung.com) wrote:

> >> Will it be necessary for this directory to be owned by systemd-network
> >> even without networkd?
> >
> > Yes. If networkd is compile-time enable the dir should exist and be
> > properly owned, even if it networkd is split off into a separate
> > binary package and currently not installed.
> 
> And what if the networkd is disabled? Does the directory must exist? Now
> if networkd is disabled /run/systemd/netif* are not in
> tmpfiles.d/systemd.conf. Is this correct?

If networkd is compile-time disabled then the directory should go away
too.

If networkd is compile-time enabled but its split-off binary package
not installed then the directory should exist however, since the user
might install the package later at which time clients using
sd-network should magically start to work. But that they can only if
the dir already exists which they can place their inotify watch in.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list