sshd(8) - alert user when fails to execute from rc.d

Glen Barber glen.j.barber at gmail.com
Tue May 19 03:16:50 UTC 2009


Good evening, hackers.

Earlier this evening, I submitted a PR about sshd(8) giving a
false-positive when starting on an already occupied socket[1].  I
would like to enable some form of console output when the rc.d script
is called if the service cannot properly bind to the socket, but I
want to make sure I do it "the right way."

I was digging through src/crypto/openssh/sshd.c hoping to submit a
patch to enable this, but I'm not certain that is the right place to
be looking.  After digging through erc/etc/rc.d/sshd, I am failing to
understand how the service would check the listening port, so now I
feel like I am hitting a wall.

Any suggestions on how best to enable this?

Thanks in advance.

[1] http://www.freebsd.org/cgi/query-pr.cgi?pr=134694

-- 
Glen Barber


More information about the freebsd-hackers mailing list