Am 17.10.19 um 13:33 schrieb Michael Biebl:
> Maybe this is a misunderstanding how x/X is supposed to work.
> "D /tmp 1777 root root -" is supposed to clean up /tmp during boot
> unconditionally. It is *not* using age based cleaning.
> 
> This Debian specific change was made as this has always been the
> behaviour in Debian.
> 
> The documentation for the x/X parameter says:
>>        x
>>            Ignore a path during cleaning. Use this type to exclude paths 
>> from clean-up as controlled with the Age
>>            parameter
> 
> 
> So x/X having no effect on "D /tmp 1777 root root -" is expected, I'd
> say and they work as documented.
> 
> Please elaborate.

As a side note: I recommend to use tmpfs for /tmp nowadays.
A side-effect of this is, that /tmp is not persistent and automatically
cleaned up on (re)boot.

If you need files to survive a reboot, you should not place them in
/tmp; /var/tmp seems more appropriate in that case.

Regards,
Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to