サービスを停止/開始すると "Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: Timeout was reached (g-io-error-quark, 24)" などのエラーが表示される
Issue
-
サービスを停止/開始しようとすると、次の出力が表示されます。
# 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 See system logs and 'systemctl status firewalld.service' for details. Failed to get load state of firewalld.service: Connection timed out
-
複数のサービスを開始できません。
-
ホスト名の設定も失敗します。
# hostnamectl set-hostname hostname
Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: Timeout was reached (g-io-error-quark, 24)
Could not set property: Connection timed out
Environment
- Red Hat Enterprise Linux 7
- SELinux を enforcing に設定する
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.