https://bugzilla.mindrot.org/show_bug.cgi?id=1883

Damien Miller <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #5 from Damien Miller <[email protected]> 2011-05-06 16:10:25 EST ---
chdir("/") is required for system daemons so they don't block the
unmounting of filesystems by holding directory fds open. This seems to
be less important for user background processes, where the user would
probably remain logged in anyway. Furthermore, in ssh's case it will
require ongoing access to known_hosts over the life of the connection
(as the hostkey can legally change during key re-exchange) and to the
mux socket itself.

I guess you could make a case for doing
chdir(dirname(UserKnownHostsFile)) or chdir to the directory of the mux
socket, but that is really a separate issue.

as for doing setproctitle for gracefully-closed mux masters: good idea.
I'll add it to the patch.

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- 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.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to