[Users] [Bug 2828] Use MD5 digest for socket name

Rich Pieri richard.pieri at gmail.com
Sat Dec 1 14:38:48 CET 2012

On Sat, 1 Dec 2012 13:21:43 +0100
Colin Leroy <colin at colino.net> wrote:

> Having the unicity on config dirs only is actually better than on UID
> + config dir. Of course the hash has to be on the absolute path.
> Or am I missing something there?

We're in agreement over the shared configuration idea being a bad one.
We're also in agreement that the hash should be on the canonicalized
configuration directory path. I would much prefer one of the core
developers implement the realpath(3) function or whatever function you
prefer. I'm not comfortable inserting realpath(3) into your code when
the documentation for it describes it as "broken by design".

Rich P.

More information about the Users mailing list