diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-02-26 02:33:20 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-03-11 17:57:16 +0100 |
commit | 91676b645886382328c261efd5e83490d16e75cf (patch) | |
tree | 27b0de72aaf327350feb31457045a9be5b8b1bed /tmpfiles.d/systemd-network.conf | |
parent | network/varlink: introduce io.systemd.Network.SetPersistentStorage method (diff) | |
download | systemd-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.conf | 5 |
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 - |