Re: How to add dbus path for connection object?
- From: Dan Williams <dcbw redhat com>
- To: Mu Qiao <qiaomuf gmail com>
- Cc: networkmanager-list gnome org
- Subject: Re: How to add dbus path for connection object?
- Date: Fri, 11 Mar 2011 20:16:26 -0600
On Wed, 2011-03-09 at 14:38 +0000, Mu Qiao wrote:
> Hi Dan,
>
> After trying NM-0.8.995 on Gentoo, I keep getting the error:
> claim_connection: assertion `nm_connection_get_path (NM_CONNECTION
> (connection)) == NULL' failed
>
> I try to find the reason and I think it's because I didn't provide a
> path property for the connection object of ifnet plug-in. I tried to
> do what ifcfg-rh did but still get the same error. What's the correct
> way to provide this property in the plug-in?
Actually that's provided by NetworkManager automatically when it exports
the connection over D-Bus. What's happening here is that it looks like
ifnet plugin is emitting the NM_SYSTEM_CONFIG_INTERFACE_CONNECTION_ADDED
(connection-added) signal more than once for the same connection. If
you can find out why that's happening that would be great, otherwise we
could make nm-settings.c just ignore multiple "added" signals for the
same connection I suppose.
Dan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]