13.08.2018 19:40, Michal Suchanek пишет:
On Sat, 11 Aug 2018 10:03:04 +0300 Andrei Borzenkov
wrote: 10.08.2018 18:34, Michal Suchánek пишет:
Hello,
I updated my system and now NM applet tells me "not authorized" on pretty much any operation.
Not sure what "NM applet" is, but works for me in GNOME - I can disconnect and connect with default wired profile as normal user.
It works for me as well on another machine and used to work on this one before the update.
It automatically connects to pre-configured WiFi but disconnecting, reconnecting, configuring, etc. is forbidden.
It does not even ask for password?
Why would it?
Because it is normally controlled by PolicyKit and I'd expect it to request authorization.
I looked at the policy file shipped with NM and it is quite permissive.
Is there something to be done?
Start with checking nmcli, nmtui and nm-connection-editor - do they behave identically?
Of course, it's the policy. At least root is allowed to change the connections:
hramrach@neko:~> nmcli c down MicroFocus Connection 'MicroFocus' deactivation failed: Not authorized to deactivate connections
This message comes from NM which means nmcli could at least connect to it, so connection was not blocked by D-Bus policy. Looks like something with polkit. Not sure how to debug it further at the moment though.
hramrach@neko:~> su Password: neko:/home/hramrach # nmcli c down MicroFocus Connection 'MicroFocus' successfully deactivated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/2) neko:/home/hramrach #
Thanks
Michal
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org