Package: network-manager Version: 0.9.2.0-2 Severity: normal Usertags: pca.it-communication
Hi there! According to <file:///usr/share/doc/network-manager/README.Debian.gz>: --8<---------------cut here---------------start------------->8--- Security ~~~~~~~~ To allow users to connect to the NetworkManager daemon they have to be in the group "netdev". If you want to add a user to group "netdev" use the command "adduser username netdev" or one of the graphical user management frontends. After that you have to reload D-Bus with the command "service dbus reload". Alternatively you can install the "consolekit" package which will grant access for all locally logged in users. --8<---------------cut here---------------end--------------->8--- There is however something strange going on: my local user 'luca' is not in the netdev group, but "consolekit" is installed, so everything should work just fine. And this is the case with 0.9.4.0-1 when logged in a *console* (sorry, I forgot to test this with 0.9.2.0-2). However, if the user is not in the "netdev" group, when logged in via *XDM* I get the following errors with 0.9.2.0-2 (the reason why I reported it to this old version): ===== $ ck-list-sessions Session2: unix-user = '0' realname = 'root' seat = 'Seat1' session-type = '' active = FALSE x11-display = '' x11-display-device = '' display-device = '/dev/pts/5' remote-host-name = '' is-local = TRUE on-since = '2012-03-26T22:15:39.804473Z' login-session-id = '4294967295' Session1: unix-user = '1000' realname = 'Luca Capello' seat = 'Seat2' session-type = '' active = FALSE x11-display = ':0' x11-display-device = '/dev/tty7' display-device = '' remote-host-name = '' is-local = FALSE on-since = '2012-03-26T19:34:45.384234Z' login-session-id = '4294967295' $ nmcli nm ** (process:27312): WARNING **: _nm_object_get_property: Error getting \ 'WirelessHardwareEnabled' for /org/freedesktop/NetworkManager: (9) \ Rejected send message, 2 matched rules; type="method_call", \ sender=":1.29" (uid=1000 pid=27312 comm="nmcli nm ") \ interface="org.freedesktop.DBus.Properties" member="Get" \ error name="(unset)" requested_reply="0" \ destination="org.freedesktop.NetworkManager" \ (uid=0 pid=1316 comm="/usr/sbin/NetworkManager ") ** (process:27312): WARNING **: _nm_object_get_property: Error getting \ 'WwanHardwareEnabled' for /org/freedesktop/NetworkManager: (9) \ Rejected send message, 2 matched rules; type="method_call", \ sender=":1.29" (uid=1000 pid=27312 comm="nmcli nm ") \ interface="org.freedesktop.DBus.Properties" member="Get" \ error name="(unset)" requested_reply="0" \ destination="org.freedesktop.NetworkManager" \ (uid=0 pid=1316 comm="/usr/sbin/NetworkManager ") ** (process:27312): WARNING **: _nm_object_get_property: Error getting \ 'WimaxHardwareEnabled' for /org/freedesktop/NetworkManager: (9) \ Rejected send message, 2 matched rules; type="method_call", \ sender=":1.29" (uid=1000 pid=27312 comm="nmcli nm ") \ interface="org.freedesktop.DBus.Properties" member="Get" \ error name="(unset)" requested_reply="0" \ destination="org.freedesktop.NetworkManager" \ (uid=0 pid=1316 comm="/usr/sbin/NetworkManager ") ** (process:27312): WARNING **: _nm_object_get_property: Error getting \ 'State' for /org/freedesktop/NetworkManager: (9) \ Rejected send message, 2 matched rules; type="method_call", \ sender=":1.29" (uid=1000 pid=27312 comm="nmcli nm ") \ interface="org.freedesktop.DBus.Properties" member="Get" \ error name="(unset)" requested_reply="0" \ destination="org.freedesktop.NetworkManager" \ (uid=0 pid=1316 comm="/usr/sbin/NetworkManager ") Error: nmcli (0.9.2.0) and NetworkManager (unknown) versions don't match. Force execution using --nocheck, but the results are unpredictable. $ dpkg-query -W network-manager\* network-manager 0.9.2.0-2 network-manager-gnome network-manager-kde network-manager-openconnect network-manager-openvpn 0.9.2.0-1 network-manager-pptp network-manager-vpnc 0.9.2.0-1 $ nmcli -n nm [same errors as above plus the two ones below] ** (process:6350): WARNING **: _nm_object_get_property: Error getting \ 'State' for /org/freedesktop/NetworkManager: (9) \ Rejected send message, 2 matched rules; type="method_call", \ sender=":1.62" (uid=1000 pid=6350 comm="nmcli -n nm ") \ interface="org.freedesktop.DBus.Properties" member="Get" \ error name="(unset)" requested_reply="0" \ destination="org.freedesktop.NetworkManager" \ (uid=0 pid=4589 comm="/usr/sbin/NetworkManager ") ** (process:6350): WARNING **: _nm_object_get_property: Error getting \ 'NetworkingEnabled' for /org/freedesktop/NetworkManager: (9) \ Rejected send message, 2 matched rules; type="method_call", \ sender=":1.62" (uid=1000 pid=6350 comm="nmcli -n nm ") \ interface="org.freedesktop.DBus.Properties" member="Get" \ error name="(unset)" requested_reply="0" \ destination="org.freedesktop.NetworkManager" \ (uid=0 pid=4589 comm="/usr/sbin/NetworkManager ") RUNNING STATE WIFI-HARDWARE WIFI WWAN-HARDWARE WWAN running unknown disabled disabled disabled disabled $ nmcli -n con list ** (process:6456): WARNING **: get_all_cb: couldn't retrieve \ system settings properties: (9) \ Rejected send message, 2 matched rules; type="method_call", \ sender=":1.63" (uid=1000 pid=6456 comm="nmcli -n con list ") \ interface="org.freedesktop.DBus.Properties" member="GetAll" \ error name="(unset)" requested_reply="0" \ destination="org.freedesktop.NetworkManager" \ (uid=0 pid=4589 comm="/usr/sbin/NetworkManager "). NAME UUID TYPE TIMESTAMP-REAL $ ===== With 0.9.4.0-1 and still not being the "netdev" group, the situation changes a bit, but it is not consistent yet with the console behavior (which, again, works with no problem): ===== $ nmcli nm ** (process:2930): WARNING **: Could not initialize \ NMClient /org/freedesktop/NetworkManager: \ Rejected send message, 2 matched rules; type="method_call", \ sender=":1.17" (uid=1000 pid=2930 comm="nmcli nm ") \ interface="org.freedesktop.DBus.Properties" member="GetAll" \ error name="(unset)" requested_reply="0" \ destination="org.freedesktop.NetworkManager" (uid=0 pid=1283 comm="/usr/sbin/NetworkManager ") Error: nmcli (0.9.4.0) and NetworkManager (unknown) versions don't match. Force execution using --nocheck, but the results are unpredictable. $ ===== If the local user is added to the "netdev" group, then nmcli is fine. Thus, I would say the problem is related to ConsoleKit,given that on a console session both "active" and "is-local" are TRUE: ===== $ ck-list-sessions Session1: unix-user = '1000' realname = 'Luca Capello' seat = 'Seat1' session-type = '' active = TRUE x11-display = '' x11-display-device = '' display-device = '/dev/tty1' remote-host-name = '' is-local = TRUE on-since = '2012-03-27T12:44:28.743202Z' login-session-id = '4294967295' ===== Please note that nmcli_0.9.2.0-2 worked fine as root with manually-created wired or Wi-Fi connections, but because of a bug in nmcli_0.9.4.0-1 non-automatic connections can not be activated anymore: <http://bugs.debian.org/641902> <https://bugzilla.gnome.org/show_bug.cgi?id=672812> Thx, bye, Gismo / Luca -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (990, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages network-manager depends on: ii adduser 3.113+nmu1 ii dbus 1.4.18-1 ii isc-dhcp-client 4.2.2.dfsg.1-3 ii libc6 2.13-27 ii libdbus-1-3 1.4.18-1 ii libdbus-glib-1-2 0.98-1 ii libgcrypt11 1.5.0-3 ii libglib2.0-0 2.30.2-6 ii libgnutls26 2.12.17-2 ii libgudev-1.0-0 175-3.1 ii libnl-3-200 3.2.7-2 ii libnl-route-3-200 3.2.7-2 ii libnm-glib4 0.9.2.0-2 ii libnm-util2 0.9.2.0-2 ii libpolkit-gobject-1-0 0.104-2 ii libuuid1 2.20.1-4 ii lsb-base 3.2+Debian31 ii udev 175-3.1 ii wpasupplicant 0.7.3-6 Versions of packages network-manager recommends: pn crda <none> pn dnsmasq-base 2.60-1 pn iptables 1.4.12.2-1 pn modemmanager <none> pn policykit-1 0.104-2 pn ppp <none> Versions of packages network-manager suggests: pn avahi-autoipd <none> -- Configuration Files: /etc/NetworkManager/NetworkManager.conf changed: [main] plugins=ifupdown,keyfile [ifupdown] ## <http://bugs.debian.org/606268> ## <http://bugs.debian.org/637769> ## <http://bugs.debian.org/641902> managed=true -- no debconf information
pgpAmfFFwzxUT.pgp
Description: PGP signature