Your message dated Wed, 12 Jul 2017 18:05:45 +0200
with message-id <[email protected]>
and subject line Re: [Pkg-utopia-maintainers] Bug#866612: network-manager: no 
permission to toggle network/wifi
has caused the Debian Bug report #866612,
regarding network-manager: no permission to toggle network/wifi
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
866612: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=866612
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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@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@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@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@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@scapa: loginctl list-sessions
   SESSION        UID USER             SEAT             TTY             
         2       1000 corsac           seat0                            

1 sessions listed.
corsac@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

--- End Message ---
--- Begin Message ---
On Fri, 30 Jun 2017 16:30:15 +0200 Yves-Alexis Perez <[email protected]>
wrote:
> On Fri, 2017-06-30 at 16:23 +0200, Michael Biebl wrote:
> > I'm not using lightdm or stretch and it works fine under GNOME here, so
> > it doesn't seem to be a problem specific to network-manager.
> 
> It's on sid, not stretch, I was just referring to stretch because of the post-
> releases upgrades.
> > 
> > Do you have dbus-user-session installed? A polkit agent successfully
> > running in your desktop session?
> 
> dbus-user-session is installed (1.10.20-1) and I have a polkit agent installed
> (policykit-1-gnome 0.105-6) but it's apparently not running.
> 
> When trying to run it manually from a terminal I get:
> 
> corsac@scapa: /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
> 
> (polkit-gnome-authentication-agent-1:26552): polkit-gnome-1-WARNING **: Unable
> to determine the session we are in: No session for pid 26552
> 
> I can also find that line in .xsession-errors so it looks like it might indeed
> be related.
> 
> I'll investigate in this direction and close/reassign if/when needed.

I'll close this bug for now.
Feel free to reopen and reassign if necessary.

Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
_______________________________________________
Pkg-utopia-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-utopia-maintainers

Reply via email to