summaryrefslogtreecommitdiff
path: root/tmpfiles.d
diff options
context:
space:
mode:
authorTopi Miettinen <toiwoton@gmail.com>2019-12-06 16:36:58 +0200
committerTopi Miettinen <toiwoton@gmail.com>2019-12-07 18:55:54 +0200
commit07317d6e343c439d384fa42f89dc5b6cfe03f809 (patch)
treebe0fc827348056f11dab5ccca79b0a7f6ec73aa5 /tmpfiles.d
parent36f43076b99e2054de96f112f494a82916377d8c (diff)
downloadsystemd-07317d6e343c439d384fa42f89dc5b6cfe03f809.tar.gz
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 -