Bug#1025533: New systemd socket activation breaks existing setups

martin f krafft <[email protected]>
Newsgroups gmane.linux.debian.devel.ssh
Message-ID <Y48enK16qR6aNmnS__49460.5202156649$1670325141$gmane$org@lotus.rw.madduck.net>
Package: openssh-server
Version: 1:9.1p1-1
Severity: important

Compared to Debian's 1:9.0p1-1, this version provides a `ssh.socket` 
file that has `Accept=no`, and consequently, the package no longer 
provides `[email protected]`. This is most likely related to [Steve's 
work](https://salsa.debian.org/ssh-team/openssh/-/commit/bfb10550c1e8c69757aff2860f60b78253fb9851) 
titled "Support systemd socket activation", despite socket 
activation working out of the box previously.

The new approach breaks existing setups that relied on systemd 
handling the `accept()` call. At the very least, a `NEWS.Debian` 
entry would be in order.

Better yet would be a Debconf question to see what the user 
wants/needs, defaulting to the status quo, rather than changing it.

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

Kernel: Linux 6.0.0-rc7-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_NZ, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8), LANGUAGE=en_NZ:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages openssh-server depends on:
ii  adduser                    3.129
ii  debconf [debconf-2.0]      1.5.80
ii  init-system-helpers        1.65.2
ii  libaudit1                  1:3.0.7-1.1+b2
ii  libc6                      2.36-6
ii  libcom-err2                1.46.6~rc1-1+b1
ii  libcrypt1                  1:4.4.33-1
ii  libgssapi-krb5-2           1.20.1-1
ii  libkrb5-3                  1.20.1-1
ii  libpam-modules             1.5.2-5
ii  libpam-runtime             1.5.2-5
ii  libpam0g                   1.5.2-5
ii  libselinux1                3.4-1+b3
ii  libssl3                    3.0.7-1
ii  libsystemd0                252.2-1
ii  libwrap0                   7.6.q-31
ii  lsb-base                   11.5
ii  openssh-client             1:9.1p1-1
ii  openssh-sftp-server        1:9.1p1-1
ii  procps                     2:3.3.17-7.1
ii  runit-helper               2.15.0
ii  sysvinit-utils [lsb-base]  3.05-7
ii  ucf                        3.0043
ii  zlib1g                     1:1.2.13.dfsg-1

Versions of packages openssh-server recommends:
ii  libpam-systemd [logind]  252.2-1
pn  ncurses-term             <none>
ii  xauth                    1:1.1.1-1

Versions of packages openssh-server suggests:
pn  molly-guard   <none>
pn  monkeysphere  <none>
ii  ssh-askpass   1:1.2.4.1-15
pn  ufw           <none>

-- debconf information excluded


-- 
 .''`.   martin f. krafft <[email protected]>
: :'  :  proud Debian developer
`. `'`   http://people.debian.org/~madduck
  `-  Debian - when you have better things to do than fixing systems
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.