Warning message

This translation is outdated. For the most up-to-date information, please refer to the English version.

RHEL 7 でホスト名を設定したあと、システムに "Error calling StartServiceByName for org.freedesktop.PolicyKit1: Timeout was reached" メッセージが表示される

Solution Verified - Updated -

Issue

  • ホスト名を設定すると以下のメッセージが表示されます。
 # 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)
  • 他のコマンドも失敗します。
[root@rhel7u2a ~]# systemctl restart sshd
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)
[root@rhel7u2a ~] #

Environment

  • Red Hat Enterprise Linux (RHEL) 7
  • PolicyKit

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.