Activation of org.freedesktop.PolicyKit1 timed out
Rémi Bruggeman
remi at remisan.be
Sun Jan 10 00:29:00 PST 2016
Hello,
I noticed the policykit breaks the systemctl command on a linux container (LXC with Centos7).
It works fine on a virtual machine.
Is there any way to solve this? I’d like to use containers instead of virtual machines since they use a lot less resources.
Example of the error messages:
Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.DBus.Error.TimedOut: Activation of org.freedesktop.PolicyKit1 timed out (g-dbus-error-quark, 20)
[error] CalledProcessError: Command ''/bin/systemctl' 'stop' 'ntpd.service'' returned non-zero exit status 1
ipa.ipapython.install.cli.install_tool(Server): ERROR Command ''/bin/systemctl' 'stop' 'ntpd.service'' returned non-zero exit status 1
[root at ipa ~]# systemctl stop ntpd
Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.DBus.Error.TimedOut: Activation of org.freedesktop.PolicyKit1 timed out (g-dbus-error-quark, 20)
Failed to stop ntpd.service: Connection timed out
Failed to get load state of ntpd.service: Connection timed out
Thanks a lot for any reply :)
Remi
More information about the polkit-devel
mailing list