After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 682606 - Debian Live 32-bits - error adding connections: Insufficient privileges
Debian Live 32-bits - error adding connections: Insufficient privileges
Status: RESOLVED NOTABUG
Product: NetworkManager
Classification: Platform
Component: Wi-Fi
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Dan Williams
NetworkManager maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2012-08-24 13:36 UTC by Schoelje
Modified: 2012-10-17 14:39 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
lspci (4.29 KB, text/plain)
2012-08-24 13:36 UTC, Schoelje
Details
dmesg (48.44 KB, text/plain)
2012-08-24 13:36 UTC, Schoelje
Details
daemon.log (63.06 KB, text/plain)
2012-08-24 13:37 UTC, Schoelje
Details

Description Schoelje 2012-08-24 13:36:01 UTC
Created attachment 222320 [details]
lspci

Message: error adding connections: Insufficient privileges
   After install: ok
   
   
=========================================
Distribution
    LMDE KDE (Linux Mint Debian Edition 32-bits with KDE 4.8.4)
Kernel
    3.2.0-3-486
Network Device
    Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01)
Network device's hardware IDs
    lspci -vn
dmesg

NetworkManager logs

wpa_supplicant logs
Comment 1 Schoelje 2012-08-24 13:36:43 UTC
Created attachment 222321 [details]
dmesg
Comment 2 Schoelje 2012-08-24 13:37:29 UTC
Created attachment 222322 [details]
daemon.log
Comment 3 Schoelje 2012-08-24 13:45:56 UTC
- In a live environment (32-bits), I cannot add a wireless connection. This results in a "Insufficient privileges" message.
- Live user has root permissions.
- Distribution based on Debian Testing.
- No wpa_supplicant logs are created.
- I cannot confirm this happening on a 64-bit system.
- Once installed I have no problem making new wireless connections.
Comment 4 André Klapper 2012-08-27 10:41:43 UTC
As Debian uses ifupdown, has it been tested that this is actually an issue in upstream code?
Comment 5 Schoelje 2012-08-27 11:29:37 UTC
Can you explain how I could do so?
In other words: what information do you need?
(In reply to comment #4)
> As Debian uses ifupdown, has it been tested that this is actually an issue in
> upstream code?
Comment 6 Schoelje 2012-08-31 14:24:29 UTC
# ip link
3: waln0: <NO-CARRIER,BROADCAST,MULTICAST,UP> ...

# ip route
Returns nothing

# ifdown wlan0
ifdown: interface wlan0 not configured

# modprobe -r brcmsmac ; modprobe brcmsmac
Returns nothing

# ifup wlan0
Ignoring unknown interface wlan0=wlan0

Obviously, trying to configure wireless through network-manager results in the above mentioned error message.
Comment 7 Jiri Klimes 2012-09-10 09:14:02 UTC
The "Insufficient privileges" error for adding connections means that PolicyKit
permissions forbid the action.
The configuration file is something like
/usr/share/polkit-1/actions/org.freedesktop.NetworkManager.policy

You can query the permissions like this:
dbus-send --system --print-reply --dest=org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager.GetPermissions

or

nmcli nm perm

The whole thing looks like Debian-specific and thus you are better off going to a Debian bug tracker.
Comment 8 Schoelje 2012-09-10 09:39:35 UTC
You are probably right that this is a Debian issue, but can you be exactly sure?

Here's the output. You can see that all are set to "no" (contrary to the none-live-environment). What could be the cause of this?

$ dbus-send --system --print-reply --dest=org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager.GetPermissions            
method return sender=:1.0 -> dest=:1.84 reply_serial=2                                                                                                                          
   array [                                                                                                                                                                      
      dict entry(                                                                                                                                                               
         string "org.freedesktop.NetworkManager.network-control"                                                                                                                
         string "no"                                                                                                                                                            
      )                                                                                                                                                                         
      dict entry(
         string "org.freedesktop.NetworkManager.enable-disable-wwan"
         string "no"
      )
      dict entry(
         string "org.freedesktop.NetworkManager.settings.modify.own"
         string "no"
      )
      dict entry(
         string "org.freedesktop.NetworkManager.wifi.share.protected"
         string "no"
      )
      dict entry(
         string "org.freedesktop.NetworkManager.wifi.share.open"
         string "no"
      )
      dict entry(
         string "org.freedesktop.NetworkManager.enable-disable-network"
         string "no"
      )
      dict entry(
         string "org.freedesktop.NetworkManager.enable-disable-wimax"
         string "no"
      )
      dict entry(
         string "org.freedesktop.NetworkManager.sleep-wake"
         string "no"
      )
      dict entry(
         string "org.freedesktop.NetworkManager.enable-disable-wifi"
         string "no"
      )
      dict entry(
         string "org.freedesktop.NetworkManager.settings.modify.system"
         string "no"
      )
      dict entry(
         string "org.freedesktop.NetworkManager.settings.modify.hostname"
         string "no"
      )
   ]
Comment 9 Schoelje 2012-10-05 11:53:27 UTC
For the past week I've been upgrading the 32-bit version in groups of packages. This way I narrowed this issue down to one single package: xinit

xinit upgraded from 1.3.1-1 to 1.3.2-1.
So I held back that package, did a dist-upgrade and booted the iso with the following results:
1. The shut down and restart buttons are back in the Kickoff menu.
2. I can make a wireless connection.
3. I can mount USB
Comment 10 Jiri Klimes 2012-10-17 14:39:29 UTC
Hmm, it seems odd to me that xinit would do something with the polkit stuff.
But anyway, it's good that you've solved your issue.