nm-applet icon not showing when /proc is mounted with hidepid!=0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Network Manager Applet |
Fix Released
|
Medium
|
|||
network-manager (Ubuntu) |
Fix Released
|
High
|
Aron Xu | ||
Xenial |
Fix Released
|
High
|
Aron Xu |
Bug Description
Steps to reproduce:
1. (Re-)mount /proc with hidepid=1 (or =2)
2. Restart nm-applet
nm-applet's icon does not reappear after the restart. This used to work with version 1.0.
Original bug description:
Since I upgraded to -proposed network-manager and network-
Manually starting it on a console give:
$ nm-applet
(nm-applet:6250): nm-applet-WARNING **: GDBus.Error:
(nm-applet:6250): libnm-CRITICAL **: nm_client_
(nm-applet:6250): libnm-CRITICAL **: nm_client_
(nm-applet:6250): libnm-CRITICAL **: nm_client_
(nm-applet:6250): libnm-CRITICAL **: nm_client_
(nm-applet:6250): libnm-CRITICAL **: nm_client_
(nm-applet:6250): libnm-CRITICAL **: nm_client_
(nm-applet:6250): libnm-CRITICAL **: nm_client_
(nm-applet:6250): libnm-CRITICAL **: nm_client_
What's odd is the NM and NM-gnome base versions are not identical:
$ apt-cache policy network-manager network-
network-manager:
Installed: 1.1.93-0ubuntu1
Candidate: 1.1.93-0ubuntu1
Version table:
*** 1.1.93-0ubuntu1 500
500 http://
100 /var/lib/
1.
500 http://
network-
Installed: 1.1.93-1ubuntu1
Candidate: 1.1.93-1ubuntu1
Version table:
*** 1.1.93-1ubuntu1 500
500 http://
100 /var/lib/
1.
500 http://
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: network-
ProcVersionSign
Uname: Linux 4.4.0-18-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.1-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Apr 11 08:16:59 2016
NetworkManager.
[main]
NetworkingEnab
WirelessEnable
WWANEnabled=true
WimaxEnabled=true
RfKill:
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
SourcePackage: network-
UpgradeStatus: No upgrade log present (probably fresh install)
nmcli-con:
Error: command ['nmcli', '-f', 'all', 'con'] failed with exit code 1:
(process:7301): nmcli-CRITICAL **: Error: Could not create NMClient object: Unable to authenticate request..
nmcli-dev:
Error: command ['nmcli', '-f', 'all', 'dev'] failed with exit code 1:
(process:7297): nmcli-CRITICAL **: Error: Could not create NMClient object: Unable to authenticate request..
nmcli-nm: Error: command ['nmcli', '-f', 'all', 'nm'] failed with exit code 2: Error: Object 'nm' is unknown, try 'nmcli help'.
Changed in network-manager-applet (Ubuntu): | |
importance: | Undecided → High |
importance: | High → Critical |
summary: |
- nm-applet icon not showing + nm-applet icon not showing when /proc is mounted with hidepid!=0 |
Changed in network-manager-applet: | |
importance: | Undecided → Unknown |
status: | New → Unknown |
Changed in network-manager-applet (Ubuntu): | |
importance: | Critical → High |
tags: |
added: regression-release removed: regression-proposed |
Changed in network-manager-applet: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
Changed in network-manager (Ubuntu Xenial): | |
status: | Fix Committed → Fix Released |
The errors there look like the issue would be about NetworkManager not running. Are you sure it is started at the time? You wouldn't then have to restart nm-applet -- nm-applet does not show if it can't talk to NM.
Otherwise, I suppose there may be issues with policykit or some other authentication system: org.freedesktop .NetworkManager .AgentManager. PermissionDenie d: Unable to determine request sender and UID.
(nm-applet:6250): nm-applet-WARNING **: GDBus.Error:
Neither PolicyKit or polkit-gnome have changed in a while. Could you please stop NetworkManager and restart it with debug logs? Steps below.
sudo systemctl stop NetworkManager NetworkManager --debug > ~/nm-debug.log
sudo /usr/sbin/
Then attach nm-debug.log; I expect it will show some hint as to the authentication issue somewhere near the top of the log.