On August 14, 2024 8:02:59 p.m. EDT, Kevin McGregor kevin.a.mcgregor@gmail.com wrote:
Back in the day(?) I thought that the entire contents of /tmp would be wiped on every reboot. It sorta seems like it for Ubuntu 18.04, but with 22.04 that doesn't seem to be the case at all, with conf files in /etc/tmpfiles.d and elsewhere which describe what gets deleted.
Can anyone shed any light on this, at least for Debian/Ubuntu? When did this change?
I think this article on LWN may be relevant:
https://lwn.net/Articles/975565/
I doubt it's intended behaviour for /tmp to be persistent, but maybe Canonical screwed something up and upgrades get the worst of both worlds (no tmpfs, but also no scheduled purging)?