bugzilla-daemon at mindrot.org
2015-Feb-18 13:19 UTC
[Bug 1902] persistent mux master should chdir away from the current directory
https://bugzilla.mindrot.org/show_bug.cgi?id=1902 chrysn at fsfe.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |chrysn at fsfe.org --- Comment #3 from chrysn at fsfe.org --- looking to report this myself, i first found bug #1988; the change that fixed that back then ("djm at cvs.openbsd.org 2013/07/25 00:29:10") introduced a daemon(nochdir=1) call. using daemon(0, 1) instead of daemon(1, 1) at the end of control_persist_detach solves this bug for me. it is a little hard for me to test continuously, though -- the change works when i building from source, not when building the debian package, but those issues don't belong here. for reference, my test setup is $ killall ssh $ mkdir a # mount -ttmpfs tmp a $ cd a $ ssh -F /dev/null -oControlPersist=yes -oControlMaster=auto -oControlPath=/tmp/x.sock somehost somehost$ exit $ cd .. # umount a which works (ie. umount returns 0) iff i run the using_daemon(0,1) version. i did no tests with respect to relative paths -- what would a setup look like where relative paths could fail? -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
Possibly Parallel Threads
- [Bug 1937] Make it possible to give a give an ssh session only access to a limit subset of ssh-agent keys
- [Bug 1997] Add QoS to ControlPath escapes
- ControlPersist.
- [Bug 2216] New: allow forwarding a different socket than SSH_AUTH_SOCK
- [Bug 9377] New: acls ignored when using neither --perms nor --chmod