I have tested the patch 
https://salsa.debian.org/sk-guest/monit/commit/ac71b49a08b7f6aa23c185183ab87a64cae4e913
error    : Depend service 'sshd_dsa_key' is not defined in the control file

for the stable version, no template is indeed enable by default
but If you install a monitoring with a template that kill a working 
service, imho the bug can hardly be more important for a system such as 
monit.
at least in stable, a small fix like this is needed :
12c12,13
<    depend on sshd_dsa_key
 >    # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=877633
 >    #depend on sshd_dsa_key
that enought to avoid killing a working sshd.
of course dropping the whole section related to sshd_dsa_key
is also a solution :)

Reply via email to