NetworkManager/src
Dan Winship b7911bae51 core: better order the code at startup
NM was calling nm_bus_manager_start_service() to claim its bus name
before it exported any of its objects, but this didn't matter under
dbus-glib, because no client connections would be accepted until the
main loop was started later on, by which point we would have exported
everything.

But with gdbus, method calls are initially received in the gdbus
worker thread, which means that clients would be able to connect right
away and then be told that the expected interfaces don't exist.

So move the nm_bus_manager_start_service() call to occur after
creating NMSettings and NMManager (and, indirectly, NMAgentManager).
This requires splitting out the slow parts of nm_settings_new() into a
new nm_settings_start(), so that we can create and export it first,
and then read the connections, etc afterward. (Likewise, there were
still a few potentially-slow bits in nm_manager_new() which are now
moved into nm_manager_start().)
2015-08-10 09:41:26 -04:00
..
devices device: avoid setting MTU to zero if undefined 2015-08-10 14:10:17 +02:00
dhcp-manager build: fix out-of-tree build for missing "nm-version.h" 2015-08-05 16:15:03 +02:00
dns-manager all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
dnsmasq-manager all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
platform all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
ppp-manager all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
rdisc all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
settings core: better order the code at startup 2015-08-10 09:41:26 -04:00
supplicant-manager all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
systemd all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
tests core: add @merge_flags argument to nm_ip4_config_merge() and nm_ip6_config_merge() 2015-08-06 17:52:55 +02:00
vpn-manager core: add @merge_flags argument to nm_ip4_config_merge() and nm_ip6_config_merge() 2015-08-06 17:52:55 +02:00
main-utils.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
main-utils.h all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
main.c core: better order the code at startup 2015-08-10 09:41:26 -04:00
Makefile.am sleep-monitor: add support for ConsoleKit2 inhibit 2015-08-07 11:45:57 +02:00
NetworkManagerUtils.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
NetworkManagerUtils.h utils: use (void) for empty arguments 2015-08-05 16:03:06 +02:00
nm-activation-request.c all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-activation-request.h all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-active-connection.c all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-active-connection.h core: move D-Bus export/unexport into NMExportedObject 2015-07-24 13:25:47 -04:00
nm-audit-manager.c core: fix runtime warning when building without libaudit 2015-08-07 16:46:33 -04:00
nm-audit-manager.h core: add audit support 2015-08-04 09:32:12 +02:00
nm-auth-manager.c all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-auth-manager.h all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-auth-subject.c all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-auth-subject.h all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-auth-utils.c all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-auth-utils.h all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-bus-manager.c all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-bus-manager.h all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-config-data.c all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-config-data.h all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-config.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nm-config.h all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-connection-provider.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-connection-provider.h all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-connectivity.c all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-connectivity.h all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-dcb.c all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-dcb.h all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-default-route-manager.c all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-default-route-manager.h all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-dhcp4-config.c all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-dhcp4-config.h core: port NMDhcp4Config/NMDhcp6Config to GVariant 2015-07-24 13:25:47 -04:00
nm-dhcp6-config.c all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-dhcp6-config.h core: port NMDhcp4Config/NMDhcp6Config to GVariant 2015-07-24 13:25:47 -04:00
nm-dispatcher.c all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-dispatcher.h all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-exported-object.c all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-exported-object.h all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-firewall-manager.c all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-firewall-manager.h all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-iface-helper.c core: add @merge_flags argument to nm_ip4_config_merge() and nm_ip6_config_merge() 2015-08-06 17:52:55 +02:00
nm-ip4-config.c core: add @merge_flags argument to nm_ip4_config_merge() and nm_ip6_config_merge() 2015-08-06 17:52:55 +02:00
nm-ip4-config.h core: add @merge_flags argument to nm_ip4_config_merge() and nm_ip6_config_merge() 2015-08-06 17:52:55 +02:00
nm-ip6-config.c core: add @merge_flags argument to nm_ip4_config_merge() and nm_ip6_config_merge() 2015-08-06 17:52:55 +02:00
nm-ip6-config.h core: add @merge_flags argument to nm_ip4_config_merge() and nm_ip6_config_merge() 2015-08-06 17:52:55 +02:00
nm-logging.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nm-logging.h all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-manager.c core: better order the code at startup 2015-08-10 09:41:26 -04:00
nm-manager.h core: fix NMManager in private-bus-only case 2015-08-10 09:41:25 -04:00
nm-multi-index.c all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-multi-index.h all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-policy.c all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-policy.h all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-rfkill-manager.c all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-rfkill-manager.h all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-route-manager.c all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-route-manager.h all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-session-monitor.c all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-session-monitor.h all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-sleep-monitor-systemd.c sleep-monitor: add support for ConsoleKit2 inhibit 2015-08-07 11:45:57 +02:00
nm-sleep-monitor-upower.c all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-sleep-monitor.h all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-types.h core: add @merge_flags argument to nm_ip4_config_merge() and nm_ip6_config_merge() 2015-08-06 17:52:55 +02:00
org.freedesktop.NetworkManager.conf dbus: increase 'max_replies_per_connection' limit in D-Bus configuration 2015-05-29 08:04:26 +02:00