]> git.ipfire.org Git - thirdparty/systemd.git/commit
resolved, networkd: don't resolve the user if not root 14266/head
authorTopi Miettinen <toiwoton@gmail.com>
Fri, 6 Dec 2019 14:36:58 +0000 (16:36 +0200)
committerTopi Miettinen <toiwoton@gmail.com>
Sat, 7 Dec 2019 16:55:54 +0000 (18:55 +0200)
commit07317d6e343c439d384fa42f89dc5b6cfe03f809
treebe0fc827348056f11dab5ccca79b0a7f6ec73aa5
parent36f43076b99e2054de96f112f494a82916377d8c
resolved, networkd: don't resolve the user if not root

If a daemon is not started as root, most likely it also can't create its
directory and let's not try to resolve the user in that case either.

Create /run/systemd/netif/lldp with tmpfiles.d like other netif directories.

This is also very helpful for preparing a RootImage for the daemons as NSS crud
is not needed.
src/network/networkd.c
src/resolve/resolved.c
tmpfiles.d/systemd.conf.m4