All was well until a recent updating session for 20.04.3 demanded a reboot. Wow - it seemed to be sitting idle, but pressing esc to get details revealed: "A start job is running for Create Volatile Files and Directories."
Searching using variations of those terms brought references to /TMP as well as SWAP. Further refinements of my searching all seemed to point to clearing /TMP with no apps opened BEFORE rebooting as well as this appearing to be some sort of new systemd bug.
I can manually clear /TMP of course, but I also assist several totally non-techie friends and so I wondered if there may be any simple, automated method to have that cleaning done daily at maybe 3AM when it is assured that most PCs are not being actively used at all.
This brought me to tmpreaper - which is mentioned here: https://manpages.ubuntu.com/manpages/focal/en/man8/tmpreaper.8.html
But my searching also brought warnings about using that - so I have not tried it at all.
I also went through this thread: Ubuntu 18.04 Can't boot: Create Volatile files and Directories hangs
Hence my EXACT query: Is there a very dependable, safe method for true end users' PCs to quietly clean /TMP perhaps once per day - as in=> BEFORE any possible boot process might make any repeat of a ridiculously absurd 37+ minute delay whilst waiting for 'systemd-tmpfiles-setup.service' to complete ??
Thanks for any helpful replies & education.
0 Answers