The name > org.freedesktop.PolicyKit1 was not provided by any .service files
When attempting to launch
system-config-usersfrom command line, I get the following warning, and the tool does not open. I'm using CentOS 7 with Mate 1.8.1.
WARNING **: Error enumerating actions: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PolicyKit1 was not provided by any .service files
Error checking for authorization org.freedesktop.policykit.exec: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PolicyKit1 was not provided by any .service files
yum list polkit*
Installed Packages polkit.x86_64 0.112-5.el7 @anaconda polkit-devel.x86_64 0.112-5.el7 @base polkit-docs.noarch 0.112-5.el7 @base polkit-gnome.x86_64 0.105-6.el7 @epel polkit-pkla-compat.x86_64 0.1-4.el7 @anaconda
What is missing from my system to cause this error?
Since I can't tell what services are being enumerated, I can't tell you which package to install. The error is not caused by policykit, but by one of the services policykit is attempting to load. XFCE has this issue with `udisks`
Not that I know of. Pre-systemd systems use policykit/consolekit in conjuction with Dbus to enforce login permissions. This leads to two possibilities. 1. The user you're logged in as is not a member of `some group`, and `some group` has permission to access the missing service. 2. One of the services monitored by `system-config-users` is not installed. As a hunch, search your package repo for `mate-polkit`
`Package mate-polkit-1.8.0-1.el7.x86_64 already installed and latest version`. My user account is also missing the shutdown option in the System menu. To turn the system off, I have to go to command and issue `sudo yum shutdown -h now`.
That maybe part of the issue. Search for the package upower or pm-utils and post the results.
You might want to watch your exact question, by someone else with a bounty as the policykit error is the same, just the input is different. In the meantime, I've got to munch on this awhile.
I just had the same return when installing deluged on arch, I typed:
systemctl start deluged
I tried with sudo and it worked fine. Seems to be a group permissions issue.
All I did was enable permissions for my user account and then typed:
sudo systemctl start deluged
worked like a charm.
Really weird message, unlike *nix. Would never have thought this would be the solution! Thanks!
Ah right, of course sudo. It would be really helpful if they had a system in place which would return an error like "root privileges required" or something a little more obvious.
It's probably complaining that you don't have Polkit set up which you would need to allow non-user systemctl without root privileges. Just a guess though