NetworkManager blocks wifi connection after standby with multiple users logged in

Bug #1961392 reported by Arvid Jasper
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
New
Undecided
Unassigned

Bug Description

I frequently have multiple users logged in on my laptop. When starting from standby and logging in to the current user, wifi connection is regularly blocked. NetworkManager appears to try connecting from the other user which seems decisively quicker. This is throwing an error message with the uid of the user apparently already trying to connect. Actually, all non-used wifis are shown as "connection in progress", while "connect" to the actual wifi network is not clickable. NetworkManager on the other user cannot connect though because finishing the connection apparently requires being logged in at that exact moment. Wifi connection is not achievable therefore in the current user.

Logging back in to the other user to solve this wifi issue is doable in my case, but only since it is me controlling both accounts. In any case it is a tedious procedure. I guess it just wasn't ever tested during development?

ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: network-manager 1.30.0-1ubuntu3
ProcVersionSignature: Ubuntu 5.11.0-49.55-generic 5.11.22
Uname: Linux 5.11.0-49-generic x86_64
ApportVersion: 2.20.11-0ubuntu65.4
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Fri Feb 18 09:07:23 2022
InstallationDate: Installed on 2020-06-08 (619 days ago)
InstallationMedia: Kubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
IpRoute:
 default via 192.168.2.1 dev wlp4s0 proto dhcp metric 600
 169.254.0.0/16 dev wlp4s0 scope link metric 1000
 192.168.2.0/24 dev wlp4s0 proto kernel scope link src 192.168.2.104 metric 600
NetworkManager.state:
 [main]
 NetworkingEnabled=true
 WirelessEnabled=true
 WWANEnabled=true
ProcEnviron:
 LANGUAGE=
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: network-manager
UpgradeStatus: Upgraded to hirsute on 2021-10-19 (121 days ago)
modified.conffile..etc.NetworkManager.conf.d.default-wifi-powersave-on.conf:
 [connection]
 wifi.powersave = 2
mtime.conffile..etc.NetworkManager.conf.d.default-wifi-powersave-on.conf: 2021-11-26T16:07:47.831184
nmcli-dev:
 DEVICE TYPE STATE IP4-CONNECTIVITY IP6-CONNECTIVITY DBUS-PATH CONNECTION CON-UUID CON-PATH
 wlp4s0 wifi connected full full /org/freedesktop/NetworkManager/Devices/3 Drogenfahndung#5 e7791f87-6e62-4f04-a8bc-d2cac21ccbaa /org/freedesktop/NetworkManager/ActiveConnection/5
 enp2s0 ethernet unavailable none none /org/freedesktop/NetworkManager/Devices/2 -- -- --
 lo loopback unmanaged unknown unknown /org/freedesktop/NetworkManager/Devices/1 -- -- --
nmcli-nm:
 RUNNING VERSION STATE STARTUP CONNECTIVITY NETWORKING WIFI-HW WIFI WWAN-HW WWAN
 running 1.30.0 connected started full enabled enabled enabled enabled enabled

Revision history for this message
Arvid Jasper (xcep) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.