'nmcli radio wifi' flooding syslog
Submitted by NJ
Assigned to David Zeuthen @david
Link to original bug (#107532)
Description
'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)