systemctl コマンドを実行すると "GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject" が表示される
Issue
-
サービスを管理するために
systemctlコマンドを実行すると、次のメッセージが表示されます。Error registering authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject (polkit-error-quark, 0) -
ただし
systemctlコマンドは正常に実行されます。
Environment
- Red Hat Enterprise Linux 7.8
- polkit-0.112-18.el7 以降
hidepid=2オプションを指定して/procをマウントしている
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.