FS#22607 - cnetworkmanager not work

Attached to Project: Arch Linux
Opened by Artem A Klevtsov (unikum) - Wednesday, 26 January 2011, 15:10 GMT
Last edited by Ionut Biru (wonder) - Saturday, 19 February 2011, 18:35 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When I try connect to wireless with cnetworkmanager, I recieve following message:
Traceback (most recent call last):
File "/usr/bin/cnetworkmanager", line 283, in <module>
us = NetworkManagerUserSettings([]) # request_name may fail
File "/usr/lib/python2.7/site-packages/networkmanager/applet/service/__init__.py", line 70, in __init__
super(NetworkManagerUserSettings, self).__init__(conmaps, USER_SERVICE)
File "/usr/lib/python2.7/site-packages/networkmanager/applet/service/__init__.py", line 29, in __init__
do_not_queue=True)
File "/usr/lib/python2.7/site-packages/dbus/service.py", line 129, in __new__
retval = bus.request_name(name, name_flags)
File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 306, in request_name
'su', (name, flags))
File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 630, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Connection ":1.74" is not allowed to own the service "org.freedesktop.NetworkManagerUserSettings" due to security policies in the configuration file

Additional info:
* package version(s)
community/cnetworkmanager 0.21.1-3
Command Line Interface for NetworkManager
extra/networkmanager 0.8.3-0.20110113
Network Management daemon

* config and/or log files etc.
/etc/NetworkManager/NetworkManager.conf
[main]
plugins=keyfile

[keyfile]
hostname=myhost

Steps to reproduce:
cnetworkmanager --connect='mynet' --wpa-pass='pass'

This task depends upon

Closed by  Ionut Biru (wonder)
Saturday, 19 February 2011, 18:35 GMT
Reason for closing:  Not a bug
Comment by Jan de Groot (JGC) - Wednesday, 26 January 2011, 15:46 GMT
You can't control networkmanager if you don't have permissions assigned trough policykit. This is not a packaging or application bug.
Comment by Artem A Klevtsov (unikum) - Wednesday, 26 January 2011, 15:55 GMT
One month ago everything worked. Config files have not changed. Only networkmanager updated.
Comment by Ionut Biru (wonder) - Wednesday, 26 January 2011, 16:01 GMT
what's your login method? paste ~/.xinitrc
Comment by Artem A Klevtsov (unikum) - Wednesday, 26 January 2011, 16:53 GMT
I try connect from console. X server not start.
Comment by Ionut Biru (wonder) - Wednesday, 26 January 2011, 16:57 GMT
you could try this  FS#21391  suggestion
Comment by Artem A Klevtsov (unikum) - Wednesday, 26 January 2011, 17:16 GMT
@wonder: thanks, this suggestion solved my problem.

Loading...