[Pkg-utopia-maintainers] Bug#866612: network-manager: no permission to toggle network/wifi

Yves-Alexis Perez corsac at debian.org
Fri Jun 30 14:09:50 UTC 2017


Package: network-manager
Version: 1.8.0-5
Severity: normal

Hi,

I'm running Debian sid, with Xfce desktop environment and
network-manager. Since few days after Stretch release (and with a lot of
post-release upgrades), I can't toggle the network and wifi in
network-manager.

In nm-applet the checkboxes are greyed, with nmcli I get:

corsac at scapa: nmcli general permissions
PERMISSION                                                 VALUE 
org.freedesktop.NetworkManager.enable-disable-network      no    
org.freedesktop.NetworkManager.enable-disable-wifi         no    
org.freedesktop.NetworkManager.enable-disable-wwan         no    
org.freedesktop.NetworkManager.enable-disable-wimax        no    
org.freedesktop.NetworkManager.sleep-wake                  no    
org.freedesktop.NetworkManager.network-control             auth  
org.freedesktop.NetworkManager.wifi.share.protected        no    
org.freedesktop.NetworkManager.wifi.share.open             no    
org.freedesktop.NetworkManager.settings.modify.system      auth  
org.freedesktop.NetworkManager.settings.modify.own         auth  
org.freedesktop.NetworkManager.settings.modify.hostname    auth  
org.freedesktop.NetworkManager.settings.modify.global-dns  auth  
org.freedesktop.NetworkManager.reload                      auth  
org.freedesktop.NetworkManager.checkpoint-rollback         auth  
org.freedesktop.NetworkManager.enable-disable-statistics   no    

while pkaction seems to indicate it should be working as long as I am
active:

corsac at scapa: pkaction --verbose --action-id org.freedesktop.NetworkManager.network-control
org.freedesktop.NetworkManager.network-control:
  description:       Allow control of network connections
  message:           System policy prevents control of network connections
  vendor:            NetworkManager
  vendor_url:        http://www.gnome.org/projects/NetworkManager
  icon:              nm-icon
  implicit any:      auth_admin
  implicit inactive: yes
  implicit active:   yes

corsac at scapa: pkaction --verbose --action-id org.freedesktop.NetworkManager.enable-disable-network
org.freedesktop.NetworkManager.enable-disable-network:
  description:       Enable or disable system networking
  message:           System policy prevents enabling or disabling system networking
  vendor:            NetworkManager
  vendor_url:        http://www.gnome.org/projects/NetworkManager
  icon:              nm-icon
  implicit any:      no
  implicit inactive: no
  implicit active:   yes

corsac at scapa: pkaction --verbose --action-id org.freedesktop.NetworkManager.enable-disable-wifi  
org.freedesktop.NetworkManager.enable-disable-wifi:
  description:       Enable or disable WiFi devices
  message:           System policy prevents enabling or disabling WiFi devices
  vendor:            NetworkManager
  vendor_url:        http://www.gnome.org/projects/NetworkManager
  icon:              nm-icon
  implicit any:      no
  implicit inactive: no
  implicit active:   yes

And loginctl seems to consider my session active:

corsac at scapa: loginctl list-sessions
   SESSION        UID USER             SEAT             TTY             
         2       1000 corsac           seat0                            

1 sessions listed.
corsac at scapa: loginctl show-session 2
Id=2
User=1000
Name=corsac
Timestamp=Wed 2017-06-21 20:49:32 CEST
TimestampMonotonic=16875748
VTNr=7
Seat=seat0
Display=:0
Remote=no
Service=lightdm
Desktop=xfce
Scope=session-2.scope
Leader=1514
Audit=2
Type=x11
Class=user
Active=yes
State=active
IdleHint=no
IdleSinceHint=0
IdleSinceHintMonotonic=0
LockedHint=no

I assume there's something fishy along the line, I'm unsure if it's
really in NetworkManager or earlier (any pointer appreciated).

Regards,
-- 
Yves-Alexis

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (450, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages network-manager depends on:
ii  adduser                3.115
ii  dbus                   1.10.20-1
ii  init-system-helpers    1.48
ii  libaudit1              1:2.7.7-1+b1
ii  libbluetooth3          5.43-2
ii  libc6                  2.24-12
ii  libcurl3-gnutls        7.52.1-5
ii  libglib2.0-0           2.52.3-1
ii  libgnutls30            3.5.13-2
ii  libjansson4            2.9-1
ii  libmm-glib0            1.6.8-1
ii  libndp0                1.6-1+b1
ii  libnewt0.52            0.52.20-1+b1
ii  libnl-3-200            3.2.27-2
ii  libnm0                 1.8.0-5
ii  libpam-systemd         233-9
ii  libpolkit-agent-1-0    0.113-6
ii  libpolkit-gobject-1-0  0.113-6
ii  libpsl5                0.17.0-4
ii  libreadline7           7.0-3
ii  libselinux1            2.6-3+b2
ii  libsystemd0            233-9
ii  libteamdctl0           1.26-1+b1
ii  libudev1               233-9
ii  libuuid1               2.29.2-1
ii  lsb-base               9.20161125
ii  policykit-1            0.113-6
ii  udev                   233-9
ii  wpasupplicant          2:2.4-1

Versions of packages network-manager recommends:
ii  crda             3.18-1
ii  dnsmasq-base     2.77-2
ii  iptables         1.6.1-2
pn  iputils-arping   <none>
ii  isc-dhcp-client  4.3.5-3
ii  modemmanager     1.6.8-1
pn  ppp              <none>

Versions of packages network-manager suggests:
pn  libteam-utils  <none>

-- no debconf information



More information about the Pkg-utopia-maintainers mailing list