rtkit-daemon prints warning messages related to PolicyKit or dbus_message_get_unix_user() failing

Solution Verified - Updated -

Issue

  • The rtkit-daemon process regularly prints warning in the journal

    [...] rtkit-daemon[XXXX]: Warning: PolicyKit call failed: Unix process subject does not have uid set
    [...] rtkit-daemon[XXXX]: Warning: PolicyKit call failed: Failed to open file “/proc/XXXX/status”: No such file or directory
    

    or

    [...] rtkit-daemon[XXXX]: dbus_message_get_unix_user() failed: Could not get UID of name ':1.XXX': no such name
    

Environment

  • Red Hat Enterprise Linux 8 and later
    • rtkit

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