Hi Roger,

Roger Leigh wrote on Tue, May 24, 2011 at 04:36:09PM +0100:
> On Mon, May 23, 2011 at 02:30:54PM +0200, Lennart Poettering wrote:
>> On Mon, 23.05.11 10:35, Roger Leigh ([email protected]) wrote:
>>> On Mon, May 23, 2011 at 01:10:32AM +0200, Richard Hartmann wrote:

>>>> /tmp will most likely be cleared out from time to time.
>>>> /run is guaranteed to.

>>> I don't agree with either of these assertions.
>>> - /tmp isn't cleaned by default.

>> It is on most distributions I think (maybe not Debian though,
>> but they should fix that.)

> Having some concrete information about what different distributions
> do would be useful here.

For what it's worth, just as another data point,
OpenBSD clears /tmp completely at boot time,
excepting lost+found, quota.user and quota.group.
In addition to that, each night, files that were not accessed
for three days are deleted, and empty directories that were
not accessed for one day are deleted as well, with a short list
of exceptions: ./ssh-*, .X11-unix, .ICE-unix, portslocks.

>  And I sincerely hope that Debian will not
> "fix" this, given the breakage that automated cleaning causes.

I do remember suffering from full /tmp, but i do not currently
remember problems related to the cleaning.  That said, i don't
think a hierarchy specification needs to specify the details
of /tmp cleaning; just saying that it is cleaned during boot
and that it may be cleaned periodically would seem fine to me.

Yours,
  Ingo

-- 
Ingo Schwarze <[email protected]>
_______________________________________________
fhs-discuss mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/fhs-discuss

Reply via email to