diff options
author | Topi Miettinen <toiwoton@gmail.com> | 2019-12-06 15:36:58 +0100 |
---|---|---|
committer | Topi Miettinen <toiwoton@gmail.com> | 2019-12-07 17:55:54 +0100 |
commit | 07317d6e343c439d384fa42f89dc5b6cfe03f809 (patch) | |
tree | be0fc827348056f11dab5ccca79b0a7f6ec73aa5 /tmpfiles.d | |
parent | Merge pull request #14235 from fbuihuu/cryptsetup-fixes (diff) | |
download | systemd-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.m4 | 1 |
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 - |