How to fix SELinux permission on /tmp directory if the directory is running on tmpfs
Issue
After every reboot of server /tmp directory gets SELinux permissions tmpfs_t and you need to run restorecon to restore the default context on /tmp directory.
/tmp directory is running on tmpfs
No entry in /etc/fstab for /tmp directory can be found.
Environment
Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.