work around ssh brain-damange
The control socket path passed to ssh needs to be 17 characters shorter than the maximum unix domain socket length, because ssh appends stuff to it to make a temporary filename. Closes: #725512 Also, take the shorter of the relative and the absolute paths to the socket. Typically the relative path will be a lot shorter (unless deep inside a subdirectory of the repository), and so using it will avoid flirting with the maximum safe socket lenghts in more situations, and so lead to less breakage if all my attempts at fixing this are still buggy.
This commit is contained in:
parent
990924703f
commit
6f38426cb8
2 changed files with 33 additions and 11 deletions
3
debian/changelog
vendored
3
debian/changelog
vendored
|
@ -7,6 +7,9 @@ git-annex (4.20131003) UNRELEASED; urgency=low
|
|||
* addurl: Better sanitization of generated filenames.
|
||||
* Better sanitization of problem characters when generating URL and WORM
|
||||
keys.
|
||||
* The control socket path passed to ssh needs to be 17 characters
|
||||
shorter than the maximum unix domain socket length, because ssh
|
||||
appends stuff to it to make a temporary filename. Closes: #725512
|
||||
|
||||
-- Joey Hess <joeyh@debian.org> Thu, 03 Oct 2013 15:41:24 -0400
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue