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

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Sat Dec 1 22:31:00 CET 2012


http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=2828





--- Comment #3 from Colin Leroy  2012-12-01 22:30:59 ---
Hi,

So, CVS now has rc_dir canonicalized. Two issues with that patch though:
1) unified diff please
2) the "normal", no alternate-config-dir-case socket is going to change name
with that patch (from, for my example, /tmp/claws-mail-1000 to
/tmp/claws-mail-SOMEHASH. That's a big problem for everyone who's going to
upgrade his distro some day while Claws is running with a /tmp/claws-mail-1000
socket. After the upgrade, he'll click a mailto link in his browser, the new
binary will see no /tmp/claws-mail-SOMEHASH socket, so will create it and
start, and the poor user will have two claws-mail instances battling for his
~/.claws-mail.
There is no doubt that data loss would occur.

So, TL;DR for 2) is that the normal socket for normal RC dir must not change
name until the sun goes red giant on us :)

-- 
Configure bugmail: http://www.thewildbeast.co.uk/claws-mail/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Users mailing list