On Mon, May 23, 2011 at 10:55:07PM +0200, Tollef Fog Heen wrote:
> ]] Richard Hartmann 

> | > What makes /tmp unsuitable for this purpose?  It's already possible
> | > to securely create directories owned by the user there, and these
> | > runtime files are, by definition, temporary.

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

> No, it's not.  The earlier consensus was:

>   I think it makes sense to require applications to not assume that the
>   contents are persistent across reboots.  This does not tie the hands
>   of distributions, but require that using a tmpfs (or similar) will
>   work.

> This does not guarantee it being cleaned, just forces apps to cope with
> it being cleaned.

This means the requirements for /run are different than for /var/run, then. 
Is that intentional?  It's explicitly specified that files under /var/run
must be cleared at the beginning of the boot process, and I would have
expected the same for /run.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
[email protected]                                     [email protected]

Attachment: signature.asc
Description: Digital signature

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

Reply via email to