Akonadi's unix sockets location

Matthias Clasen mclasen at redhat.com
Tue Mar 16 14:54:12 UTC 2010


On Tue, 2010-03-16 at 08:56 -0500, Rex Dieter wrote:
> Juha Tuomala wrote:
> 
> > On Tue, 16 Mar 2010, Rex Dieter wrote:
> >>> How about setting that as default, away from $HOME that can be a NFS
> >>> filesystem?
> >>
> >> Indeed, a solution similar to kde's
> >> ~/.kde/socket-<hostname> => /tmp/ksocket-<username>
> >> symlink is likely needed here too.
> > 
> > Symlinks are duct-tape, why not just set it to /tmp with
> > global rc file?
> 
> Sure, but still need to encode username into the filename (or randomize/uniq 
> it) somehow.
> 

Any reason this cannot be an abstract socket ? Of course, then you have
to check peer creds and figure out a way to communicate the socket name,
but at least you don't have to worry about the usual races and
permission problem you have with unix sockets.



More information about the devel mailing list