[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to prevent /tmp files from being deleted at reboot



That was how it has "always" worked before. But now systemd ignores TMPTIME, and also seems to ignore it's own "age" option, unless I'm not using it right.


-------- Original Message --------
On a testing/sid system with sysvinit-core, the script
/etc/init.d/mountall-bootclean.sh (linked to /etc/rcS.d/) calls clean_tmp via
clean_all from /lib/init/bootclean.sh . In this function it says
   "Don't clean remaining files if TMPTIME is negative or 'infinite'"

Therefore, to never cleanup set

TMPTIME='infinite'

What is your exact setting in /etc/default/rcS ?

Regards,
jvp.





Reply to: