LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 08-26-2012, 12:49 PM   #1
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,441

Rep: Reputation: 70
NetworkManager Warnings in Slackware 14 RCx


NetworkManager seems to be working properly for me most of the time. However, every bootup I get these warnings:
Code:
Aug 24 22:23:47 slackcur NetworkManager[1552]: <warn> Failed to open plugin directory /usr/lib/NetworkManager: Error opening directory '/usr/lib/NetworkManager': No such file or directory
Aug 24 22:23:47 slackcur NetworkManager[1552]: <warn> failed to allocate link cache: (-10) Operation not supported
Aug 24 22:23:47 slackcur NetworkManager[1552]: <warn> bluez error getting default adapter: The name org.bluez was not provided by any .service files
Aug 24 22:23:48 slackcur dhcpcd[1575]: eth0: sendmsg: Cannot assign requested address
I don't understand why it is looking in /usr/lib/NetworkManager for plugins (config issue during program building?), and I don't use anything bluetooth on my machine.

I'm just testing it with one ethernet interface using DHCP. As I mentioned previously, my connection is working just fine; I just find the initial warning/error strange.

Similarly, I often get this error on shutdown:
Code:
Aug 25 14:34:50 slackcur NetworkManager[1560]: <warn> error requesting auth for org.freedesktop.NetworkManager.wifi.share.open: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.13': no such name
These are all from syslog. Anybody else seeing these? I can enable more verbose output to see what I get...
 
Old 09-01-2012, 02:20 PM   #2
kingbeowulf
Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware64 14.1, Slackware 14.1
Posts: 501

Rep: Reputation: 136Reputation: 136
I'm getting the same networkmanager warning (connecting via wifi) on RC4
Code:
Aug 31 23:52:18 slacker64 NetworkManager[1696]: <warn> Failed to open plugin directory /usr/lib/NetworkManager: Error opening directory '/usr/lib/NetworkManager': No such file or directory
The 'link cache' warning appears also, but this might just be a networkmanager "feature" - not sure though.

I got rid of bluetooth warning/errors by disabling and blacklisting: as this laptop does not have BT capability, but does have chipset support for the [not present] add-on device, the kernel and KDE kept trying to find a nonexisting BT device. Although networkmanager, the idiot that it is, keeps looking for bluez.

I don't get the "org.freedesktop.NetworkManager.wifi.share.open" warning.

I think, though, that I will dump networkmanager for WICD until it matures a bit more. I don't need any of its fandangled features anyway.
 
Old 09-01-2012, 02:44 PM   #3
Darth Vader
Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 593

Rep: Reputation: 108Reputation: 108
Quote:
Originally Posted by kingbeowulf View Post
I'm getting the same networkmanager warning (connecting via wifi) on RC4
Code:
Aug 31 23:52:18 slacker64 NetworkManager[1696]: <warn> Failed to open plugin directory /usr/lib/NetworkManager: Error opening directory '/usr/lib/NetworkManager': No such file or directory
The directory /usr/lib/NetworkManager is where NetworkManager looks for plugins. Yes, it have plugins.

To note that directory doesn't exist in the its package, then I can invoke an wrong packaging for NetworkManager...

Quote:
Originally Posted by kingbeowulf View Post
Although networkmanager, the idiot that it is, keeps looking for bluez.
No, isn't idiot, just compiled with bluez support.

Quote:
Originally Posted by kingbeowulf View Post
I think, though, that I will dump networkmanager for WICD until it matures a bit more. I don't need any of its fandangled features anyway.
Lets do not compare an WiFi manager (WICD) with an complete integration of network management (NM)...

I.e. enlight me how you can manage with WICD an (Open)VPN connection over an USB 3G modem.

Last edited by Darth Vader; 09-01-2012 at 02:47 PM.
 
Old 09-01-2012, 02:57 PM   #4
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,441

Original Poster
Rep: Reputation: 70
FWIW if you just create the directory /usr/lib/NetworkManager the first error (can't find plugin directory) will go away. This still doesn't explain why it looks there though.

Edit: To clarify what I meant, NetworkManager already appears to be using the plugins, but it definitely isn't finding them in /usr/lib/NetworkManager. Perhaps that's just where it looks first?

Maybe the directory should be added to the package...

Last edited by shadowsnipes; 09-01-2012 at 03:01 PM.
 
Old 09-01-2012, 03:21 PM   #5
kingbeowulf
Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware64 14.1, Slackware 14.1
Posts: 501

Rep: Reputation: 136Reputation: 136
Well, Darth Vader is both right and wrong.

Networkmanger should be smart enough to know that I do not have bluez devices installed.

The plugin directory should be there if it is needed and if its looked for (ie via "make install... or cmake whatever). shadowsnipes is correct, and there are examples where this was the fix for some 13.x packages (e.g. NFS). But this in "unclean" to have to set up package directories - that's what a package is used for.

Quote:
...I don't need any of its fandangled features anyway.
Enlighten me why I should give a damn about VPN on a 3G modem? Most users will used networkmanager as a simple network manager. WICD is plenty good enough for simple wired and wifi network management, and IMHO works a lot better.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
NetworkManager on Slackware 12 orbit Slackware 63 10-25-2008 02:24 PM
NetworkManager on Slackware 10.2 baryonyx Linux - Networking 5 02-15-2007 01:38 AM
Iptables & 2.6.16-rcX lukebeales Linux - Networking 2 03-13-2006 10:18 PM
gentoo problem with rcx.d's mdpniesta Linux - Software 2 03-08-2005 08:43 AM
/etc/rc.d/rcX.d does not exist !!!!!!!!!!!!! safrout Linux From Scratch 6 11-10-2002 06:57 PM


All times are GMT -5. The time now is 04:20 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration