On Sat, Mar 20, 2010 at 11:34:58AM +0100, Lennart Poettering wrote: > On Sat, 20.03.10 10:34, Till Maas ([email protected]) 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
pgpI0hBm6QZcP.pgp
Description: PGP signature
-- devel mailing list [email protected] https://admin.fedoraproject.org/mailman/listinfo/devel
