|
|
|
|
|
by ciupicri
761 days ago
|
|
Out of curiosity, what are those things that might crash the system while leaving evidence in /tmp, but not logging something useful? For what it's worth, OpenBSD which could be considered conservative says this about /tmp [1]: > Temporary files that are not preserved between system reboots. Periodically cleaned by daily(8). So no one should expect those files to be stored permanently. [1]: http://man.openbsd.org/hier |
|
Yes, absolutely, "bad software, no cookie," but the usual culprit is some sort of vendor binary where the poor sod running the system has no control over that.
BSD systems generally clean out an on-disk /tmp during the normal boot process, yes. There are ways around this, but when I've been responsible for babysitting craptastic vendorware it's always been on Linux or Solaris.
Personally I've (after quite some grumbling about it) accepted /tmp being on tmpfs and just live with it; my current source of crankiness is "people who don't configure their systems to write to syslog" since if the box gets wedged by an I/O storm systemd will shoot systemd-journald in the head and then journald sometimes deletes all of your previous logs as it starts up.