openssh-server attempts to connect to upstart and the connection is refused
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | openssh (Debian) |
Fix Committed
|
Unknown
|
||
| | openssh (Ubuntu) |
Low
|
Martin Pitt | ||
Bug Description
lsb_release -rd:
Description: Ubuntu Vivid Vervet (development branch)
Release: 15.04
pkg-name:
christian@
openssh-server:
Installed: 1:6.7p1-5
Candidate: 1:6.7p1-5
Version table:
*** 1:6.7p1-5 0
500 http://
100 /var/lib/
On Ubuntu 15.04 (Vivid Ververt) the installation of the package openssh-server displays the following error message:
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/
Running 'systemctl status ssh' shows that systemd knows about the service:
christian@
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
(process:12244): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
christian@
● ssh.service - OpenBSD Secure Shell server
Loaded: loaded (/lib/systemd/
Active: active (running) since Fri 2015-04-03 07:43:01 MDT; 4min 41s ago
Main PID: 11689 (sshd)
CGroup: /system.
└─11689 /usr/sbin/sshd -D
Apr 03 07:43:01 Moustachio systemd[1]: Started OpenBSD Secure Shell server.
Apr 03 07:43:01 Moustachio systemd[1]: Starting OpenBSD Secure Shell server...
Apr 03 07:43:01 Moustachio sshd[11689]: Server listening on 0.0.0.0 port 22.
Apr 03 07:43:01 Moustachio sshd[11689]: Server listening on :: port 22.
It appears that sshd is attempting to register with upstart and with systemd. SInce Ubuntu 15.04 upstart has been replaced with systemd. I expected openssh-server on Ubuntu 15.04 to not want to use upstart. It does properly use systemd, it just prints an error about trying to tallk to upstart.
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: openssh-server 1:6.7p1-5
ProcVersionSign
Uname: Linux 3.19.0-10-generic x86_64
ApportVersion: 2.17-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Apr 3 07:45:13 2015
InstallationDate: Installed on 2015-03-23 (11 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20150322)
SourcePackage: openssh
UpgradeStatus: No upgrade log present (probably fresh install)
| Christian (cmbernard333) wrote : | #1 |
| tags: | added: systemd-boot |
| Martin Pitt (pitti) wrote : | #2 |
| Changed in openssh (Ubuntu): | |
| importance: | Undecided → Low |
| status: | New → Triaged |
| Changed in openssh (Ubuntu): | |
| status: | Triaged → Fix Committed |
| assignee: | nobody → Martin Pitt (pitti) |
| Launchpad Janitor (janitor) wrote : | #3 |
This bug was fixed in the package openssh - 1:6.7p1-5ubuntu1
---------------
openssh (1:6.7p1-5ubuntu1) vivid; urgency=medium
* openssh-
message from initctl if upstart is installed, but not the current init
system. (LP: #1440070)
* openssh-
not apply to fresh installs.
-- Martin Pitt <email address hidden> Thu, 09 Apr 2015 09:20:36 +0200
| Changed in openssh (Ubuntu): | |
| status: | Fix Committed → Fix Released |
| Changed in openssh (Debian): | |
| status: | Unknown → New |
| Changed in openssh (Debian): | |
| status: | New → Fix Committed |


This is just cosmetical. We actually do want to continue upstart support at least until the next LTS (and also for Ubuntu touch), so we can't just rip that out wholesale yet. But it shouldn't produce that confusing error for sure.