Page 1 of 1

[Pending] Tons of NetworkManager Warnings

Posted: Sat Nov 24, 2018 12:42 am
by ajgringo619
Every hour, my system log fills up with these warnings:

Code: Select all

Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.8885] error requesting auth for org.freedesktop.NetworkManager.enable-disable-wifi: Authorization check failed: Failed to open file “/proc/20138/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.8886] error requesting auth for org.freedesktop.NetworkManager.enable-disable-wwan: Authorization check failed: Failed to open file “/proc/20138/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.8951] error requesting auth for org.freedesktop.NetworkManager.enable-disable-wimax: Authorization check failed: Failed to open file “/proc/20138/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.8953] error requesting auth for org.freedesktop.NetworkManager.network-control: Authorization check failed: Failed to open file “/proc/20138/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.8954] error requesting auth for org.freedesktop.NetworkManager.wifi.share.protected: Authorization check failed: Failed to open file “/proc/20138/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.8954] error requesting auth for org.freedesktop.NetworkManager.wifi.share.open: Authorization check failed: Failed to open file “/proc/20138/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.8954] error requesting auth for org.freedesktop.NetworkManager.settings.modify.system: Authorization check failed: Failed to open file “/proc/20138/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.8955] error requesting auth for org.freedesktop.NetworkManager.settings.modify.own: Authorization check failed: Failed to open file “/proc/20138/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.8955] error requesting auth for org.freedesktop.NetworkManager.settings.modify.hostname: Authorization check failed: Failed to open file “/proc/20138/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.8965] error requesting auth for org.freedesktop.NetworkManager.settings.modify.global-dns: Authorization check failed: Failed to open file “/proc/20138/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.8966] error requesting auth for org.freedesktop.NetworkManager.reload: Authorization check failed: Failed to open file “/proc/20138/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.8966] error requesting auth for org.freedesktop.NetworkManager.checkpoint-rollback: Authorization check failed: Failed to open file “/proc/20138/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.8966] error requesting auth for org.freedesktop.NetworkManager.enable-disable-statistics: Authorization check failed: Failed to open file “/proc/20138/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.8979] error requesting auth for org.freedesktop.NetworkManager.enable-disable-connectivity-check: Authorization check failed: Failed to open file “/proc/20138/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.8979] error requesting auth for org.freedesktop.NetworkManager.enable-disable-network: Authorization check failed: Failed to open file “/proc/20150/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.8980] error requesting auth for org.freedesktop.NetworkManager.sleep-wake: Authorization check failed: Failed to open file “/proc/20150/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.8980] error requesting auth for org.freedesktop.NetworkManager.enable-disable-wifi: Authorization check failed: Failed to open file “/proc/20150/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.8980] error requesting auth for org.freedesktop.NetworkManager.enable-disable-wwan: Authorization check failed: Failed to open file “/proc/20150/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.8981] error requesting auth for org.freedesktop.NetworkManager.enable-disable-wimax: Authorization check failed: Failed to open file “/proc/20150/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.8987] error requesting auth for org.freedesktop.NetworkManager.network-control: Authorization check failed: Failed to open file “/proc/20150/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.8991] error requesting auth for org.freedesktop.NetworkManager.wifi.share.protected: Authorization check failed: Failed to open file “/proc/20150/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.8994] error requesting auth for org.freedesktop.NetworkManager.wifi.share.open: Authorization check failed: Failed to open file “/proc/20150/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.9008] error requesting auth for org.freedesktop.NetworkManager.settings.modify.system: Authorization check failed: Failed to open file “/proc/20150/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.9019] error requesting auth for org.freedesktop.NetworkManager.settings.modify.own: Authorization check failed: Failed to open file “/proc/20150/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.9022] error requesting auth for org.freedesktop.NetworkManager.settings.modify.hostname: Authorization check failed: Failed to open file “/proc/20150/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.9036] error requesting auth for org.freedesktop.NetworkManager.settings.modify.global-dns: Authorization check failed: Failed to open file “/proc/20150/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.9047] error requesting auth for org.freedesktop.NetworkManager.reload: Authorization check failed: Failed to open file “/proc/20150/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.9048] error requesting auth for org.freedesktop.NetworkManager.checkpoint-rollback: Authorization check failed: Failed to open file “/proc/20150/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.9060] error requesting auth for org.freedesktop.NetworkManager.enable-disable-statistics: Authorization check failed: Failed to open file “/proc/20150/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.9088] error requesting auth for org.freedesktop.NetworkManager.enable-disable-connectivity-check: Authorization check failed: Failed to open file “/proc/20150/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.9129] error requesting auth for org.freedesktop.NetworkManager.enable-disable-network: Authorization check failed: Failed to open file “/proc/20165/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.9130] error requesting auth for org.freedesktop.NetworkManager.sleep-wake: Authorization check failed: Failed to open file “/proc/20165/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.9131] error requesting auth for org.freedesktop.NetworkManager.enable-disable-wifi: Authorization check failed: Failed to open file “/proc/20165/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.9131] error requesting auth for org.freedesktop.NetworkManager.enable-disable-wwan: Authorization check failed: Failed to open file “/proc/20165/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.9131] error requesting auth for org.freedesktop.NetworkManager.enable-disable-wimax: Authorization check failed: Failed to open file “/proc/20165/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.9132] error requesting auth for org.freedesktop.NetworkManager.network-control: Authorization check failed: Failed to open file “/proc/20165/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.9132] error requesting auth for org.freedesktop.NetworkManager.wifi.share.protected: Authorization check failed: Failed to open file “/proc/20165/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.9132] error requesting auth for org.freedesktop.NetworkManager.wifi.share.open: Authorization check failed: Failed to open file “/proc/20165/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.9133] error requesting auth for org.freedesktop.NetworkManager.settings.modify.system: Authorization check failed: Failed to open file “/proc/20165/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.9139] error requesting auth for org.freedesktop.NetworkManager.settings.modify.own: Authorization check failed: Failed to open file “/proc/20165/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.9143] error requesting auth for org.freedesktop.NetworkManager.settings.modify.hostname: Authorization check failed: Failed to open file “/proc/20165/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.9148] error requesting auth for org.freedesktop.NetworkManager.settings.modify.global-dns: Authorization check failed: Failed to open file “/proc/20165/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.9152] error requesting auth for org.freedesktop.NetworkManager.reload: Authorization check failed: Failed to open file “/proc/20165/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.9155] error requesting auth for org.freedesktop.NetworkManager.checkpoint-rollback: Authorization check failed: Failed to open file “/proc/20165/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.9158] error requesting auth for org.freedesktop.NetworkManager.enable-disable-statistics: Authorization check failed: Failed to open file “/proc/20165/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.9161] error requesting auth for org.freedesktop.NetworkManager.enable-disable-connectivity-check: Authorization check failed: Failed to open file “/proc/20165/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.9165] error requesting auth for org.freedesktop.NetworkManager.enable-disable-network: Authorization check failed: Failed to open file “/proc/20191/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.9168] error requesting auth for org.freedesktop.NetworkManager.sleep-wake: Authorization check failed: Failed to open file “/proc/20191/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.9173] error requesting auth for org.freedesktop.NetworkManager.enable-disable-wifi: Authorization check failed: Failed to open file “/proc/20191/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.9176] error requesting auth for org.freedesktop.NetworkManager.enable-disable-wwan: Authorization check failed: Failed to open file “/proc/20191/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.9179] error requesting auth for org.freedesktop.NetworkManager.enable-disable-wimax: Authorization check failed: Failed to open file “/proc/20191/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.9182] error requesting auth for org.freedesktop.NetworkManager.network-control: Authorization check failed: Failed to open file “/proc/20191/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.9186] error requesting auth for org.freedesktop.NetworkManager.wifi.share.protected: Authorization check failed: Failed to open file “/proc/20191/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.9189] error requesting auth for org.freedesktop.NetworkManager.wifi.share.open: Authorization check failed: Failed to open file “/proc/20191/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.9193] error requesting auth for org.freedesktop.NetworkManager.settings.modify.system: Authorization check failed: Failed to open file “/proc/20191/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.9196] error requesting auth for org.freedesktop.NetworkManager.settings.modify.own: Authorization check failed: Failed to open file “/proc/20191/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.9199] error requesting auth for org.freedesktop.NetworkManager.settings.modify.hostname: Authorization check failed: Failed to open file “/proc/20191/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.9203] error requesting auth for org.freedesktop.NetworkManager.settings.modify.global-dns: Authorization check failed: Failed to open file “/proc/20191/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.9206] error requesting auth for org.freedesktop.NetworkManager.reload: Authorization check failed: Failed to open file “/proc/20191/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.9210] error requesting auth for org.freedesktop.NetworkManager.checkpoint-rollback: Authorization check failed: Failed to open file “/proc/20191/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.9213] error requesting auth for org.freedesktop.NetworkManager.enable-disable-statistics: Authorization check failed: Failed to open file “/proc/20191/status”: No such file or directory
Nov 23 18:32:54 NetworkManager[1222]: <warn>  [1543026774.9216] error requesting auth for org.freedesktop.NetworkManager.enable-disable-connectivity-check: Authorization check failed: Failed to open file “/proc/20191/status”: No such file or directory
I thought it was because conky was calling nmcli without root authority, but I was wrong.

Any ideas?

Re: Tons of NetworkManager Warnings

Posted: Sat Nov 24, 2018 1:08 pm
by MrEen

Re: Tons of NetworkManager Warnings

Posted: Sat Nov 24, 2018 1:11 pm
by ajgringo619
MrEen wrote:
Sat Nov 24, 2018 1:08 pm
Looks like a policykit bug? https://bugs.launchpad.net/ubuntu/+sour ... ug/1782263
Thanks for the reply. Sounds like I'll just have to wait for a fix.

Re: [CLOSED] Tons of NetworkManager Warnings

Posted: Sat Nov 24, 2018 1:17 pm
by karlchen
Hi, ajgringo619.

You marked the thread as [closed]. Would a more appropriate status not be [pending] e.g.? This would match the unresolved bug report on Launchpad. The issue is still in [pending] state. From my point of view.

Cheers,
Karl

Re: [CLOSED] Tons of NetworkManager Warnings

Posted: Sat Nov 24, 2018 1:23 pm
by ajgringo619
karlchen wrote:
Sat Nov 24, 2018 1:17 pm
Hi, ajgringo619.

You marked the thread as [closed]. Would a more appropriate status not be [pending] e.g.? This would match the unresolved bug report on Launchpad. The issue is still in [pending] state. From my point of view.

Cheers,
Karl
Agreed.

Re: Tons of NetworkManager Warnings

Posted: Sat Nov 24, 2018 1:36 pm
by gm10
MrEen wrote:
Sat Nov 24, 2018 1:08 pm
Looks like a policykit bug? https://bugs.launchpad.net/ubuntu/+sour ... ug/1782263
Could just as well be a configuration issue, like what would probably happen if you'd mount /proc with the hidepid option. But without any details given, I'd say just mark it as [whatever]. ;)

Re: [Pending] Tons of NetworkManager Warnings

Posted: Mon Jan 14, 2019 11:04 pm
by Namf_Mint

Re: [Pending] Tons of NetworkManager Warnings

Posted: Tue Jan 15, 2019 12:17 am
by ajgringo619
Thanks for the update. It's something I've kinda dealt with since I use nmcli in my Conky setup (every hour).

Re: [Pending] Tons of NetworkManager Warnings

Posted: Wed Jan 23, 2019 2:43 am
by emoxam
Namf_Mint wrote:
Mon Jan 14, 2019 11:04 pm
It is a policykit bug, and it's been fixed, but the fix has not yet reached Mint.
It's not fixed, it's confirmed. Isn't it ?

Re: [Pending] Tons of NetworkManager Warnings

Posted: Wed Jan 23, 2019 5:04 am
by gm10
emoxam wrote:
Wed Jan 23, 2019 2:43 am
Namf_Mint wrote:
Mon Jan 14, 2019 11:04 pm
It is a policykit bug, and it's been fixed, but the fix has not yet reached Mint.
It's not fixed, it's confirmed. Isn't it ?
Yes and no. That linked bug report is reported against the wrong package. It's tagged as confirmed only because multiple users reported, but that doesn't make it correct. The bug is actually with network-manager.

Now the good news is that it has indeed been fixed since network-manager 1.12. The bad news is that LM19.x uses network-manager 1.10 and the fix hasn't been back-ported (and looking at the sources it probably never will be, it's too much of a structural change, they might as well upgrade the whole thing at that point).

You can upgrade to 1.12 yourself by downloading and installing these two packages from upcoming Ubuntu 19.04 (the ones from Ubuntu 18.10 should also do it though):
https://packages.ubuntu.com/disco/libnm0
https://packages.ubuntu.com/disco/network-manager

Disclaimer: Doing that should be safe but nevertheless very much at your own risk. Also by installing that you won't be receiving updates for those packages anymore unless you also add the repositories for Ubuntu 19.04 as well. I can explain how if needed, but considering the original issue is just some log spam I'd say that's probably not worth it. You have been warned.

Re: [Pending] Tons of NetworkManager Warnings

Posted: Wed Jan 23, 2019 8:48 am
by Namf_Mint
Thanks emoxam

I would be interested in the repositories you mention, because the original problem is not just - given what I do on my system, anyway - log spam. Rather, I have had to modify some of my scripts, because the problem disallows their querying network status in a certain way. However, using a new repository (or two), for a version of Ubuntu that Mint is not based upon - that sounds like trouble.

Re: [Pending] Tons of NetworkManager Warnings

Posted: Wed Jan 23, 2019 9:48 am
by gm10
Namf_Mint wrote:
Wed Jan 23, 2019 8:48 am
Thanks emoxam

I would be interested in the repositories you mention, because the original problem is not just - given what I do on my system, anyway - log spam. Rather, I have had to modify some of my scripts, because the problem disallows their querying network status in a certain way. However, using a new repository (or two), for a version of Ubuntu that Mint is not based upon - that sounds like trouble.
You got the wrong guy there. ;)

This will add a subset of the Ubuntu 19.04 repos that contains network-manager and future updates to it:

Code: Select all

sudo apt-add-repository 'deb http://archive.ubuntu.com/ubuntu/ disco main'
sudo apt-add-repository 'deb http://archive.ubuntu.com/ubuntu/ disco-security main'
sudo apt-add-repository 'deb http://archive.ubuntu.com/ubuntu/ disco-updates main'
And then you'll want to pin all that at a lower priority than the regular repositories so you don't get your entire system upgraded to 19.04 (you can try but it has good chances of not ending well):

Code: Select all

printf "Package: *\nPin: release a=disco*\nPin-Priority: 400\n" | sudo tee /etc/apt/preferences.d/disco.pref
Last but not least update your cache and install network-manager from the new repo:

Code: Select all

apt update
apt install network-manager/disco
Disclaimer: At your own risk. Even if it works now, future updates may break things. So don't forget you did this.

Re: [Pending] Tons of NetworkManager Warnings

Posted: Wed Jan 23, 2019 10:16 am
by Namf_Mint
gm10 (for indeed it was you)

Thank you very much. I was ready to follow your admirable instructions until I got to the last part. :) Given that I'd need to remember I did this - along with all the other hacks I've done - and given that I have a workaround (a different way of my scripts doing what they did - a way that doesn't fall afoul of the bug), I think I'll leave things as they are. Yet, your instructions may help someone else.

Re: [Pending] Tons of NetworkManager Warnings

Posted: Mon Feb 04, 2019 3:47 am
by emoxam
You can upgrade to 1.12 yourself by downloading and installing these two packages from upcoming Ubuntu 19.04 (the ones from Ubuntu 18.10 should also do it though):
https://packages.ubuntu.com/disco/libnm0
https://packages.ubuntu.com/disco/network-manager
Thanks for the answer. But as long as the error is only spam at the log i don't want to ruin NM while trying to update it.
I've heard we can substitute NM for another packet (i forgot the name), but there can be troubles with l2tp (which i use).
And again - i'll leave it for Mint developers to fix it.
Thanks:)