The default value of TMPTIME in /etc/default/rcS should be non-zero
Bug #58502 reported by
Andrew McCarthy
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sysvinit (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: initscripts
The default value of TMPTIME is 0, which means /tmp is cleaned during every boot. Although files in /tmp are supposed to be temporary, that doesn't mean they're worthless. In the case of a crash or power failure, useful data which could have been recovered is lost.
To cover extended outages, I suggest that the default for TMPTIME should be increased to several days. Thanks!
To post a comment you must log in.
A fair request, however I think that the default behaviour should be that /tmp does not survive a reboot.