Re: Network Manager does not find system wide connections
- From: Dan Williams <dcbw redhat com>
- To: Hadmut Danisch <hadmut danisch de>
- Cc: NetworkManager-list gnome org
- Subject: Re: Network Manager does not find system wide connections
- Date: Thu, 30 Jul 2009 09:08:58 -0400
On Tue, 2009-07-28 at 20:23 +0200, Hadmut Danisch wrote:
> Dan Williams wrote:
> >
> >
> > You'll want to start looking in the keyfile's
> > system-settings/plugins/keyfile/plugin.c dir_changed() function. That
> > function is called whenever inotify sees new files or changes in the
> > config directory. Does that function get called when the new file
> > appears there? Since the new keyfile appears at all, I assume that
> > means the keyfile plugin is loaded (otherwise nothing would get written
> > to that directory in the first place).
> >
> > Eventually this code will be triggered in dir_chagned():
> >
> > /* New */
> > connection = nm_keyfile_connection_new (name);
> > if (connection) {
> > NMConnection *tmp;
> > NMSettingConnection *s_con;
> > const char *connection_uuid;
> > NMKeyfileConnection *found = NULL;
> >
> >
> >
>
>
> Nope, dir_changed() is not called at all, neither at restart of the
> nm-system-settings daemon, nor when a new file appears.
Ok, this is odd, and it indicates a problem either with glib or with
inotify. What glib version are you using? Are any of the files you're
changing hardlinked to something else?
Dan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]