Quote Originally Posted by HBAkshay View Post
Thank you.

I couldn't find /etc/tmpfiles directory on my SLES 11.4 box.

Reason for asking the question is because lately we migrated our server from SUSE to RHEL. Post migration to RHEL, some of the application files stored under /tmp is getting deleted which was not the case on SUSE.

So, may I know what's the default behavior/configuration with regard to /tmp cleanup on SLES 11.4?

Thanks and Regards
Akshay
Hi
From memory in that version it was all listed in /etc/sysconfig/cron did this file migrate over?

Code:
## The Parameters MAX_DAYS_IN_TMP, MAX_DAYS_IN_LONG_TMP, TMP_DIRS_TO_CLEAR, 
## LONG_TMP_DIRS_TO_CLEAR, CLEAR_TMP_DIRS_AT_BOOTUP and OWNER_TO_KEEP_IN_TMP have 
## been converted to systemd-tmpfiles settings in /etc/tmpfiles.d/tmp.conf.
## Please check and modify to your needs.
## See 'man tmpfiles.d' for details.
So there should also be on the new system a /etc/tmpfiles.d/tmp.conf?