[Pkg-utopia-maintainers] Bug#730437: network-manager: fails to start

LRN lrn1986 at gmail.com
Thu Nov 28 14:33:43 UTC 2013


The problem is in nm_manager_new().

It calls:
singleton = (NMManager *) g_object_new (NM_TYPE_MANAGER, NULL);
to create the nmm object, which results in a call to nm_manager_init()
down the chain, which eventually leads to a nm_manager_update_state()
call, which calls:
nm_connectivity_set_online (priv->connectivity, new_state >=
NM_STATE_CONNECTED_LOCAL);
However, priv->connectivity is initialized only back in
nm_manager_new() AFTER it creates the nmm object.

Possible solution:
somehow move this line:
priv->connectivity = nm_connectivity_new (connectivity_uri,
connectivity_interval, connectivity_response);
into nm_manager_init() or one of its subroutines



More information about the Pkg-utopia-maintainers mailing list