Bug 107532 - 'nmcli radio wifi' flooding syslog
Summary: 'nmcli radio wifi' flooding syslog
Status: RESOLVED MOVED
Alias: None
Product: PolicyKit
Classification: Unclassified
Component: libpolkit (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: David Zeuthen (not reading bugmail)
QA Contact: David Zeuthen (not reading bugmail)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-09 05:02 UTC by NJ
Modified: 2018-08-20 21:34 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description NJ 2018-08-09 05:02:06 UTC
'nmcli radio wifi' flooding syslog

I have a script that runs mult
iple times a minute and which checks for wifi connectivity. It does the check by running, as a normal user, this: 'nmcli radio wifi'. The command seems to work but my syslog fills up with this sort of thing:

<warn>  [1533789057.9698] error requesting auth for org.freedesktop.NetworkManager.enable-disable-network: Authorization check failed: Failed to open file “/proc/24332/status”: No such file or directory

<warn>  [1533789057.9701] error requesting auth for org.freedesktop.NetworkManager.sleep-wake: Authorization check failed: Failed to open file “/proc/24332/status”: No such file or directory

<warn>  [1533789057.9705] error requesting auth for org.freedesktop.NetworkManager.enable-disable-wifi: Authorization check failed: Failed to open file “/proc/24332/status”: No such file or directory

<warn>  [1533789057.9708] error requesting auth for org.freedesktop.NetworkManager.enable-disable-wwan: Authorization check failed: Failed to open file “/proc/24332/status”: No such file or directory

I have a vpn but I get the above messages even when the VPN is off.

Perhaps the following is relevant too.

$  nmcli general permissions
PERMISSION                                                        VALUE 
org.freedesktop.NetworkManager.enable-disable-network             yes   
org.freedesktop.NetworkManager.enable-disable-wifi                yes   
org.freedesktop.NetworkManager.enable-disable-wwan                yes   
org.freedesktop.NetworkManager.enable-disable-wimax               yes   
org.freedesktop.NetworkManager.sleep-wake                         no    
org.freedesktop.NetworkManager.network-control                    yes   
org.freedesktop.NetworkManager.wifi.share.protected               yes   
org.freedesktop.NetworkManager.wifi.share.open                    yes   
org.freedesktop.NetworkManager.settings.modify.system             yes   
org.freedesktop.NetworkManager.settings.modify.own                yes   
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          yes   
org.freedesktop.NetworkManager.enable-disable-connectivity-check  yes 

Linux Mint 19 Cinnamon
Kernel: 4.17.13-041713-generic
mate-polkit 1.20.0-1 (if this is the relevant package)
Comment 1 contact+freedesktop 2018-08-14 04:31:02 UTC
I have the same problem. I also have a script running, but mine calls `nmcli connection show`. Identical journal logs and identical output for `nmcli general permissions`.

Fedora 28 x64
4.17.12-200
NetworkManager 1.10.10
polkit-0.115-1
polkit-gnome-0.106-0.2.20170423gita0763a2
Comment 2 GitLab Migration User 2018-08-20 21:34:08 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/polkit/polkit/issues/6.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.