On Sat, Mar 20, 2010 at 11:34:58AM +0100, Lennart Poettering wrote:
> On Sat, 20.03.10 10:34, Till Maas (opensou...@till.name) wrote:
> 
> > On Tue, Mar 16, 2010 at 12:43:16PM -0400, Daniel J Walsh wrote:
> > 
> > > Ok if they are from the same login session and same UID it is reasonable 
> > > to expect them to share /tmp.
> > 
> > Iirc, it would be more FHS compliant to use /var/tmp instead.
> 
> No.
> 
> Unix sockets should definitely be cleaned up on reboot. Hence they
> belong in /tmp better than in /var/tmp.

Why do they need to be cleaned up on reboot?

The problem with sharing files between applications using /tmp is this
specification:

http://www.pathname.com/fhs/pub/fhs-2.3.html#TMPTEMPORARYFILES
| Programs must not assume that any files or directories in /tmp are
| preserved between invocations of the program.

So in case there will be a file system for /tmp that automatically
removes files once they are not open anymore, abusing /tmp for this
will fail.

Regards
Till

Attachment: pgpI0hBm6QZcP.pgp
Description: PGP signature

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to