Hi Simon, thanks very much for filing this bug report and working with
us to make Ubuntu better.

Because of the way upstart and sshd work together, its hard to detect
failures. The reason try-restart worked was that it falls through in
/usr/sbin/service, as its not one of the regular actions that upstart
supports.

In looking at this, I think the appropriate fix is to add a pre-stop
that runs

/usr/sbin/sshd -t

And will warn the user that the config file is broken, and possibly even
abort the stop.

Setting status to Triaged as I think this fix can be worked on now.

Setting status to High, as it is a serious problem for server users if
sshd is silently broken on a remote machine.

** Changed in: openssh (Ubuntu)
       Status: New => Triaged

** Changed in: openssh (Ubuntu)
   Importance: Undecided => High

-- 
service ssh restart does not test the configuration file
https://bugs.launchpad.net/bugs/624361
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to