CentOS 7.2를 실행하고 있습니다. 아래를보십시오 :
# 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
다음과 같은 오류를보고합니다. [system] Failed to activate service 'org.freedesktop.PolicyKit1': timed out
답변
이 문제는 polkit.service
; 그것은 나를 위해 시작되지 않았습니다.
추가 조사 후 polkitd
사용자가 존재하지 않는 것으로 나타났습니다 . 다음 yum reinstall polkit
과 systemctl start polkit
문제를 해결했습니다.
polkitd
직접 실행 하여 이것을 디버깅했습니다 ./usr/lib/polkit-1/polkitd