I was considering making /var/tmp a tmpfs mount, similar to systemctl enable tmp.mount in order to meet a security rule requesting /var/tmp be on a separate partition. I did not make that physical partition at linux install time.
The FHS (File hierarchy standard) states The /var/tmp directory is made available for programs that require temporary files or directories that are preserved between system reboots. Therefore, data stored in /var/tmp is more persistent than data in /tmp.
Specifically, for RHEL 8.8 or later, can having /var/tmp as a tmpfs (where it will be cleared after every reboot), cause a yum update to fail? Is YUM [DNF] in RHEL 8 once of those programs? If so, under what conditions would some sort of failure occur with /var/tmp as tmpfs? And if so, is there a manner in which to run yum/dnf that can allow it to work with a tmpfs /var/tmp? I ask because I see various /var/tmp/yum-xxxx folders from time to time.
reference posts: