Translated message

A translation of this page exists in English.

RHEL7: dbus を dbus-1.6.12 から dbus-1.10.24 に更新した後にシステムが破損し、「Lost the name org.freedesktop.PolicyKit1 - exiting」などのメッセージがジャーナルに表示される

Solution Verified - Updated -

Issue

  • busctl コマンドが以下のエラーメッセージをスローします。

    # busctl
    Failed to connect to bus: Connection refused
    

    注記: 場合によっては、Connection refused ではなく、No such file or directory というエラーメッセージが表示されることがあります。

  • polkit.service ユニットは実行されておらず、ステータスに以下のメッセージが表示されます。

    # systemctl status polkit.service
    ● polkit.service - Authorization Manager
       Loaded: loaded (/usr/lib/systemd/system/polkit.service; static; vendor preset: enabled)
       Active: inactive (dead) since Mon 2019-06-03 11:35:21 CEST; 21min ago
    [...]
    [...] polkitd[638]: Loading rules from directory /etc/polkit-1/rules.d
    [...] polkitd[638]: Loading rules from directory /usr/share/polkit-1/rules.d
    [...] polkitd[638]: Finished loading, compiling and executing 2 rules
    [...] polkitd[638]: Lost the name org.freedesktop.PolicyKit1 - exiting
    
  • NetworkManager.service ユニットは、active 状態ではなく、activating 状態です。

    # systemctl status NetworkManager
    ● NetworkManager.service - Network Manager
       Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; enabled; vendor preset: enabled)
       Active: activating (start) since Mon 2019-06-03 11:53:26 CEST; 1min 3s ago
    [...]
    
    # systemctl list-jobs
     JOB UNIT                   TYPE  STATE  
    1791 NetworkManager.service start running
    
  • systemd-login.service ユニットは継続的に失敗しています。

    # systemctl status systemd-logind
    ● systemd-logind.service - Login Service
       Loaded: loaded (/usr/lib/systemd/system/systemd-logind.service; static; vendor preset: disabled)
       Active: failed (Result: start-limit) since Mon 2019-06-03 11:35:21 CEST; 21min ago
    [...]
    [...] systemd[1]: start request repeated too quickly for systemd-logind.service
    [...] systemd[1]: Failed to start Login Service.
    [...] systemd[1]: Unit systemd-logind.service entered failed state.
    [...] systemd[1]: systemd-logind.service failed.
    
  • ジャーナルは起動以降、dbus に関連するさまざまなエラーメッセージを表示しています (抜粋、複数回繰り返されるメッセージ)。

    # journalctl -b -p err
    systemd-logind[640]: Failed to connect to system bus: Connection refused
    systemd-logind[640]: Failed to fully start up daemon: Connection refused
    login[671]: pam_systemd(login:session): Failed to connect to system bus: Connection refused
    NetworkManager[835]: <error> [1559554611.6628] dispatcher: could not get dispatcher proxy! Could not connect: Connection refused
    NetworkManager[835]: <error> [1559554611.6856] auth: could not get polkit proxy: Could not connect: Connection refused
    

    注記: 場合によっては、Connection refused ではなく、No such file or directory というエラーメッセージが表示されることがあります。

Environment

  • Red Hat Enterprise Linux 7
    • dbus-1.10.24

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content