Re: Akonadi's unix sockets location

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Mar 20, 2010 at 11:34:58AM +0100, Lennart Poettering wrote:
> On Sat, 20.03.10 10:34, Till Maas (opensource@xxxxxxxxx) 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: pgp8rnAH5OTfs.pgp
Description: PGP signature

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux