#782191 error message "Unable to connect to Upstart" on installation

Package:
openssh-server
Source:
openssh
Description:
secure shell (SSH) server, for secure access from remote machines
Submitter:
Martin Pitt
Date:
2015-04-19 13:12:15 UTC
Severity:
minor
#782191#5
Date:
2015-04-09 09:06:15 UTC
From:
To:
Hello,

In https://launchpad.net/bugs/1440070 it was reported that
openssh-server prints a confusing error message on installation if
upstart is installed, but not the active init system:

  initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused

The attached patch fixes that, and also fixes the version comparisons
for the other upgrade adjustments.

Thanks for considering,

Martin