summaryrefslogtreecommitdiffstats
path: root/tmpfiles.d/systemd-network.conf
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2024-02-26 02:33:20 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2024-03-11 17:57:16 +0100
commit91676b645886382328c261efd5e83490d16e75cf (patch)
tree27b0de72aaf327350feb31457045a9be5b8b1bed /tmpfiles.d/systemd-network.conf
parentnetwork/varlink: introduce io.systemd.Network.SetPersistentStorage method (diff)
downloadsystemd-91676b645886382328c261efd5e83490d16e75cf.tar.xz
systemd-91676b645886382328c261efd5e83490d16e75cf.zip
networkctl: introduce "persistent-storage" command
Then, this introduces systemd-networkd-persistent-storage.service. systemd-networkd.service is an early starting service. So, at the time it is started, the persistent storage for the service may not be ready, and we cannot use StateDirectory=systemd/network in systemd-networkd.service. The newly added systemd-networkd-persistent-storage.service creates the state directory for networkd, and notify systemd-networkd that the directory is usable.
Diffstat (limited to 'tmpfiles.d/systemd-network.conf')
-rw-r--r--tmpfiles.d/systemd-network.conf5
1 files changed, 3 insertions, 2 deletions
diff --git a/tmpfiles.d/systemd-network.conf b/tmpfiles.d/systemd-network.conf
index 24197555ee..323beca59c 100644
--- a/tmpfiles.d/systemd-network.conf
+++ b/tmpfiles.d/systemd-network.conf
@@ -7,6 +7,7 @@
# See tmpfiles.d(5) for details
-d /run/systemd/netif 0755 systemd-network systemd-network -
-d /run/systemd/netif/links 0755 systemd-network systemd-network -
+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 /var/lib/systemd/network 0755 systemd-network systemd-network -