[Bug 1429938] Re: systemd changes behavior of apt-get remove openssh-server

Martin Pitt martin.pitt at ubuntu.com
Wed Mar 11 10:48:01 UTC 2015


After both "systemctl stop ssh" or a complete "apt-get purge openssh-
server" existing ssh connections continue to work, and the various
"sshd: login [priv]" processes continue to run, just the "/usr/sbin/sshd
-D" master process goes away, as expected.

sshd.service has KillMode=process which does that (kills the master
process, but none of its children). So I cannot reproduce this.

Do you have some more information how to reproduce this behaviour? Can
you perhaps interrupt the image build process right before the purging,
check "ps aux|grep ssh", then purge, check ps again, see what happened?
Do you have steps or something that I can run which reproduces this?

** Changed in: openssh (Ubuntu)
       Status: Triaged => Incomplete

** Summary changed:

- systemd changes behavior of apt-get remove openssh-server
+ stopping ssh.service closes existing ssh connections

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1429938

Title:
  stopping ssh.service closes existing ssh connections

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1429938/+subscriptions



More information about the Ubuntu-server-bugs mailing list