Why did systemd-tmpfiles-setup.service enter a failed state?

Solution Verified - Updated -

Issue

  • systemd-tmpfiles-setup.service failed to start.
    A sample log is

    systemd[1]: Started Import network configuration from initramfs.
    systemd[1]: Starting Create Volatile Files and Directories...
    systemd-tmpfiles[982]: [/usr/lib/tmpfiles.d/mariadb-galera.conf:1] Unknown user 'mysql'.
    systemd-tmpfiles[982]: [/usr/lib/tmpfiles.d/mariadb-galera.conf:2] Unknown user 'mysql'.
    systemd-tmpfiles[982]: [/usr/lib/tmpfiles.d/mongodb.conf:3] Unknown user 'mongodb'.
    systemd[1]: systemd-tmpfiles-setup.service: main process exited, code=exited, status=1/FAILURE
    systemd[1]: Failed to start Create Volatile Files and Directories.
    systemd[1]: Unit systemd-tmpfiles-setup.service entered failed state.
    systemd[1]: Starting Security Auditing Service...
    

Environment

  • Red Hat Enterprise Linux 7

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