Estoy ejecutando CentOS 7.2; vea abajo:
# systemctl stop firewalld
Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: Timeout was reached (g-io-error-quark, 24)
Failed to stop firewalld.service: Connection timed out
Failed to get load state of firewalld.service: Connection timed out
journalctl
solo informa el siguiente error: [system] Failed to activate service 'org.freedesktop.PolicyKit1': timed out
Encontré este error para Ubuntu y uno posible relacionado para un error RHEL 7 .
Respuestas:
Este es un problema con
polkit.service
; No estaba empezando para mí.Después de una investigación más profunda, descubrí que el
polkitd
usuario no existía. Luegoyum reinstall polkit
ysystemctl start polkit
solucionó el problema.Lo depuré ejecutando
polkitd
directamente:/usr/lib/polkit-1/polkitd
fuente
systemctl start polkit
me sale el mismo error:Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: Timeout was reached (g-io-error-quark, 24) Failed to start polkit.service: Connection timed out See system logs and 'systemctl status polkit.service' for details.
Successfully changed to user polkitd --- Loading rules from directory /etc/polkit-1/rules.d --- Loading rules from directory /usr/share/polkit-1/rules.d --- Finished loading, compiling and executing 2 rules --- Entering main event loop --- Connected to the system bus --- Lost the name org.freedesktop.PolicyKit1 - exiting --- Shutting down --- Exiting with code 0