in reply to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=877633#13

clean install with debian 9
apt update && apt upgrade && apt install monit && ln -s 
/etc/monit/conf-available/openssh-server 
/etc/monit/conf-enabled/openssh-server && systemctl reload monit && tail 
-f /var/log/monit.log

[PST Dec 12 02:52:23] info     : 'debian9.localdomain' Monit reloaded
[PST Dec 12 02:52:23] error    : 'sshd_dsa_key' file doesn't exist
[PST Dec 12 02:52:23] info     : 'sshd_dsa_key' trying to restart
[PST Dec 12 02:52:23] info     : 'sshd' stop: '/etc/init.d/ssh stop'
[PST Dec 12 02:52:23] error    : 'sshd_dsa_key' file doesn't exist
[PST Dec 12 02:52:23] error    : 'sshd' failed to start -- could not 
start required services: 'sshd_dsa_key'

so a working sshd is stopped if the template is used.
could the priority of the fix be increased accordingly ?

Regards,
Marc

Reply via email to