NetworkManager/libnm
Thomas Haller e7ebf1efff manager: add Reload() D-Bus command
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.

(cherry picked from commit 1d0e0eeffd)
2016-06-10 11:14:38 +02:00
..
tests build: disable deprecation checks for internal compilation 2016-04-05 22:22:58 +02:00
generate-plugin-docs.pl trivial: fix a comment typo in generate-plugin-docs.pl 2014-11-19 17:54:03 +01:00
generate-setting-docs.py python: use gi.require_version() in generate-setting-docs.py and examples 2015-11-11 10:56:05 +01:00
libnm.pc.in libnm,pkg-config: provide a variable with VPN service directory 2015-08-19 15:13:11 +02:00
libnm.ver libnm-core: add dns-priority to NMSettingIPConfig 2016-06-10 11:14:36 +02:00
Makefile.am build: disable deprecation checks for internal compilation 2016-04-05 22:22:58 +02:00
NetworkManager.h libnm: include "nm-vpn-service-plugin.h" in "NetworkManager.h" 2016-01-27 17:20:09 +01:00
nm-access-point.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-access-point.h docs: libnm: add doc comment to types 2016-05-07 15:34:30 +02:00
nm-active-connection.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-active-connection.h docs: libnm: add doc comment to types 2016-05-07 15:34:30 +02:00
nm-client.c libnm: add code comments to hint that NMConnection might not validate 2016-03-29 11:56:27 +02:00
nm-client.h manager: add Reload() D-Bus command 2016-06-10 11:14:38 +02:00
nm-dbus-helpers.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-dbus-helpers.h all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-device-adsl.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-device-adsl.h docs: libnm: add doc comment to types 2016-05-07 15:34:30 +02:00
nm-device-bond.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-device-bond.h docs: libnm: add doc comment to types 2016-05-07 15:34:30 +02:00
nm-device-bridge.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-device-bridge.h docs: libnm: add doc comment to types 2016-05-07 15:34:30 +02:00
nm-device-bt.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-device-bt.h docs: libnm: add doc comment to types 2016-05-07 15:34:30 +02:00
nm-device-ethernet.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-device-ethernet.h docs: libnm: add doc comment to types 2016-05-07 15:34:30 +02:00
nm-device-generic.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-device-generic.h docs: libnm: add doc comment to types 2016-05-07 15:34:30 +02:00
nm-device-infiniband.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-device-infiniband.h docs: libnm: add doc comment to types 2016-05-07 15:34:30 +02:00
nm-device-ip-tunnel.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-device-ip-tunnel.h docs: libnm: add doc comment to types 2016-05-07 15:34:30 +02:00
nm-device-macvlan.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-device-macvlan.h docs: libnm: add doc comment to types 2016-05-07 15:34:30 +02:00
nm-device-modem.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-device-modem.h docs: libnm: add doc comment to types 2016-05-07 15:34:30 +02:00
nm-device-olpc-mesh.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-device-olpc-mesh.h docs: libnm: add doc comment to types 2016-05-07 15:34:30 +02:00
nm-device-private.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-device-team.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-device-team.h docs: libnm: add doc comment to types 2016-05-07 15:34:30 +02:00
nm-device-tun.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-device-tun.h docs: libnm: add doc comment to types 2016-05-07 15:34:30 +02:00
nm-device-vlan.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-device-vlan.h docs: libnm: add doc comment to types 2016-05-07 15:34:30 +02:00
nm-device-vxlan.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-device-vxlan.h docs: libnm: add doc comment to types 2016-05-07 15:34:30 +02:00
nm-device-wifi.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-device-wifi.h docs: libnm: add doc comment to types 2016-05-07 15:34:30 +02:00
nm-device-wimax.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-device-wimax.h docs: libnm: add doc comment to types 2016-05-07 15:34:30 +02:00
nm-device.c libnm: add code comments to hint that NMConnection might not validate 2016-03-29 11:56:27 +02:00
nm-device.h docs: libnm: add doc comment to types 2016-05-07 15:34:30 +02:00
nm-dhcp-config.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-dhcp-config.h docs: libnm: add doc comment to types 2016-05-07 15:34:30 +02:00
nm-dhcp4-config.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-dhcp4-config.h docs: libnm: add doc comment to types 2016-05-07 15:34:30 +02:00
nm-dhcp6-config.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-dhcp6-config.h docs: libnm: add doc comment to types 2016-05-07 15:34:30 +02:00
nm-ip-config.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-ip-config.h docs: libnm: add doc comment to types 2016-05-07 15:34:30 +02:00
nm-ip4-config.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-ip4-config.h docs: libnm: add doc comment to types 2016-05-07 15:34:30 +02:00
nm-ip6-config.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-ip6-config.h docs: libnm: add doc comment to types 2016-05-07 15:34:30 +02:00
nm-manager.c manager: add Reload() D-Bus command 2016-06-10 11:14:38 +02:00
nm-manager.h docs: libnm: add doc comment to types 2016-05-07 15:34:30 +02:00
nm-object-cache.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-object-cache.h all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-object-private.h all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-object.c nm-object: delay object property completion until the objects are initialized 2016-03-14 16:32:44 +01:00
nm-object.h docs: libnm: add doc comment to types 2016-05-07 15:34:30 +02:00
nm-remote-connection-private.h libnm: add libnm/libnm-core (part 1) 2014-08-01 14:34:04 -04:00
nm-remote-connection.c libnm: be more accepting for invalid connections from NetworkManager 2016-03-26 12:10:54 +01:00
nm-remote-connection.h docs: libnm: add doc comment to types 2016-05-07 15:34:30 +02:00
nm-remote-settings.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-remote-settings.h docs: libnm: add doc comment to types 2016-05-07 15:34:30 +02:00
nm-secret-agent-old.c libnm: don't check if the agent is still registered when unregistering 2016-03-29 15:08:19 +02:00
nm-secret-agent-old.h docs: libnm: add doc comment to types 2016-05-07 15:34:30 +02:00
nm-types.h libnm: add NMDeviceVxlan 2015-12-09 16:36:46 +01:00
nm-vpn-connection.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-vpn-connection.h docs: libnm: add doc comment to types 2016-05-07 15:34:30 +02:00
nm-vpn-editor.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-vpn-editor.h libnm: move NMVpnEditorPlugin to libnm-core/ 2015-07-29 22:34:35 +02:00
nm-vpn-plugin-old.c libnm: accept invalid connections in NMVpnServicePlugin 2016-03-26 12:10:54 +01:00
nm-vpn-plugin-old.h docs: libnm: add doc comment to types 2016-05-07 15:34:30 +02:00
nm-vpn-service-plugin.c libnm/vpn-service-plugin: don't register a bus name before creating the VPN object 2016-04-20 10:50:14 +02:00
nm-vpn-service-plugin.h docs: libnm: add doc comment to types 2016-05-07 15:34:30 +02:00
nm-wimax-nsp.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-wimax-nsp.h docs: libnm: add doc comment to types 2016-05-07 15:34:30 +02:00