[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#751636: openssh-server: ssh sessions are not cleanly termined on shutdown/restart with systemd



Package: openssh-server
Version: 1:6.6p1-5
Severity: normal


Hi.

Since openssh-server comes with systemd support, whenever a host
is shut down or restarted, ssh connections to that host just hang
and are no longer cleanly terminated (one also doesn't see the
shutdown message anymore).

I'd suspect that systemd might shut down the network before it kills
the ssh session (or perhaps never kills them at all?)

Cheers,
Chris.


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.14-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_DE.utf8, LC_CTYPE=en_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages openssh-server depends on:
ii  adduser                3.113+nmu3
ii  debconf [debconf-2.0]  1.5.53
ii  dpkg                   1.17.10
ii  init-system-helpers    1.19
ii  libc6                  2.19-1
ii  libcomerr2             1.42.10-1
ii  libgssapi-krb5-2       1.12.1+dfsg-2
ii  libkrb5-3              1.12.1+dfsg-2
ii  libpam-modules         1.1.8-3
ii  libpam-runtime         1.1.8-3
ii  libpam0g               1.1.8-3
ii  libselinux1            2.3-1
ii  libssl1.0.0            1.0.1h-2
ii  libwrap0               7.6.q-25
ii  lsb-base               4.1+Debian13
ii  openssh-client         1:6.6p1-5
ii  openssh-sftp-server    1:6.6p1-5
ii  procps                 1:3.3.9-5
ii  zlib1g                 1:1.2.8.dfsg-1

Versions of packages openssh-server recommends:
ii  ncurses-term  5.9+20140118-1
ii  xauth         1:1.0.7-1

Versions of packages openssh-server suggests:
pn  molly-guard   <none>
pn  monkeysphere  <none>
ii  rssh          2.3.4-4
pn  ssh-askpass   <none>
pn  ufw           <none>

-- debconf information:
  ssh/disable_cr_auth: false
  ssh/encrypted_host_key_but_no_keygen:
  openssh-server/permit-root-login: false
* ssh/use_old_init_script: true
  ssh/vulnerable_host_keys:
  ssh/new_config: true


Reply to: