tmpfs is unexpectedly mounted on /tmp directory in Red Hat Enterprise Linux 7 with the journald message: "tmp.mount: Directory /tmp to mount over is not empty, mounting anyway"

Solution Verified - Updated -

Issue

  • tmpfs is unexpectedly mounted on /tmp directory.

  • We could see the following journald message:

tmp.mount: Directory /tmp to mount over is not empty, mounting anyway

Environment

  • Red Hat Enterprise Linux 7.2
  • systemd
  • /tmp is part of root filesystem and is not a separate mount point

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