Re: Network Manager does not find system wide connections (maybe found the reason)



I just got a little further with the problem and might have found a
reason:


I was wondering why the function get_connections() in the keyfile plugin
was never called.

I put some debugging code in the load_connections() function in
system-settings/src/dbus-settings.c



It shows:


load_connections() is called several times.

It's call for the first time, and the Ifupdown plugin gets called and
initalized,
and its get_connections() called.

Then, later, load_connections() is called again, but does terminate due
to this code:


    if (priv->connections_loaded)
        return;


And then, after that, the   keyfile plugin is loaded. But then, because
of this code, load_connections does not call get_connections anymore.

Thus, get_connections of the keyfile plugin is never called.


regards



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]