----- Original Message -----
> From: "Uldis Jansons" <uldis.jans...@tele2.com>
> To: "Dan Williams" <d...@redhat.com>
> Cc: networkmanager-list@gnome.org
> Sent: Wednesday, December 18, 2013 9:13:38 AM
> Subject: Re: NetwokManager fails to start with core dumped
> 
> 
> ----- Original Message -----
> > From: "Uldis Jansons" <uldis.jans...@tele2.com>
> > To: "Dan Williams" <d...@redhat.com>
> > Cc: networkmanager-list@gnome.org
> > Sent: Wednesday, December 18, 2013 9:39:59 AM
> > Subject: Re: NetwokManager fails to start with core dumped
> > 
> > 
> > ----- Original Message -----
> > > From: "Dan Williams" <d...@redhat.com>
> > > To: "Uldis Jansons" <uldis.jans...@tele2.com>
> > > 
> > > Which libnl version do you have?  There were some versions in 3.x
> > > that
> > > did work, and some that didn't, due to bugs in libnl.  v3.2.21
> > > should
> > > work, as should 3.2.23.  I believe 3.2.22 had a crashing bug, and
> > > some
> > > earlier versions like 3.2.7 had bugs too.
> > > 
> > > Dan
> > > 
> > 
> > Hi Dan,
> > 
> > I am using libnl-3.2.23 which I believe is the latest. As you were
> > mentioned 3.2.21 as bug-free version - tried this one as well.
> > Unfortunately changing of NL version didn't solve the problem -
> > compilation of NetworkManager fails:
> > 
> > [...cut...]
> >   CC       NetworkManager-nm-system.o
> > nm-system.c: In function ‘nm_system_bond_enslave’:
> > nm-system.c:1699:21: error: declaration of ‘link’ shadows a global
> > declaration [-Werror=shadow]
> > cc1: all warnings being treated as errors
> > make[4]: *** [NetworkManager-nm-system.o] Error 1
> > make[4]: Leaving directory
> > `/home/vas/build/NetworkManager-0.9.8.8/src'
> > make[3]: *** [all-recursive] Error 1
> > make[3]: Leaving directory
> > `/home/vas/build/NetworkManager-0.9.8.8/src'
> > make[2]: *** [all] Error 2
> > make[2]: Leaving directory
> > `/home/vas/build/NetworkManager-0.9.8.8/src'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/home/vas/build/NetworkManager-0.9.8.8'
> > make: *** [all] Error 2
> 
> Update.
> 
> Failing of make I solved by using --disable-more-warnings with ./configure.
> So now everything is built without errors. Unfortunately starting of
> NetworkManager still fails even with different netlink library
> (libnl-3.2.21).
> 
> [...cut...]
> NetworkManager[1948]: <warn> Failed to connect to netlink: (4) unable to
> allocate netlink link cache for monitoring link status: Operation not
> supported
> (NetworkManager:1948): GLib-GObject-CRITICAL **: g_type_instance_get_private:
> assertion `instance != NULL && instance->g_class != NULL' failed
> Segmentation fault (core dumped)

As I said already on IRC, I suspect some sort of a system problem here. Did you 
check whether it could be caused by some selinux, apparmor or similar tool or 
by some specific kernel configuration? Is the system in any way specific, 
different from other systems? Could you reproduce with a fresh installation?

Cheers,

Pavel
_______________________________________________
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list

Reply via email to