Still an issue with a fresh install of Ubuntu 14.04:
$ su
# apt-get install openssh-server
....
initctl: Unknown job: ssh
....
# initctl status ssh
initctl: Unknown job: ssh
# initctl --system status ssh
ssh stop/waiting
But run the su as a login shell:
$ su -
# apt-get install openssh-server
.... (No "Unknown job: ssh) ...
# initctl status ssh
ssh start/running, process 18012
Still an issue with a fresh install of Ubuntu 14.04:
$ su
# apt-get install openssh-server
....
initctl: Unknown job: ssh
....
# initctl status ssh
initctl: Unknown job: ssh
# initctl --system status ssh
ssh stop/waiting
But run the su as a login shell:
$ su -
# apt-get install openssh-server
.... (No "Unknown job: ssh) ...
# initctl status ssh
ssh start/running, process 18012