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



On Tue, Aug 04, 2009 at 11:41:41AM -0400, Dan Williams wrote:
> On Sat, 2009-08-01 at 01:02 +0200, Hadmut Danisch wrote:
> > 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.
> 
> But at the same time as ifupdown gets loaded, keyfile should also get
> loaded if I'm not mistaken.  At the time load_connections() gets called,
> the command line/config file will have been parsed, and all plugins will
> have been registered.

I can confirm that it works with latest 0.7 packages
(https://edge.launchpad.net/~network-manager/+archive/ppa); i can
maintain keyfile connections even if there is an ifupdown connection
configured.

Maybe there was a bug in the version we shipped in jaunty (0.7.1 git
commit: cf199a964)?

 - Alexander



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