Bug#778913: openssh-server: init (at least systemd) doesn't notice when sshd fails to start and reports success

Christoph Anton Mitterer calestyo at scientia.net
Sun Feb 22 18:01:01 GMT 2015


On Sun, 2015-02-22 at 17:53 +0000, Colin Watson wrote: 
> Well, um, in either case, isn't it pretty weird that "systemctl status"
> shows the unit as failed while the boot progress system shows it as OK?
> Feels like a systemd bug to me.
Arguably, I'mm CCing the systemd guys, perhaps they can help out!

The exit status returned by sshd is 255 (anyhow special to systemd?): 
# /usr/sbin/sshd -D -p 50000
/etc/ssh/sshd_config line 151: AuthorizedKeysCommand must be an absolute path
# echo $?
255



Cheers,
Chris.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5313 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20150222/aba33508/attachment.bin>


More information about the Pkg-systemd-maintainers mailing list