mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-07-08 19:55:47 +00:00
Add new Reload D-Bus command to reload NetworkManager configuration. For now, this is like sending SIGHUP to the process. There are several advantages here: - it is guarded via PolicyKit authentication while signals can only be sent by root. - the user can wait for the reload to be complete instead of sending an asynchronous signal. For now, we operation completes after nm_config_reload() returns, but later we could delay the response further until specific parts are fully reloaded. - SIGHUP reloads everything including re-reading configuration from disk while SIGUSR1 reloads just certain parts such as writing out DNS configuration anew. Now, the Reload command has a flags argument which is more granular in selecting parts which are to be reloaded. For example, via signals the user can: 1) send SIGUSR1: this writes out the DNS configuration to resolv.conf and possibly reloads other parts without re-reading configuration and without restarting the DNS plugin. 2) send SIGHUP: this reloads configuration from disk, writes out resolv.conf and restarts the DNS plugin. There is no way, to only restart the DNS plugin without also reloading everything else. |
||
---|---|---|
.. | ||
Makefile.am | ||
nm-access-point.xml | ||
nm-active-connection.xml | ||
nm-agent-manager.xml | ||
nm-device-adsl.xml | ||
nm-device-bond.xml | ||
nm-device-bridge.xml | ||
nm-device-bt.xml | ||
nm-device-ethernet.xml | ||
nm-device-generic.xml | ||
nm-device-infiniband.xml | ||
nm-device-ip-tunnel.xml | ||
nm-device-macvlan.xml | ||
nm-device-modem.xml | ||
nm-device-olpc-mesh.xml | ||
nm-device-team.xml | ||
nm-device-tun.xml | ||
nm-device-veth.xml | ||
nm-device-vlan.xml | ||
nm-device-vxlan.xml | ||
nm-device-wifi.xml | ||
nm-device-wimax.xml | ||
nm-device.xml | ||
nm-dhcp4-config.xml | ||
nm-dhcp6-config.xml | ||
nm-ip4-config.xml | ||
nm-ip6-config.xml | ||
nm-manager.xml | ||
nm-ppp-manager.xml | ||
nm-secret-agent.xml | ||
nm-settings-connection.xml | ||
nm-settings.xml | ||
nm-vpn-connection.xml | ||
nm-vpn-plugin.xml | ||
nm-wimax-nsp.xml |