]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/network/networkd-link.c
network: make Reload bus method synchronous
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 8 Feb 2024 03:47:39 +0000 (12:47 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 9 Feb 2024 05:25:54 +0000 (14:25 +0900)
commit1e869a5de9063dfe6afac52bffc7c9c2d206b096
tree3e206680a445bc8f09dc99627655ef1ce60efa84
parentbbcd088031ba3e6836c5a8324559e8337bacce16
network: make Reload bus method synchronous

Prompted by https://github.com/systemd/systemd/pull/30085#discussion_r1401534107.

Note, like Reconfigure bus method, even reconfiguration for an interface is
triggered by Reload method, the method only wait for the link enters
configuring state (or unmanaged state if no matching .network file exists).
Users still need to invoke systemd-networkd-wait-online if it is
necessary to wait for the interface enters configured state after Reload
medhod.
src/libsystemd/sd-bus/bus-common-errors.c
src/libsystemd/sd-bus/bus-common-errors.h
src/network/networkd-link.c
src/network/networkd-link.h
src/network/networkd-manager-bus.c
src/network/networkd-manager.c
src/network/networkd-manager.h