summaryrefslogtreecommitdiffstats
path: root/tmpfiles.d
diff options
context:
space:
mode:
authorTopi Miettinen <toiwoton@gmail.com>2019-12-06 15:36:58 +0100
committerTopi Miettinen <toiwoton@gmail.com>2019-12-07 17:55:54 +0100
commit07317d6e343c439d384fa42f89dc5b6cfe03f809 (patch)
treebe0fc827348056f11dab5ccca79b0a7f6ec73aa5 /tmpfiles.d
parentMerge pull request #14235 from fbuihuu/cryptsetup-fixes (diff)
downloadsystemd-07317d6e343c439d384fa42f89dc5b6cfe03f809.tar.xz
systemd-07317d6e343c439d384fa42f89dc5b6cfe03f809.zip
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.
Diffstat (limited to 'tmpfiles.d')
-rw-r--r--tmpfiles.d/systemd.conf.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/tmpfiles.d/systemd.conf.m4 b/tmpfiles.d/systemd.conf.m4
index 9c57d3b21c..4914e8ec8c 100644
--- a/tmpfiles.d/systemd.conf.m4
+++ b/tmpfiles.d/systemd.conf.m4
@@ -22,6 +22,7 @@ m4_ifdef(`ENABLE_NETWORKD',
d /run/systemd/netif 0755 systemd-network systemd-network -
d /run/systemd/netif/links 0755 systemd-network systemd-network -
d /run/systemd/netif/leases 0755 systemd-network systemd-network -
+d /run/systemd/netif/lldp 0755 systemd-network systemd-network -
)m4_dnl
d /run/log 0755 root root -