[Bug 1645002] [NEW] ssh sessions are not cleanly terminated on shutdown/restart with systemd

Zsolt Ero 1645002 at bugs.launchpad.net
Sat Nov 26 14:20:23 UTC 2016


Public bug reported:

In Ubuntu 16.04, a "reboot" command does not terminate the ssh session.
This results in clients hanging, until timing out (sometimes as much as
120 seconds).

This also introduces bugs to all  orchestration / automation tools which work over SSH, since they cannot issue their reboot equivalent for Ubuntu 16.04 hosts. For example, have a look at this issue for Fabric:
https://github.com/fabric/fabric/issues/1488

The exact same bug has been fixed in Debian in version openssh/1:7.2p2-6. 
There is a very detailed discussion in their bug tracker:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=751636

** Affects: openssh (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  ssh sessions are not cleanly terminated on shutdown/restart with
  systemd

Status in openssh package in Ubuntu:
  New

Bug description:
  In Ubuntu 16.04, a "reboot" command does not terminate the ssh
  session. This results in clients hanging, until timing out (sometimes
  as much as 120 seconds).

  This also introduces bugs to all  orchestration / automation tools which work over SSH, since they cannot issue their reboot equivalent for Ubuntu 16.04 hosts. For example, have a look at this issue for Fabric:
  https://github.com/fabric/fabric/issues/1488

  The exact same bug has been fixed in Debian in version openssh/1:7.2p2-6. 
  There is a very detailed discussion in their bug tracker:
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=751636

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



More information about the foundations-bugs mailing list