[Bug 277839] akonadiserver.socket path to long

markus hetzenecker markus.hetzenecker at uibk.ac.at
Mon Jul 18 10:01:55 BST 2011


https://bugs.kde.org/show_bug.cgi?id=277839





--- Comment #4 from markus hetzenecker <markus hetzenecker uibk ac at>  2011-07-18 09:01:55 ---
(In reply to comment #1)
it is not related to afs (the afs issue has been fixed as you mentioned), it`s
a general issue.
My guess:
the path length to every socket ist limited to 108 characters. look at
/usr/include/sys/un.h
...
struct sockaddr_un
  {
    __SOCKADDR_COMMON (sun_);
    char sun_path[108];   /* Path name.  */
  };
...

and if the length of the HOME directory is rather long, you exceed the limit
(as we do).

I think the only possibility to workaround is to use the short real "/tmp/.../"
pathname. Would be nice to have a function to convert an arbitrary pathname to
the "real" (without symlinks, ...) pathname. it`s a general problem which can
happen also to other sockets (like mysql.socket).
Maybe there are plans to extend the sun_path field (108 char are really not a
lot) in the near future. (huhhhh)

Would be nice (and at our site necessary) to fix this issue.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list