systemctl は、サービスの再起動時にタイムアウトを維持します。

systemctl は、サービスの再起動時にタイムアウトを維持します。

私は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

次のエラーが見つかりました。UbuntuそしてRHEL 7に関連するものかもしれません。抜け穴

ベストアンサー1

これは問題ですpolkit.service。私にとっては始まったものではありません。

polkitdさらなる調査は、そのユーザーが存在しないことを確認しました。その後、問題が解決しyum reinstall polkitました。systemctl start polkit

直接実行してデバッグしますpolkitd/usr/lib/polkit-1/polkitd

おすすめ記事