Bug 307680

Summary: Debian Live 32-bits - error adding connections: Insufficient privileges
Product: Network Management Reporter: Schoelje <schoelje>
Component: Plasma WidgetAssignee: Sebastian Kügler <sebas>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: lamarque, wstephenson
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: dmesg
daemon.log

Description Schoelje 2012-10-01 17:57:07 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.

Reproducible: Always

Steps to Reproduce:
1. Download and run from USB: http://www.schoelje.nl/lmdekde/lmdekde32_up5_20120929.iso
2. Open Network Management Settings
3. Add a wireless connection
Actual Results:  
Error message: 
error adding connections: Insufficient privileges

Expected Results:  
Even in a live environment I expect to be able to create a wireless connection.

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)

# 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

# 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 1 Schoelje 2012-10-02 19:13:49 UTC
Created attachment 74303 [details]
dmesg
Comment 2 Schoelje 2012-10-02 19:14:55 UTC
Created attachment 74304 [details]
daemon.log
Comment 3 Schoelje 2012-10-05 11:53:42 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 4 Lamarque V. Souza 2012-10-05 17:11:25 UTC
This look like a problem with your /etc/dbus-1/system.d/org.freedesktop.NetworkManager.conf or you do not have ConsoleKit installed and running. Anway, this is downstream issue, you should contact Debian developers about this.
Comment 5 Schoelje 2012-10-05 17:15:58 UTC
Today, I've contacted the Debian xinit maintainer about this.