NetworkManager/data
Thomas Haller 1d0e0eeffd 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.
2016-06-01 19:06:34 +02:00
..
84-nm-drivers.rules Split out the bits which determine ID_NET_DRIVER or DRIVERS into separate udev rules file 2015-08-31 22:41:17 +02:00
85-nm-unmanaged.rules linux-platform: treat gadget devices as ethernet devices 2016-01-21 11:33:59 +01:00
Makefile.am Split out the bits which determine ID_NET_DRIVER or DRIVERS into separate udev rules file 2015-08-31 22:41:17 +02:00
NetworkManager-dispatcher.service.in dispatcher: rename executable to 'nm-dispatcher' 2014-06-06 13:43:45 -05:00
NetworkManager-wait-online-systemd-pre200.service.in systemd: update NetworkManager-wait-online.service to wait for startup 2014-03-31 08:37:10 +02:00
NetworkManager-wait-online.service.in systemd: stop blocking network.target in NetworkManager-wait-online.service 2015-10-30 11:37:09 +01:00
NetworkManager.service.in manager: add Reload() D-Bus command 2016-06-01 19:06:34 +02:00
org.freedesktop.NetworkManager.service.in core: more systemd service file fixes 2010-08-18 17:01:26 -05:00
server.conf.in core: change the rules for ignore-carrier 2013-07-22 11:30:21 -04:00