[Bug 687535] Re: upstart loses track of ssh daemon after reload ssh
Clint Byrum
clint at fewbar.com
Mon Dec 13 23:05:04 GMT 2010
The code looks something like this:
[ option parsing, config check, etc ]
sshd.c, line 1744: daemon()
[ reinit logs, start random number generator, chdir to /, ignore SIGPIPE ]
sshd.c, line 1774: server_listen() -- socket(), bind(), listen(), etc.
So, there's already a race between considering it started (at the fork
caused by daemon()), and sshd listening, right? Its just that now we're
considering it started before the config check and option parsing, so
that does give any dependent upstart jobs a bigger head start than they
already had.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in ubuntu.
https://bugs.launchpad.net/bugs/687535
Title:
upstart loses track of ssh daemon after reload ssh
More information about the Ubuntu-server-bugs
mailing list