Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#990069: openssh-server: Not accepting new connections during Debian 10 -> 11 upgrade

534 views
Skip to first unread message

Olaf van der Spek

unread,
Jun 19, 2021, 7:00:03 AM6/19/21
to
Package: openssh-server
Version: 1:8.4p1-5
Severity: normal

Dear Maintainer,

During a Debian 10 -> 11 upgrade, the SSH server doesn't appear to be accepting new connections. IMO this is less than optimal, and not sure if this was always the case.
Would it be possible to keep accepting connections, or at least to make the time window in which SSH is down as short as possible?

Greetings,

Olaf

-- System Information:
Debian Release: 11.0
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-16-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
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.118
ii debconf [debconf-2.0] 1.5.71
ii dpkg 1.19.7
ii libaudit1 1:2.8.4-3
iu libc6 2.31-12
ii libcom-err2 1.44.5-1+deb10u3
ii libcrypt1 1:4.4.18-4
ii libgssapi-krb5-2 1.17-3+deb10u1
ii libkrb5-3 1.17-3+deb10u1
ii libpam-modules 1.3.1-5
ii libpam-runtime 1.3.1-5
ii libpam0g 1.3.1-5
ii libselinux1 3.1-3
ii libssl1.1 1.1.1d-0+deb10u6
ii libsystemd0 241-7~deb10u7
ii libwrap0 7.6.q-28
ii lsb-base 10.2019051400
iu openssh-client 1:8.4p1-5
iu openssh-sftp-server 1:8.4p1-5
ii procps 2:3.3.15-2
iu runit-helper 2.10.3
ii ucf 3.0038+nmu1
ii zlib1g 1:1.2.11.dfsg-1

Versions of packages openssh-server recommends:
ii libpam-systemd [logind] 241-7~deb10u7
ii ncurses-term 6.1+20181013-2+deb10u2
ii xauth 1:1.0.10-1

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

-- debconf information:
openssh-server/permit-root-login: true
openssh-server/password-authentication: true

Colin Watson

unread,
Jun 19, 2021, 8:00:03 AM6/19/21
to
On Sat, Jun 19, 2021 at 12:53:48PM +0200, Olaf van der Spek wrote:
> During a Debian 10 -> 11 upgrade, the SSH server doesn't appear to be accepting new connections. IMO this is less than optimal, and not sure if this was always the case.
> Would it be possible to keep accepting connections, or at least to make the time window in which SSH is down as short as possible?

That's odd, because we already take care to do that. Any chance of some
logs? I think the most useful things would be /var/log/dpkg.log,
/var/log/apt/term.log, and the bits of "journalctl -b -u ssh.service"
that show when sshd stopped and started.

--
Colin Watson (he/him) [cjwa...@debian.org]

Olaf van der Spek

unread,
Jun 20, 2021, 4:10:03 AM6/20/21
to
Op za 19 jun. 2021 om 13:13 schreef Colin Watson <cjwa...@debian.org>:
>
> On Sat, Jun 19, 2021 at 12:53:48PM +0200, Olaf van der Spek wrote:
> > During a Debian 10 -> 11 upgrade, the SSH server doesn't appear to be accepting new connections. IMO this is less than optimal, and not sure if this was always the case.
> > Would it be possible to keep accepting connections, or at least to make the time window in which SSH is down as short as possible?

FYI, this is when it's waiting for a reply to this question:
Configuring libc6:amd64
| There are services installed on your system which need to be
restarted when certain libraries, such as libpam, libc, and libssl,
are upgraded. Since these restarts may cause interruptions |
| of service for the system, you will normally be prompted on each
upgrade for the list of services you wish to restart. You can choose
this option to avoid being prompted; instead, all |
| necessary restarts will be done for you automatically so you can
avoid being asked questions on each library upgrade.
|
|

|
| Restart services during package upgrades without asking?

$ ssh localhost
kex_exchange_identification: read: Connection reset by peer
Connection reset by ::1 port 22

/var/log/auth:
Jun 20 10:00:43 alpha sshd[10140]: fatal: recv_rexec_state: buffer
error: incomplete message



> That's odd, because we already take care to do that. Any chance of some
> logs? I think the most useful things would be /var/log/dpkg.log,

2021-05-09 10:03:01 status installed systemd:amd64 241-7~deb10u7
2021-06-20 09:40:28 startup archives unpack
2021-06-20 09:40:28 upgrade base-files:amd64 10.3+deb10u9 10.3+deb10u10
2021-06-20 09:40:28 status half-configured base-files:amd64 10.3+deb10u9
2021-06-20 09:40:28 status unpacked base-files:amd64 10.3+deb10u9
2021-06-20 09:40:28 status half-installed base-files:amd64 10.3+deb10u9
2021-06-20 09:40:28 status triggers-pending man-db:amd64 2.8.5-2
2021-06-20 09:40:28 status unpacked base-files:amd64 10.3+deb10u10
2021-06-20 09:40:28 startup packages configure
2021-06-20 09:40:28 configure base-files:amd64 10.3+deb10u10 <none>
2021-06-20 09:40:28 status unpacked base-files:amd64 10.3+deb10u10
2021-06-20 09:40:28 status half-configured base-files:amd64 10.3+deb10u10
2021-06-20 09:40:28 status installed base-files:amd64 10.3+deb10u10
2021-06-20 09:40:28 startup archives unpack
2021-06-20 09:40:28 upgrade libgcrypt20:amd64 1.8.4-5 1.8.4-5+deb10u1
2021-06-20 09:40:28 status triggers-pending libc-bin:amd64 2.28-10
2021-06-20 09:40:28 status half-configured libgcrypt20:amd64 1.8.4-5
2021-06-20 09:40:28 status unpacked libgcrypt20:amd64 1.8.4-5
2021-06-20 09:40:28 status half-installed libgcrypt20:amd64 1.8.4-5
2021-06-20 09:40:28 status unpacked libgcrypt20:amd64 1.8.4-5+deb10u1
2021-06-20 09:40:28 startup packages configure
2021-06-20 09:40:28 configure libgcrypt20:amd64 1.8.4-5+deb10u1 <none>
2021-06-20 09:40:28 status unpacked libgcrypt20:amd64 1.8.4-5+deb10u1
2021-06-20 09:40:28 status half-configured libgcrypt20:amd64 1.8.4-5+deb10u1
2021-06-20 09:40:28 status installed libgcrypt20:amd64 1.8.4-5+deb10u1
2021-06-20 09:40:28 startup archives unpack
2021-06-20 09:40:28 upgrade libnettle6:amd64 3.4.1-1 3.4.1-1+deb10u1
2021-06-20 09:40:28 status half-configured libnettle6:amd64 3.4.1-1
2021-06-20 09:40:28 status unpacked libnettle6:amd64 3.4.1-1
2021-06-20 09:40:28 status half-installed libnettle6:amd64 3.4.1-1
2021-06-20 09:40:28 status unpacked libnettle6:amd64 3.4.1-1+deb10u1
2021-06-20 09:40:28 startup packages configure
2021-06-20 09:40:28 configure libnettle6:amd64 3.4.1-1+deb10u1 <none>
2021-06-20 09:40:28 status unpacked libnettle6:amd64 3.4.1-1+deb10u1
2021-06-20 09:40:28 status half-configured libnettle6:amd64 3.4.1-1+deb10u1
2021-06-20 09:40:28 status installed libnettle6:amd64 3.4.1-1+deb10u1
2021-06-20 09:40:28 startup archives unpack
2021-06-20 09:40:28 upgrade libhogweed4:amd64 3.4.1-1 3.4.1-1+deb10u1
2021-06-20 09:40:28 status half-configured libhogweed4:amd64 3.4.1-1
2021-06-20 09:40:28 status unpacked libhogweed4:amd64 3.4.1-1
2021-06-20 09:40:28 status half-installed libhogweed4:amd64 3.4.1-1
2021-06-20 09:40:28 status unpacked libhogweed4:amd64 3.4.1-1+deb10u1
2021-06-20 09:40:28 startup packages configure
2021-06-20 09:40:28 configure libhogweed4:amd64 3.4.1-1+deb10u1 <none>
2021-06-20 09:40:28 status unpacked libhogweed4:amd64 3.4.1-1+deb10u1
2021-06-20 09:40:28 status half-configured libhogweed4:amd64 3.4.1-1+deb10u1
2021-06-20 09:40:28 status installed libhogweed4:amd64 3.4.1-1+deb10u1
2021-06-20 09:40:28 startup archives unpack
2021-06-20 09:40:29 upgrade libgnutls30:amd64 3.6.7-4+deb10u6 3.6.7-4+deb10u7
2021-06-20 09:40:29 status half-configured libgnutls30:amd64 3.6.7-4+deb10u6
2021-06-20 09:40:29 status unpacked libgnutls30:amd64 3.6.7-4+deb10u6
2021-06-20 09:40:29 status half-installed libgnutls30:amd64 3.6.7-4+deb10u6
2021-06-20 09:40:29 status unpacked libgnutls30:amd64 3.6.7-4+deb10u7
2021-06-20 09:40:29 startup packages configure
2021-06-20 09:40:29 configure libgnutls30:amd64 3.6.7-4+deb10u7 <none>
2021-06-20 09:40:29 status unpacked libgnutls30:amd64 3.6.7-4+deb10u7
2021-06-20 09:40:29 status half-configured libgnutls30:amd64 3.6.7-4+deb10u7
2021-06-20 09:40:29 status installed libgnutls30:amd64 3.6.7-4+deb10u7
2021-06-20 09:40:29 startup archives unpack
2021-06-20 09:40:29 upgrade liblz4-1:amd64 1.8.3-1 1.8.3-1+deb10u1
2021-06-20 09:40:29 status half-configured liblz4-1:amd64 1.8.3-1
2021-06-20 09:40:29 status unpacked liblz4-1:amd64 1.8.3-1
2021-06-20 09:40:29 status half-installed liblz4-1:amd64 1.8.3-1
2021-06-20 09:40:29 status unpacked liblz4-1:amd64 1.8.3-1+deb10u1
2021-06-20 09:40:29 startup packages configure
2021-06-20 09:40:29 configure liblz4-1:amd64 1.8.3-1+deb10u1 <none>
2021-06-20 09:40:29 status unpacked liblz4-1:amd64 1.8.3-1+deb10u1
2021-06-20 09:40:29 status half-configured liblz4-1:amd64 1.8.3-1+deb10u1
2021-06-20 09:40:29 status installed liblz4-1:amd64 1.8.3-1+deb10u1
2021-06-20 09:40:29 startup archives unpack
2021-06-20 09:40:29 upgrade isc-dhcp-client:amd64 4.4.1-2 4.4.1-2+deb10u1
2021-06-20 09:40:29 status half-configured isc-dhcp-client:amd64 4.4.1-2
2021-06-20 09:40:29 status unpacked isc-dhcp-client:amd64 4.4.1-2
2021-06-20 09:40:29 status half-installed isc-dhcp-client:amd64 4.4.1-2
2021-06-20 09:40:29 status unpacked isc-dhcp-client:amd64 4.4.1-2+deb10u1
2021-06-20 09:40:29 upgrade isc-dhcp-common:amd64 4.4.1-2 4.4.1-2+deb10u1
2021-06-20 09:40:29 status half-configured isc-dhcp-common:amd64 4.4.1-2
2021-06-20 09:40:29 status unpacked isc-dhcp-common:amd64 4.4.1-2
2021-06-20 09:40:29 status half-installed isc-dhcp-common:amd64 4.4.1-2
2021-06-20 09:40:29 status unpacked isc-dhcp-common:amd64 4.4.1-2+deb10u1
2021-06-20 09:40:29 upgrade klibc-utils:amd64 2.0.6-1 2.0.6-1+deb10u1
2021-06-20 09:40:29 status half-configured klibc-utils:amd64 2.0.6-1
2021-06-20 09:40:29 status unpacked klibc-utils:amd64 2.0.6-1
2021-06-20 09:40:29 status half-installed klibc-utils:amd64 2.0.6-1
2021-06-20 09:40:29 status unpacked klibc-utils:amd64 2.0.6-1+deb10u1
2021-06-20 09:40:29 upgrade libklibc:amd64 2.0.6-1 2.0.6-1+deb10u1
2021-06-20 09:40:29 status half-configured libklibc:amd64 2.0.6-1
2021-06-20 09:40:29 status unpacked libklibc:amd64 2.0.6-1
2021-06-20 09:40:29 status half-installed libklibc:amd64 2.0.6-1
2021-06-20 09:40:29 status unpacked libklibc:amd64 2.0.6-1+deb10u1
2021-06-20 09:40:29 upgrade libx11-data:all 2:1.6.7-1+deb10u1 2:1.6.7-1+deb10u2
2021-06-20 09:40:29 status half-configured libx11-data:all 2:1.6.7-1+deb10u1
2021-06-20 09:40:29 status unpacked libx11-data:all 2:1.6.7-1+deb10u1
2021-06-20 09:40:29 status half-installed libx11-data:all 2:1.6.7-1+deb10u1
2021-06-20 09:40:29 status unpacked libx11-data:all 2:1.6.7-1+deb10u2
2021-06-20 09:40:29 upgrade libx11-6:amd64 2:1.6.7-1+deb10u1 2:1.6.7-1+deb10u2
2021-06-20 09:40:29 status half-configured libx11-6:amd64 2:1.6.7-1+deb10u1
2021-06-20 09:40:29 status unpacked libx11-6:amd64 2:1.6.7-1+deb10u1
2021-06-20 09:40:29 status half-installed libx11-6:amd64 2:1.6.7-1+deb10u1
2021-06-20 09:40:29 status unpacked libx11-6:amd64 2:1.6.7-1+deb10u2
2021-06-20 09:40:29 upgrade libxml2:amd64 2.9.4+dfsg1-7+deb10u1
2.9.4+dfsg1-7+deb10u2
2021-06-20 09:40:29 status half-configured libxml2:amd64 2.9.4+dfsg1-7+deb10u1
2021-06-20 09:40:29 status unpacked libxml2:amd64 2.9.4+dfsg1-7+deb10u1
2021-06-20 09:40:29 status half-installed libxml2:amd64 2.9.4+dfsg1-7+deb10u1
2021-06-20 09:40:30 status unpacked libxml2:amd64 2.9.4+dfsg1-7+deb10u2
2021-06-20 09:40:30 install linux-image-4.19.0-17-amd64:amd64 <none> 4.19.194-1
2021-06-20 09:40:30 status half-installed
linux-image-4.19.0-17-amd64:amd64 4.19.194-1
2021-06-20 09:40:40 status unpacked linux-image-4.19.0-17-amd64:amd64 4.19.194-1
2021-06-20 09:40:40 upgrade linux-image-amd64:amd64 4.19+105+deb10u11
4.19+105+deb10u12
2021-06-20 09:40:40 status half-configured linux-image-amd64:amd64
4.19+105+deb10u11
2021-06-20 09:40:40 status unpacked linux-image-amd64:amd64 4.19+105+deb10u11
2021-06-20 09:40:40 status half-installed linux-image-amd64:amd64
4.19+105+deb10u11
2021-06-20 09:40:40 status unpacked linux-image-amd64:amd64 4.19+105+deb10u12
2021-06-20 09:40:40 startup packages configure
2021-06-20 09:40:40 configure isc-dhcp-client:amd64 4.4.1-2+deb10u1 <none>
2021-06-20 09:40:40 status unpacked isc-dhcp-client:amd64 4.4.1-2+deb10u1
2021-06-20 09:40:40 status half-configured isc-dhcp-client:amd64 4.4.1-2+deb10u1
2021-06-20 09:40:40 status installed isc-dhcp-client:amd64 4.4.1-2+deb10u1
2021-06-20 09:40:40 configure linux-image-4.19.0-17-amd64:amd64
4.19.194-1 <none>
2021-06-20 09:40:40 status unpacked linux-image-4.19.0-17-amd64:amd64 4.19.194-1
2021-06-20 09:40:40 status half-configured
linux-image-4.19.0-17-amd64:amd64 4.19.194-1
2021-06-20 09:40:55 status installed linux-image-4.19.0-17-amd64:amd64
4.19.194-1
2021-06-20 09:40:55 configure libklibc:amd64 2.0.6-1+deb10u1 <none>
2021-06-20 09:40:55 status unpacked libklibc:amd64 2.0.6-1+deb10u1
2021-06-20 09:40:55 status half-configured libklibc:amd64 2.0.6-1+deb10u1
2021-06-20 09:40:55 status installed libklibc:amd64 2.0.6-1+deb10u1
2021-06-20 09:40:55 configure libx11-data:all 2:1.6.7-1+deb10u2 <none>
2021-06-20 09:40:55 status unpacked libx11-data:all 2:1.6.7-1+deb10u2
2021-06-20 09:40:55 status half-configured libx11-data:all 2:1.6.7-1+deb10u2
2021-06-20 09:40:55 status installed libx11-data:all 2:1.6.7-1+deb10u2
2021-06-20 09:40:55 configure libx11-6:amd64 2:1.6.7-1+deb10u2 <none>
2021-06-20 09:40:55 status unpacked libx11-6:amd64 2:1.6.7-1+deb10u2
2021-06-20 09:40:55 status half-configured libx11-6:amd64 2:1.6.7-1+deb10u2
2021-06-20 09:40:55 status installed libx11-6:amd64 2:1.6.7-1+deb10u2
2021-06-20 09:40:55 configure isc-dhcp-common:amd64 4.4.1-2+deb10u1 <none>
2021-06-20 09:40:55 status unpacked isc-dhcp-common:amd64 4.4.1-2+deb10u1
2021-06-20 09:40:55 status half-configured isc-dhcp-common:amd64 4.4.1-2+deb10u1
2021-06-20 09:40:55 status installed isc-dhcp-common:amd64 4.4.1-2+deb10u1
2021-06-20 09:40:55 configure klibc-utils:amd64 2.0.6-1+deb10u1 <none>
2021-06-20 09:40:55 status unpacked klibc-utils:amd64 2.0.6-1+deb10u1
2021-06-20 09:40:55 status half-configured klibc-utils:amd64 2.0.6-1+deb10u1
2021-06-20 09:40:55 status installed klibc-utils:amd64 2.0.6-1+deb10u1
2021-06-20 09:40:55 configure libxml2:amd64 2.9.4+dfsg1-7+deb10u2 <none>
2021-06-20 09:40:55 status unpacked libxml2:amd64 2.9.4+dfsg1-7+deb10u2
2021-06-20 09:40:55 status half-configured libxml2:amd64 2.9.4+dfsg1-7+deb10u2
2021-06-20 09:40:55 status installed libxml2:amd64 2.9.4+dfsg1-7+deb10u2
2021-06-20 09:40:55 configure linux-image-amd64:amd64 4.19+105+deb10u12 <none>
2021-06-20 09:40:55 status unpacked linux-image-amd64:amd64 4.19+105+deb10u12
2021-06-20 09:40:55 status half-configured linux-image-amd64:amd64
4.19+105+deb10u12
2021-06-20 09:40:55 status installed linux-image-amd64:amd64 4.19+105+deb10u12
2021-06-20 09:40:55 trigproc libc-bin:amd64 2.28-10 <none>
2021-06-20 09:40:55 status half-configured libc-bin:amd64 2.28-10
2021-06-20 09:40:55 status installed libc-bin:amd64 2.28-10
2021-06-20 09:40:55 trigproc man-db:amd64 2.8.5-2 <none>
2021-06-20 09:40:55 status half-configured man-db:amd64 2.8.5-2
2021-06-20 09:40:55 status installed man-db:amd64 2.8.5-2
2021-06-20 09:43:35 startup archives unpack
2021-06-20 09:43:36 upgrade base-files:amd64 10.3+deb10u10 11.1
2021-06-20 09:43:36 status half-configured base-files:amd64 10.3+deb10u10
2021-06-20 09:43:36 status unpacked base-files:amd64 10.3+deb10u10
2021-06-20 09:43:36 status half-installed base-files:amd64 10.3+deb10u10
2021-06-20 09:43:36 status triggers-pending man-db:amd64 2.8.5-2
2021-06-20 09:43:36 status unpacked base-files:amd64 11.1
2021-06-20 09:43:36 startup packages configure
2021-06-20 09:43:36 configure base-files:amd64 11.1 <none>
2021-06-20 09:43:36 status unpacked base-files:amd64 11.1
2021-06-20 09:43:36 status half-configured base-files:amd64 11.1
2021-06-20 09:43:36 status installed base-files:amd64 11.1
2021-06-20 09:43:36 startup archives unpack
2021-06-20 09:43:36 upgrade debianutils:amd64 4.8.6.1 4.11.2
2021-06-20 09:43:36 status half-configured debianutils:amd64 4.8.6.1
2021-06-20 09:43:36 status unpacked debianutils:amd64 4.8.6.1
2021-06-20 09:43:36 status half-installed debianutils:amd64 4.8.6.1
2021-06-20 09:43:36 status unpacked debianutils:amd64 4.11.2
2021-06-20 09:43:36 startup packages configure
2021-06-20 09:43:36 configure debianutils:amd64 4.11.2 <none>
2021-06-20 09:43:36 status unpacked debianutils:amd64 4.11.2
2021-06-20 09:43:36 status half-configured debianutils:amd64 4.11.2
2021-06-20 09:43:36 status installed debianutils:amd64 4.11.2
2021-06-20 09:43:36 startup archives unpack
2021-06-20 09:43:36 upgrade bash:amd64 5.0-4 5.1-2+b1
2021-06-20 09:43:36 status half-configured bash:amd64 5.0-4
2021-06-20 09:43:36 status unpacked bash:amd64 5.0-4
2021-06-20 09:43:36 status half-installed bash:amd64 5.0-4
2021-06-20 09:43:36 status unpacked bash:amd64 5.1-2+b1
2021-06-20 09:43:36 startup packages configure
2021-06-20 09:43:36 configure bash:amd64 5.1-2+b1 <none>
2021-06-20 09:43:36 status unpacked bash:amd64 5.1-2+b1
2021-06-20 09:43:36 status half-configured bash:amd64 5.1-2+b1
2021-06-20 09:43:36 status installed bash:amd64 5.1-2+b1
2021-06-20 09:43:36 startup archives unpack
2021-06-20 09:43:36 upgrade bsdmainutils:amd64 11.1.2+b1 12.1.7+nmu3
2021-06-20 09:43:36 status half-configured bsdmainutils:amd64 11.1.2+b1
2021-06-20 09:43:36 status unpacked bsdmainutils:amd64 11.1.2+b1
2021-06-20 09:43:36 status half-installed bsdmainutils:amd64 11.1.2+b1
2021-06-20 09:43:36 status unpacked bsdmainutils:all 12.1.7+nmu3
2021-06-20 09:43:36 install bsdextrautils:amd64 <none> 2.36.1-7
2021-06-20 09:43:36 status half-installed bsdextrautils:amd64 2.36.1-7
2021-06-20 09:43:36 status unpacked bsdextrautils:amd64 2.36.1-7
2021-06-20 09:43:36 install gcc-10-base:amd64 <none> 10.2.1-6
2021-06-20 09:43:36 status half-installed gcc-10-base:amd64 10.2.1-6
2021-06-20 09:43:36 status unpacked gcc-10-base:amd64 10.2.1-6
2021-06-20 09:43:37 startup packages configure
2021-06-20 09:43:37 configure gcc-10-base:amd64 10.2.1-6 <none>
2021-06-20 09:43:37 status unpacked gcc-10-base:amd64 10.2.1-6
2021-06-20 09:43:37 status half-configured gcc-10-base:amd64 10.2.1-6
2021-06-20 09:43:37 status installed gcc-10-base:amd64 10.2.1-6
2021-06-20 09:43:37 startup archives unpack
2021-06-20 09:43:37 install libgcc-s1:amd64 <none> 10.2.1-6
2021-06-20 09:43:37 status triggers-pending libc-bin:amd64 2.28-10
2021-06-20 09:43:37 status half-installed libgcc-s1:amd64 10.2.1-6
2021-06-20 09:43:37 status unpacked libgcc-s1:amd64 10.2.1-6
2021-06-20 09:43:37 startup packages configure
2021-06-20 09:43:37 configure libgcc-s1:amd64 10.2.1-6 <none>
2021-06-20 09:43:37 status unpacked libgcc-s1:amd64 10.2.1-6
2021-06-20 09:43:37 status half-configured libgcc-s1:amd64 10.2.1-6
2021-06-20 09:43:37 status installed libgcc-s1:amd64 10.2.1-6
2021-06-20 09:43:37 startup archives unpack
2021-06-20 09:43:37 install libcrypt1:amd64 <none> 1:4.4.18-4
2021-06-20 09:43:37 status half-installed libcrypt1:amd64 1:4.4.18-4
2021-06-20 09:43:37 status unpacked libcrypt1:amd64 1:4.4.18-4
2021-06-20 09:43:37 startup packages configure
2021-06-20 09:43:37 configure libcrypt1:amd64 1:4.4.18-4 <none>
2021-06-20 09:43:37 status unpacked libcrypt1:amd64 1:4.4.18-4
2021-06-20 09:43:37 status half-configured libcrypt1:amd64 1:4.4.18-4
2021-06-20 09:43:37 status installed libcrypt1:amd64 1:4.4.18-4
2021-06-20 09:43:37 startup archives unpack
2021-06-20 09:43:37 upgrade libc-l10n:all 2.28-10 2.31-12
2021-06-20 09:43:37 status half-configured libc-l10n:all 2.28-10
2021-06-20 09:43:37 status unpacked libc-l10n:all 2.28-10
2021-06-20 09:43:37 status half-installed libc-l10n:all 2.28-10
2021-06-20 09:43:37 status unpacked libc-l10n:all 2.31-12
2021-06-20 09:43:37 upgrade locales:all 2.28-10 2.31-12
2021-06-20 09:43:37 status half-configured locales:all 2.28-10
2021-06-20 09:43:37 status unpacked locales:all 2.28-10
2021-06-20 09:43:37 status half-installed locales:all 2.28-10
2021-06-20 09:43:38 status unpacked locales:all 2.31-12
2021-06-20 09:43:38 install libcbor0:amd64 <none> 0.5.0+dfsg-2
2021-06-20 09:43:38 status half-installed libcbor0:amd64 0.5.0+dfsg-2
2021-06-20 09:43:38 status unpacked libcbor0:amd64 0.5.0+dfsg-2
2021-06-20 09:43:38 install libfido2-1:amd64 <none> 1.6.0-2
2021-06-20 09:43:38 status half-installed libfido2-1:amd64 1.6.0-2
2021-06-20 09:43:38 status unpacked libfido2-1:amd64 1.6.0-2
2021-06-20 09:43:38 upgrade libselinux1:amd64 2.8-1+b1 3.1-3
2021-06-20 09:43:38 status half-configured libselinux1:amd64 2.8-1+b1
2021-06-20 09:43:38 status unpacked libselinux1:amd64 2.8-1+b1
2021-06-20 09:43:38 status half-installed libselinux1:amd64 2.8-1+b1
2021-06-20 09:43:38 status unpacked libselinux1:amd64 3.1-3
2021-06-20 09:43:38 startup packages configure
2021-06-20 09:43:38 configure libselinux1:amd64 3.1-3 <none>
2021-06-20 09:43:38 status unpacked libselinux1:amd64 3.1-3
2021-06-20 09:43:38 status half-configured libselinux1:amd64 3.1-3
2021-06-20 09:43:38 status installed libselinux1:amd64 3.1-3
2021-06-20 09:43:38 startup archives unpack
2021-06-20 09:43:38 upgrade openssh-sftp-server:amd64
1:7.9p1-10+deb10u2 1:8.4p1-5
2021-06-20 09:43:38 status half-configured openssh-sftp-server:amd64
1:7.9p1-10+deb10u2
2021-06-20 09:43:38 status unpacked openssh-sftp-server:amd64 1:7.9p1-10+deb10u2
2021-06-20 09:43:38 status half-installed openssh-sftp-server:amd64
1:7.9p1-10+deb10u2
2021-06-20 09:43:38 status unpacked openssh-sftp-server:amd64 1:8.4p1-5
2021-06-20 09:43:38 upgrade openssh-client:amd64 1:7.9p1-10+deb10u2 1:8.4p1-5
2021-06-20 09:43:38 status half-configured openssh-client:amd64
1:7.9p1-10+deb10u2
2021-06-20 09:43:38 status unpacked openssh-client:amd64 1:7.9p1-10+deb10u2
2021-06-20 09:43:38 status half-installed openssh-client:amd64
1:7.9p1-10+deb10u2
2021-06-20 09:43:38 status unpacked openssh-client:amd64 1:8.4p1-5
2021-06-20 09:43:38 install runit-helper:all <none> 2.10.3
2021-06-20 09:43:38 status half-installed runit-helper:all 2.10.3
2021-06-20 09:43:39 status unpacked runit-helper:all 2.10.3
2021-06-20 09:43:39 upgrade openssh-server:amd64 1:7.9p1-10+deb10u2 1:8.4p1-5
2021-06-20 09:43:39 status half-configured openssh-server:amd64
1:7.9p1-10+deb10u2
2021-06-20 09:43:39 status unpacked openssh-server:amd64 1:7.9p1-10+deb10u2
2021-06-20 09:43:39 status half-installed openssh-server:amd64
1:7.9p1-10+deb10u2
2021-06-20 09:43:39 status triggers-pending systemd:amd64 241-7~deb10u7
2021-06-20 09:43:39 status unpacked openssh-server:amd64 1:8.4p1-5
2021-06-20 09:43:39 upgrade libc6:amd64 2.28-10 2.31-12
2021-06-20 09:43:39 status half-configured libc6:amd64 2.28-10
2021-06-20 09:43:39 status unpacked libc6:amd64 2.28-10
2021-06-20 09:43:39 status half-installed libc6:amd64 2.28-10
2021-06-20 09:43:40 status unpacked libc6:amd64 2.31-12
2021-06-20 09:43:40 startup packages configure
2021-06-20 09:43:40 configure libc6:amd64 2.31-12 <none>
2021-06-20 09:43:40 status unpacked libc6:amd64 2.31-12
2021-06-20 09:43:40 status half-configured libc6:amd64 2.31-12

> /var/log/apt/term.log,

Log ended: 2021-05-09 10:03:01

Log started: 2021-06-20 09:40:28
(Reading database ... ^M(Reading database ... 5%^M(Reading database
... 10%^M(Reading database ... 15%^M(Reading database ...
20%^M(Reading database ... 25%^M(Reading database ... 30%^M(Reading
database ... 35%^M(Reading database ... 40%^M(Reading database ...
45%^M(Reading database ... 50%^M(Reading database ... 55%^M(Reading
database ... 60%^M(Reading database ... 65%^M(Reading database ...
70%^M(Reading database ... 75%^M(Reading database ... 80%^M(Reading
database ... 85%^M(Reading database ... 90%^M(Reading database ...
95%^M(Reading database ... 100%^M(Reading database ... 27498 files and
directories currently installed.)
Preparing to unpack .../base-files_10.3+deb10u10_amd64.deb ...
Unpacking base-files (10.3+deb10u10) over (10.3+deb10u9) ...
Setting up base-files (10.3+deb10u10) ...
Installing new version of config file /etc/debian_version ...
(Reading database ... ^M(Reading database ... 5%^M(Reading database
... 10%^M(Reading database ... 15%^M(Reading database ...
20%^M(Reading database ... 25%^M(Reading database ... 30%^M(Reading
database ... 35%^M(Reading database ... 40%^M(Reading database ...
45%^M(Reading database ... 50%^M(Reading database ... 55%^M(Reading
database ... 60%^M(Reading database ... 65%^M(Reading database ...
70%^M(Reading database ... 75%^M(Reading database ... 80%^M(Reading
database ... 85%^M(Reading database ... 90%^M(Reading database ...
95%^M(Reading database ... 100%^M(Reading database ... 27498 files and
directories currently installed.)
Preparing to unpack .../libgcrypt20_1.8.4-5+deb10u1_amd64.deb ...
Unpacking libgcrypt20:amd64 (1.8.4-5+deb10u1) over (1.8.4-5) ...
Setting up libgcrypt20:amd64 (1.8.4-5+deb10u1) ...
(Reading database ... ^M(Reading database ... 5%^M(Reading database
... 10%^M(Reading database ... 15%^M(Reading database ...
20%^M(Reading database ... 25%^M(Reading database ... 30%^M(Reading
database ... 35%^M(Reading database ... 40%^M(Reading database ...
45%^M(Reading database ... 50%^M(Reading database ... 55%^M(Reading
database ... 60%^M(Reading database ... 65%^M(Reading database ...
70%^M(Reading database ... 75%^M(Reading database ... 80%^M(Reading
database ... 85%^M(Reading database ... 90%^M(Reading database ...
95%^M(Reading database ... 100%^M(Reading database ... 27498 files and
directories currently installed.)
Preparing to unpack .../libnettle6_3.4.1-1+deb10u1_amd64.deb ...
Unpacking libnettle6:amd64 (3.4.1-1+deb10u1) over (3.4.1-1) ...
Setting up libnettle6:amd64 (3.4.1-1+deb10u1) ...
(Reading database ... ^M(Reading database ... 5%^M(Reading database
... 10%^M(Reading database ... 15%^M(Reading database ...
20%^M(Reading database ... 25%^M(Reading database ... 30%^M(Reading
database ... 35%^M(Reading database ... 40%^M(Reading database ...
45%^M(Reading database ... 50%^M(Reading database ... 55%^M(Reading
database ... 60%^M(Reading database ... 65%^M(Reading database ...
70%^M(Reading database ... 75%^M(Reading database ... 80%^M(Reading
database ... 85%^M(Reading database ... 90%^M(Reading database ...
95%^M(Reading database ... 100%^M(Reading database ... 27498 files and
directories currently installed.)
Preparing to unpack .../libhogweed4_3.4.1-1+deb10u1_amd64.deb ...
Unpacking libhogweed4:amd64 (3.4.1-1+deb10u1) over (3.4.1-1) ...
Setting up libhogweed4:amd64 (3.4.1-1+deb10u1) ...
(Reading database ... ^M(Reading database ... 5%^M(Reading database
... 10%^M(Reading database ... 15%^M(Reading database ...
20%^M(Reading database ... 25%^M(Reading database ... 30%^M(Reading
database ... 35%^M(Reading database ... 40%^M(Reading database ...
45%^M(Reading database ... 50%^M(Reading database ... 55%^M(Reading
database ... 60%^M(Reading database ... 65%^M(Reading database ...
70%^M(Reading database ... 75%^M(Reading database ... 80%^M(Reading
database ... 85%^M(Reading database ... 90%^M(Reading database ...
95%^M(Reading database ... 100%^M(Reading database ... 27498 files and
directories currently installed.)
Preparing to unpack .../libgnutls30_3.6.7-4+deb10u7_amd64.deb ...
Unpacking libgnutls30:amd64 (3.6.7-4+deb10u7) over (3.6.7-4+deb10u6) ...
Setting up libgnutls30:amd64 (3.6.7-4+deb10u7) ...
(Reading database ... ^M(Reading database ... 5%^M(Reading database
... 10%^M(Reading database ... 15%^M(Reading database ...
20%^M(Reading database ... 25%^M(Reading database ... 30%^M(Reading
database ... 35%^M(Reading database ... 40%^M(Reading database ...
45%^M(Reading database ... 50%^M(Reading database ... 55%^M(Reading
database ... 60%^M(Reading database ... 65%^M(Reading database ...
70%^M(Reading database ... 75%^M(Reading database ... 80%^M(Reading
database ... 85%^M(Reading database ... 90%^M(Reading database ...
95%^M(Reading database ... 100%^M(Reading database ... 27498 files and
directories currently installed.)
Preparing to unpack .../liblz4-1_1.8.3-1+deb10u1_amd64.deb ...
Unpacking liblz4-1:amd64 (1.8.3-1+deb10u1) over (1.8.3-1) ...
Setting up liblz4-1:amd64 (1.8.3-1+deb10u1) ...
(Reading database ... ^M(Reading database ... 5%^M(Reading database
... 10%^M(Reading database ... 15%^M(Reading database ...
20%^M(Reading database ... 25%^M(Reading database ... 30%^M(Reading
database ... 35%^M(Reading database ... 40%^M(Reading database ...
45%^M(Reading database ... 50%^M(Reading database ... 55%^M(Reading
database ... 60%^M(Reading database ... 65%^M(Reading database ...
70%^M(Reading database ... 75%^M(Reading database ... 80%^M(Reading
database ... 85%^M(Reading database ... 90%^M(Reading database ...
95%^M(Reading database ... 100%^M(Reading database ... 27Selecting
previously unselected package grub2-common.
(Reading database ... ^M(Reading database ... 5%^M(Reading database
... 10%^M(Reading database ... 15%^M(Reading database ...
20%^M(Reading database ... 25%^M(Reading database ... 30%^M(Reading da
tabase ... 35%^M(Reading database ... 40%^M(Reading database ...
45%^M(Reading database ... 50%^M(Reading database ... 55%^M(Reading
database ... 60%^M(Reading database ... 65%^M(Reading database
... 70%^M(Reading database ... 75%^M(Reading database ...
80%^M(Reading database ... 85%^M(Reading database ... 90%^M(Reading
database ... 95%^M(Reading database ... 100%^M(Reading database ... 27
045 files and directories currently installed.)
Preparing to unpack .../grub2-common_2.02+dfsg1-20+deb10u4_amd64.deb ...
Unpacking grub2-common (2.02+dfsg1-20+deb10u4) ...
Selecting previously unselected package grub-pc-bin.
Preparing to unpack .../grub-pc-bin_2.02+dfsg1-20+deb10u4_amd64.deb ...
Unpacking grub-pc-bin (2.02+dfsg1-20+deb10u4) ...
Selecting previously unselected package grub-pc.
Preparing to unpack .../grub-pc_2.02+dfsg1-20+deb10u4_amd64.deb ...
Unpacking grub-pc (2.02+dfsg1-20+deb10u4) ...
Setting up grub2-common (2.02+dfsg1-20+deb10u4) ...
Setting up grub-pc-bin (2.02+dfsg1-20+deb10u4) ...
Setting up grub-pc (2.02+dfsg1-20+deb10u4) ...

Creating config file /etc/default/grub with new version
Processing triggers for man-db (2.8.5-2) ...
Log ended: 2021-05-09 10:02:38

Log started: 2021-05-09 10:03:00
Selecting previously unselected package sudo.
(Reading database ... ^M(Reading database ... 5%^M(Reading database
... 10%^M(Reading database ... 15%^M(Reading database ...
20%^M(Reading database ... 25%^M(Reading database ... 30%^M(Reading da
tabase ... 35%^M(Reading database ... 40%^M(Reading database ...
45%^M(Reading database ... 50%^M(Reading database ... 55%^M(Reading
database ... 60%^M(Reading database ... 65%^M(Reading database
... 70%^M(Reading database ... 75%^M(Reading database ...
80%^M(Reading database ... 85%^M(Reading database ... 90%^M(Reading
database ... 95%^M(Reading database ... 100%^M(Reading database ... 27
378 files and directories currently installed.)
Preparing to unpack .../sudo_1.8.27-1+deb10u3_amd64.deb ...
Unpacking sudo (1.8.27-1+deb10u3) ...
Setting up sudo (1.8.27-1+deb10u3) ...
Running in chroot, ignoring request.
invoke-rc.d: policy-rc.d denied execution of start.
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for systemd (241-7~deb10u7) ...
Log ended: 2021-05-09 10:03:01

Log started: 2021-06-20 09:40:28
(Reading database ... ^M(Reading database ... 5%^M(Reading database
... 10%^M(Reading database ... 15%^M(Reading database ...
20%^M(Reading database ... 25%^M(Reading database ... 30%^M(Reading da
tabase ... 35%^M(Reading database ... 40%^M(Reading database ...
45%^M(Reading database ... 50%^M(Reading database ... 55%^M(Reading
database ... 60%^M(Reading database ... 65%^M(Reading database
... 70%^M(Reading database ... 75%^M(Reading database ...
80%^M(Reading database ... 85%^M(Reading database ... 90%^M(Reading
database ... 95%^M(Reading database ... 100%^M(Reading database ... 27
498 files and directories currently installed.)
Preparing to unpack .../base-files_10.3+deb10u10_amd64.deb ...
Unpacking base-files (10.3+deb10u10) over (10.3+deb10u9) ...
Setting up base-files (10.3+deb10u10) ...
Installing new version of config file /etc/debian_version ...
(Reading database ... ^M(Reading database ... 5%^M(Reading database
... 10%^M(Reading database ... 15%^M(Reading database ...
20%^M(Reading database ... 25%^M(Reading database ... 30%^M(Reading da
tabase ... 35%^M(Reading database ... 40%^M(Reading database ...
45%^M(Reading database ... 50%^M(Reading database ... 55%^M(Reading
database ... 60%^M(Reading database ... 65%^M(Reading database
... 70%^M(Reading database ... 75%^M(Reading database ...
80%^M(Reading database ... 85%^M(Reading database ... 90%^M(Reading
database ... 95%^M(Reading database ... 100%^M(Reading database ... 27
498 files and directories currently installed.)
Preparing to unpack .../libgcrypt20_1.8.4-5+deb10u1_amd64.deb ...
Unpacking libgcrypt20:amd64 (1.8.4-5+deb10u1) over (1.8.4-5) ...
Setting up libgcrypt20:amd64 (1.8.4-5+deb10u1) ...
(Reading database ... ^M(Reading database ... 5%^M(Reading database
... 10%^M(Reading database ... 15%^M(Reading database ...
20%^M(Reading database ... 25%^M(Reading database ... 30%^M(Reading da
tabase ... 35%^M(Reading database ... 40%^M(Reading database ...
45%^M(Reading database ... 50%^M(Reading database ... 55%^M(Reading
database ... 60%^M(Reading database ... 65%^M(Reading database
... 70%^M(Reading database ... 75%^M(Reading database ...
80%^M(Reading database ... 85%^M(Reading database ... 90%^M(Reading
database ... 95%^M(Reading database ... 100%^M(Reading database ... 27
498 files and directories currently installed.)
Preparing to unpack .../libnettle6_3.4.1-1+deb10u1_amd64.deb ...
Unpacking libnettle6:amd64 (3.4.1-1+deb10u1) over (3.4.1-1) ...
Setting up libnettle6:amd64 (3.4.1-1+deb10u1) ...
(Reading database ... ^M(Reading database ... 5%^M(Reading database
... 10%^M(Reading database ... 15%^M(Reading database ...
20%^M(Reading database ... 25%^M(Reading database ... 30%^M(Reading da
tabase ... 35%^M(Reading database ... 40%^M(Reading database ...
45%^M(Reading database ... 50%^M(Reading database ... 55%^M(Reading
database ... 60%^M(Reading database ... 65%^M(Reading database
... 70%^M(Reading database ... 75%^M(Reading database ...
80%^M(Reading database ... 85%^M(Reading database ... 90%^M(Reading
database ... 95%^M(Reading database ... 100%^M(Reading database ... 27
498 files and directories currently installed.)
Preparing to unpack .../libhogweed4_3.4.1-1+deb10u1_amd64.deb ...
Unpacking libhogweed4:amd64 (3.4.1-1+deb10u1) over (3.4.1-1) ...
Setting up libhogweed4:amd64 (3.4.1-1+deb10u1) ...
(Reading database ... ^M(Reading database ... 5%^M(Reading database
... 10%^M(Reading database ... 15%^M(Reading database ...
20%^M(Reading database ... 25%^M(Reading database ... 30%^M(Reading da
tabase ... 35%^M(Reading database ... 40%^M(Reading database ...
45%^M(Reading database ... 50%^M(Reading database ... 55%^M(Reading
database ... 60%^M(Reading database ... 65%^M(Reading database
... 70%^M(Reading database ... 75%^M(Reading database ...
80%^M(Reading database ... 85%^M(Reading database ... 90%^M(Reading
database ... 95%^M(Reading database ... 100%^M(Reading database ... 27
498 files and directories currently installed.)
Preparing to unpack .../libgnutls30_3.6.7-4+deb10u7_amd64.deb ...
Unpacking libgnutls30:amd64 (3.6.7-4+deb10u7) over (3.6.7-4+deb10u6) ...
Setting up libgnutls30:amd64 (3.6.7-4+deb10u7) ...
(Reading database ... ^M(Reading database ... 5%^M(Reading database
... 10%^M(Reading database ... 15%^M(Reading database ...
20%^M(Reading database ... 25%^M(Reading database ... 30%^M(Reading da
tabase ... 35%^M(Reading database ... 40%^M(Reading database ...
45%^M(Reading database ... 50%^M(Reading database ... 55%^M(Reading
database ... 60%^M(Reading database ... 65%^M(Reading database
... 70%^M(Reading database ... 75%^M(Reading database ...
80%^M(Reading database ... 85%^M(Reading database ... 90%^M(Reading
database ... 95%^M(Reading database ... 100%^M(Reading database ... 27
498 files and directories currently installed.)
Preparing to unpack .../liblz4-1_1.8.3-1+deb10u1_amd64.deb ...
Unpacking liblz4-1:amd64 (1.8.3-1+deb10u1) over (1.8.3-1) ...
Setting up liblz4-1:amd64 (1.8.3-1+deb10u1) ...
(Reading database ... ^M(Reading database ... 5%^M(Reading database
... 10%^M(Reading database ... 15%^M(Reading database ...
20%^M(Reading database ... 25%^M(Reading database ... 30%^M(Reading da
tabase ... 35%^M(Reading database ... 40%^M(Reading database ...
45%^M(Reading database ... 50%^M(Reading database ... 55%^M(Reading
database ... 60%^M(Reading database ... 65%^M(Reading database
... 70%^M(Reading database ... 75%^M(Reading database ...
80%^M(Reading database ... 85%^M(Reading database ... 90%^M(Reading
database ... 95%^M(Reading database ... 100%^M(Reading database ... 27
498 files and directories currently installed.)
Preparing to unpack .../0-isc-dhcp-client_4.4.1-2+deb10u1_amd64.deb ...
Unpacking isc-dhcp-client (4.4.1-2+deb10u1) over (4.4.1-2) ...
Preparing to unpack .../1-isc-dhcp-common_4.4.1-2+deb10u1_amd64.deb ...
Unpacking isc-dhcp-common (4.4.1-2+deb10u1) over (4.4.1-2) ...
Preparing to unpack .../2-klibc-utils_2.0.6-1+deb10u1_amd64.deb ...
Unpacking klibc-utils (2.0.6-1+deb10u1) over (2.0.6-1) ...
Preparing to unpack .../3-libklibc_2.0.6-1+deb10u1_amd64.deb ...
Unpacking libklibc:amd64 (2.0.6-1+deb10u1) over (2.0.6-1) ...
Preparing to unpack .../4-libx11-data_2%3a1.6.7-1+deb10u2_all.deb ...
Unpacking libx11-data (2:1.6.7-1+deb10u2) over (2:1.6.7-1+deb10u1) ...
Preparing to unpack .../5-libx11-6_2%3a1.6.7-1+deb10u2_amd64.deb ...
Unpacking libx11-6:amd64 (2:1.6.7-1+deb10u2) over (2:1.6.7-1+deb10u1) ...
Preparing to unpack .../6-libxml2_2.9.4+dfsg1-7+deb10u2_amd64.deb ...
Unpacking libxml2:amd64 (2.9.4+dfsg1-7+deb10u2) over (2.9.4+dfsg1-7+deb10u1) ...
Selecting previously unselected package linux-image-4.19.0-17-amd64.
Preparing to unpack .../7-linux-image-4.19.0-17-amd64_4.19.194-1_amd64.deb ...
Unpacking linux-image-4.19.0-17-amd64 (4.19.194-1) ...
Preparing to unpack .../8-linux-image-amd64_4.19+105+deb10u12_amd64.deb ...
Unpacking linux-image-amd64 (4.19+105+deb10u12) over (4.19+105+deb10u11) ...
Setting up isc-dhcp-client (4.4.1-2+deb10u1) ...
Setting up linux-image-4.19.0-17-amd64 (4.19.194-1) ...
I: /vmlinuz is now a symlink to boot/vmlinuz-4.19.0-17-amd64
I: /initrd.img is now a symlink to boot/initrd.img-4.19.0-17-amd64
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.19.0-17-amd64
/etc/kernel/postinst.d/zz-update-grub:
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.19.0-17-amd64
Found initrd image: /boot/initrd.img-4.19.0-17-amd64
Found linux image: /boot/vmlinuz-4.19.0-16-amd64
Found initrd image: /boot/initrd.img-4.19.0-16-amd64
done
Setting up libklibc:amd64 (2.0.6-1+deb10u1) ...
Setting up libx11-data (2:1.6.7-1+deb10u2) ...
Setting up libx11-6:amd64 (2:1.6.7-1+deb10u2) ...
Setting up isc-dhcp-common (4.4.1-2+deb10u1) ...
Setting up klibc-utils (2.0.6-1+deb10u1) ...
Setting up libxml2:amd64 (2.9.4+dfsg1-7+deb10u2) ...
Setting up linux-image-amd64 (4.19+105+deb10u12) ...
Processing triggers for libc-bin (2.28-10) ...
Processing triggers for man-db (2.8.5-2) ...
Log ended: 2021-06-20 09:40:55

Log started: 2021-06-20 09:43:35
(Reading database ... ^M(Reading database ... 5%^M(Reading database
... 10%^M(Reading database ... 15%^M(Reading database ...
20%^M(Reading database ... 25%^M(Reading database ... 30%^M(Reading
database ... 35%^M(Reading database ... 40%^M(Reading database ...
45%^M(Reading database ... 50%^M(Reading database ... 55%^M(Reading
database ... 60%^M(Reading database ... 65%^M(Reading database ...
70%^M(Reading database ... 75%^M(Reading database ... 80%^M(Reading
database ... 85%^M(Reading database ... 90%^M(Reading database ...
95%^M(Reading database ... 100%^M(Reading database ... 31902 files and
directories currently installed.)
Preparing to unpack .../base-files_11.1_amd64.deb ...
Unpacking base-files (11.1) over (10.3+deb10u10) ...
Setting up base-files (11.1) ...
Installing new version of config file /etc/debian_version ...
Installing new version of config file /etc/dpkg/origins/debian ...
Installing new version of config file /etc/issue ...
Installing new version of config file /etc/issue.net ...
Updating /etc/profile to current default.
Updating /root/.profile to current default.
(Reading database ... ^M(Reading database ... 5%^M(Reading database
... 10%^M(Reading database ... 15%^M(Reading database ...
20%^M(Reading database ... 25%^M(Reading database ... 30%^M(Reading
database ... 35%^M(Reading database ... 40%^M(Reading database ...
45%^M(Reading database ... 50%^M(Reading database ... 55%^M(Reading
database ... 60%^M(Reading database ... 65%^M(Reading database ...
70%^M(Reading database ... 75%^M(Reading database ... 80%^M(Reading
database ... 85%^M(Reading database ... 90%^M(Reading database ...
95%^M(Reading database ... 100%^M(Reading database ... 31902 files and
directories currently installed.)
Preparing to unpack .../debianutils_4.11.2_amd64.deb ...
Unpacking debianutils (4.11.2) over (4.8.6.1) ...
Setting up debianutils (4.11.2) ...
(Reading database ... ^M(Reading database ... 5%^M(Reading database
... 10%^M(Reading database ... 15%^M(Reading database ...
20%^M(Reading database ... 25%^M(Reading database ... 30%^M(Reading
database ... 35%^M(Reading database ... 40%^M(Reading database ...
45%^M(Reading database ... 50%^M(Reading database ... 55%^M(Reading
database ... 60%^M(Reading database ... 65%^M(Reading database ...
70%^M(Reading database ... 75%^M(Reading database ... 80%^M(Reading
database ... 85%^M(Reading database ... 90%^M(Reading database ...
95%^M(Reading database ... 100%^M(Reading database ... 31902 files and
directories currently installed.)
Preparing to unpack .../bash_5.1-2+b1_amd64.deb ...
Unpacking bash (5.1-2+b1) over (5.0-4) ...
Setting up bash (5.1-2+b1) ...
update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to
provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode
(Reading database ... ^M(Reading database ... 5%^M(Reading database
... 10%^M(Reading database ... 15%^M(Reading database ...
20%^M(Reading database ... 25%^M(Reading database ... 30%^M(Reading
database ... 35%^M(Reading database ... 40%^M(Reading database ...
45%^M(Reading database ... 50%^M(Reading database ... 55%^M(Reading
database ... 60%^M(Reading database ... 65%^M(Reading database ...
70%^M(Reading database ... 75%^M(Reading database ... 80%^M(Reading
database ... 85%^M(Reading database ... 90%^M(Reading database ...
95%^M(Reading database ... 100%^M(Reading database ... 31904 files and
directories currently installed.)
Preparing to unpack .../bsdmainutils_12.1.7+nmu3_all.deb ...
renamed '/etc/default/bsdmainutils' -> '/etc/default/bsdmainutils.dpkg-remove'
renamed '/etc/cron.daily/bsdmainutils' ->
'/etc/cron.daily/bsdmainutils.dpkg-remove'
Unpacking bsdmainutils (12.1.7+nmu3) over (11.1.2+b1) ...
ESC[1mdpkg:ESC[0m ESC[1;33mwarning:ESC[0m unable to delete old
directory '/etc/calendar': Directory not empty
Selecting previously unselected package bsdextrautils.
Preparing to unpack .../bsdextrautils_2.36.1-7_amd64.deb ...
Unpacking bsdextrautils (2.36.1-7) ...
Selecting previously unselected package gcc-10-base:amd64.
Preparing to unpack .../gcc-10-base_10.2.1-6_amd64.deb ...
Unpacking gcc-10-base:amd64 (10.2.1-6) ...
Setting up gcc-10-base:amd64 (10.2.1-6) ...
Selecting previously unselected package libgcc-s1:amd64.
(Reading database ... ^M(Reading database ... 5%^M(Reading database
... 10%^M(Reading database ... 15%^M(Reading database ...
20%^M(Reading database ... 25%^M(Reading database ... 30%^M(Reading
database ... 35%^M(Reading database ... 40%^M(Reading database ...
45%^M(Reading database ... 50%^M(Reading database ... 55%^M(Reading
database ... 60%^M(Reading database ... 65%^M(Reading database ...
70%^M(Reading database ... 75%^M(Reading database ... 80%^M(Reading
database ... 85%^M(Reading database ... 90%^M(Reading database ...
95%^M(Reading database ... 100%^M(Reading database ... 31825 files and
directories currently installed.)
Preparing to unpack .../libgcc-s1_10.2.1-6_amd64.deb ...
Unpacking libgcc-s1:amd64 (10.2.1-6) ...
Replacing files in old package libgcc1:amd64 (1:8.3.0-6) ...
Setting up libgcc-s1:amd64 (10.2.1-6) ...
Selecting previously unselected package libcrypt1:amd64.
(Reading database ... ^M(Reading database ... 5%^M(Reading database
... 10%^M(Reading database ... 15%^M(Reading database ...
20%^M(Reading database ... 25%^M(Reading database ... 30%^M(Reading
database ... 35%^M(Reading database ... 40%^M(Reading database ...
45%^M(Reading database ... 50%^M(Reading database ... 55%^M(Reading
database ... 60%^M(Reading database ... 65%^M(Reading database ...
70%^M(Reading database ... 75%^M(Reading database ... 80%^M(Reading
database ... 85%^M(Reading database ... 90%^M(Reading database ...
95%^M(Reading database ... 100%^M(Reading database ... 31827 files and
directories currently installed.)
Preparing to unpack .../libcrypt1_1%3a4.4.18-4_amd64.deb ...
Unpacking libcrypt1:amd64 (1:4.4.18-4) ...
Replacing files in old package libc6:amd64 (2.28-10) ...
Setting up libcrypt1:amd64 (1:4.4.18-4) ...
(Reading database ... ^M(Reading database ... 5%^M(Reading database
... 10%^M(Reading database ... 15%^M(Reading database ...
20%^M(Reading database ... 25%^M(Reading database ... 30%^M(Reading
database ... 35%^M(Reading database ... 40%^M(Reading database ...
45%^M(Reading database ... 50%^M(Reading database ... 55%^M(Reading
database ... 60%^M(Reading database ... 65%^M(Reading database ...
70%^M(Reading database ... 75%^M(Reading database ... 80%^M(Reading
database ... 85%^M(Reading database ... 90%^M(Reading database ...
95%^M(Reading database ... 100%^M(Reading database ... 31832 files and
directories currently installed.)
Preparing to unpack .../libc-l10n_2.31-12_all.deb ...
Unpacking libc-l10n (2.31-12) over (2.28-10) ...
Preparing to unpack .../locales_2.31-12_all.deb ...
Unpacking locales (2.31-12) over (2.28-10) ...
Selecting previously unselected package libcbor0:amd64.
Preparing to unpack .../libcbor0_0.5.0+dfsg-2_amd64.deb ...
Unpacking libcbor0:amd64 (0.5.0+dfsg-2) ...
Selecting previously unselected package libfido2-1:amd64.
Preparing to unpack .../libfido2-1_1.6.0-2_amd64.deb ...
Unpacking libfido2-1:amd64 (1.6.0-2) ...
Preparing to unpack .../libselinux1_3.1-3_amd64.deb ...
Unpacking libselinux1:amd64 (3.1-3) over (2.8-1+b1) ...
Setting up libselinux1:amd64 (3.1-3) ...
(Reading database ... ^M(Reading database ... 5%^M(Reading database
... 10%^M(Reading database ... 15%^M(Reading database ...
20%^M(Reading database ... 25%^M(Reading database ... 30%^M(Reading
database ... 35%^M(Reading database ... 40%^M(Reading database ...
45%^M(Reading database ... 50%^M(Reading database ... 55%^M(Reading
database ... 60%^M(Reading database ... 65%^M(Reading database ...
70%^M(Reading database ... 75%^M(Reading database ... 80%^M(Reading
database ... 85%^M(Reading database ... 90%^M(Reading database ...
95%^M(Reading database ... 100%^M(Reading database ... 31845 files and
directories currently installed.)
Preparing to unpack .../openssh-sftp-server_1%3a8.4p1-5_amd64.deb ...
Unpacking openssh-sftp-server (1:8.4p1-5) over (1:7.9p1-10+deb10u2) ...
Preparing to unpack .../openssh-client_1%3a8.4p1-5_amd64.deb ...
Unpacking openssh-client (1:8.4p1-5) over (1:7.9p1-10+deb10u2) ...
Selecting previously unselected package runit-helper.
Preparing to unpack .../runit-helper_2.10.3_all.deb ...
Unpacking runit-helper (2.10.3) ...
Preparing to unpack .../openssh-server_1%3a8.4p1-5_amd64.deb ...
Unpacking openssh-server (1:8.4p1-5) over (1:7.9p1-10+deb10u2) ...
Preparing to unpack .../libc6_2.31-12_amd64.deb ...
Checking for services that may need to be restarted...
Checking init scripts...
Unpacking libc6:amd64 (2.31-12) over (2.28-10) ...
Setting up libc6:amd64 (2.31-12) ...
Checking for services that may need to be restarted...
Checking init scripts...
ESC[1;83rESC[4lESC)0ESC[?25lESC[?1cESC[m^OESC[37mESC[40mESC[1;83rESC[HESC[JESC[1;1HESC[1mESC[37mESC[44m


ESC[2;1H


ESC[3;1H


ESC[4;1H


ESC[5;1H


ESC[6;1H


ESC[7;1H


ESC[8;1H

ESC[9;1H


ESC[10;1H


ESC[11;1H


ESC[12;1H
ESC[13;1H


ESC[14;1H


ESC[15;1H


ESC[16;1H


ESC[17;1H


ESC[18;1H


ESC[19;1H


ESC[20;1H


ESC[21;1H


ESC[22;1H


ESC[23;1H


ESC[24;1H


ESC[25;1H


ESC[26;1H


ESC[27;1H


ESC[28;1H


ESC[29;1H


ESC[30;1H


ESC[31;1H


ESC[32;1H


ESC[33;1H


ESC[34;1H


ESC[35;1H


ESC[36;1H


ESC[37;1H


ESC[38;1H


ESC[39;1H


ESC[40;1H


ESC[41;1H


ESC[42;1H


ESC[43;1H


ESC[44;1H


ESC[45;1H


ESC[46;1H


ESC[47;1H


ESC[48;1H


ESC[49;1H


ESC[50;1H


ESC[51;1H


ESC[52;1H


ESC[53;1H


ESC[54;1H


ESC[55;1H


ESC[56;1H


ESC[57;1H


ESC[58;1H


ESC[59;1H


ESC[60;1H


ESC[61;1H


ESC[62;1H


ESC[63;1H


ESC[64;1H


ESC[65;1H


ESC[66;1H


ESC[67;1H


ESC[68;1H


ESC[69;1H


ESC[70;1H


ESC[71;1H


ESC[72;1H


ESC[73;1H


ESC[74;1H


ESC[75;1H


ESC[76;1H


ESC[77;1H


ESC[78;1H


ESC[79;1H


ESC[80;1H


ESC[81;1H


ESC[82;1H


ESC[83;1H


ESC[83;195HESC[4h ESC[4lESC[1;1HESC[m^OESC[37mESC[44mPackage
configurationESC[37;2H^NESC[30mESC[47mlqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqquESC[m^O^OESC[30mESC[47m
ESC[31mConfiguring libc6:amd64ESC[30m
^NESC[30mESC[47mtqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqkESC[38;2HxESC[m^O^OESC[30mESC[47m



^NESC[30mESC[47mxESC[m^O^OESC[1mESC[37mESC[40m
ESC[39;2HESC[m^O^NESC[30mESC[47mxESC[m^O^OESC[30mESC[47m There are
services installed on your system which need to be restarted when
certain libraries, such as libpam, libc, and libssl, are upgraded.
Since these restarts may cause interruptions
^NESC[30mESC[47mxESC[m^O^OESC[1mESC[37mESC[40m ESC[40;2HESC[m^O^N
ESC[30mESC[47mxESC[m^O^OESC[30mESC[47m of service for the system, you
will normally be prompted on each upgrade for the list of services you
wish to restart. You can choose this option to avoid being prompted;
instead, all ^NESC[30mESC[47mxESC[m^O^OESC[1mESC[37mESC[40m
ESC[41;2HESC[m^O^NESC[30mESC[47mxESC[m^O^OESC[30mESC[47m necessary
restarts will be done for you automatically so you can avoid being
asked questions on each library upgrade.

^NESC[30mESC[47mxESC[m^O^OESC[1mESC[37mESC[40m
ESC[42;2HESC[m^O^NESC[30mESC[47mxESC[m^O^OESC[30mESC[47m



^NESC[30mESC[47mxESC[m^O^OESC[1mESC[37mESC[40m
ESC[43;2HESC[m^O^NESC[30mESC[47mxESC[m^O^OESC[30mESC[47m Restart
services during package upgrades without asking?


^NESC[30mESC[47mxESC[m^O^OESC[1mESC[37mESC[40m
ESC[44;2HESC[m^O^NESC[30mESC[47mxESC[m^O^OESC[30mESC[47m



^NESC[30mESC[47mxESC[m^O^OESC[1mESC[37mESC[40m
ESC[45;2HESC[m^O^NESC[30mESC[47mxESC[m^O^OESC[30mESC[47m
<Yes>

ESC[37mESC[41m<No>ESC[30mESC[47m
^NESC[30mESC[47mxESC[m^O^OESC[1mESC[37mESC[40m
ESC[46;2HESC[m^O^NESC[30mESC[47mxESC[m^O^OESC[30mESC[47m



^NESC[30mESC[47mxESC[m^O^OESC[1mESC[37mESC[40m
ESC[47;2HESC[m^O^NESC[30mESC[47mmqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqjESC[m^O^OESC[1mESC[37mESC[40m
ESC[48;3H


ESC[45;130H


> and the bits of "journalctl -b -u ssh.service"

$ journalctl -b -u ssh.service
Hint: You are currently not seeing messages from other users and the system.
Users in the 'systemd-journal' group can see all messages. Pass -q to
turn off this notice.
No journal files were opened due to insufficient permissions.
olaf@alpha:/var/log/apt$ sudo journalctl -b -u ssh.service
-- Logs begin at Sun 2021-06-20 09:36:36 CEST, end at Sun 2021-06-20
09:46:45 CEST. --
Jun 20 09:36:39 alpha systemd[1]: Starting OpenBSD Secure Shell server...
Jun 20 09:36:39 alpha sshd[389]: Server listening on 0.0.0.0 port 22.
Jun 20 09:36:39 alpha sshd[389]: Server listening on :: port 22.
Jun 20 09:36:39 alpha systemd[1]: Started OpenBSD Secure Shell server.
Jun 20 09:39:31 alpha sshd[483]: Accepted password for olaf from
192.168.2.20 port 49541 ssh2
Jun 20 09:39:31 alpha sshd[483]: pam_unix(sshd:session): session
opened for user olaf by (uid=0)
Jun 20 09:39:43 alpha sshd[733]: Bad protocol version identification
'\004\377\364\377\375\006' from ::1 port 60034
Jun 20 09:41:41 alpha sshd[5430]: Bad protocol version identification
'' from ::1 port 60046
Jun 20 09:43:43 alpha sshd[9559]: Bad protocol version identification
'' from ::1 port 60048
Jun 20 09:43:44 alpha sshd[9968]: fatal: recv_rexec_state: buffer
error: incomplete message
Jun 20 09:43:46 alpha sshd[9970]: fatal: recv_rexec_state: buffer
error: incomplete message

> that show when sshd stopped and started.

$ sudo systemctl status ssh
● ssh.service - OpenBSD Secure Shell server
Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor
preset: enabled)
Active: active (running) since Sun 2021-06-20 09:36:39 CEST; 10min ago
Docs: man:sshd(8)
man:sshd_config(5)
Main PID: 389 (sshd)
Tasks: 1 (limit: 2330)
Memory: 5.2M
CGroup: /system.slice/ssh.service
└─389 /usr/sbin/sshd -D

Jun 20 09:36:39 alpha sshd[389]: Server listening on 0.0.0.0 port 22.
Jun 20 09:36:39 alpha sshd[389]: Server listening on :: port 22.
Jun 20 09:36:39 alpha systemd[1]: Started OpenBSD Secure Shell server.
Jun 20 09:39:31 alpha sshd[483]: Accepted password for olaf from
192.168.2.20 port 49541 ssh2
Jun 20 09:39:31 alpha sshd[483]: pam_unix(sshd:session): session
opened for user olaf by (uid=0)

# telnet localhost 22 attempts:

Jun 20 09:39:43 alpha sshd[733]: Bad protocol version identification
'\004\377\364\377\375\006' from ::1 port 60034
Jun 20 09:41:41 alpha sshd[5430]: Bad protocol version identification
'' from ::1 port 60046
Jun 20 09:43:43 alpha sshd[9559]: Bad protocol version identification
'' from ::1 port 60048
Jun 20 09:43:44 alpha sshd[9968]: fatal: recv_rexec_state: buffer
error: incomplete message
Jun 20 09:43:46 alpha sshd[9970]: fatal: recv_rexec_state: buffer
error: incomplete message

It doesn't seem to be stopped.. but it's just closing any connections:

$ telnet localhost 22
Trying ::1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
olaf@alpha:/var/log/apt$ ssh localhost
kex_exchange_identification: read: Connection reset by peer
Connection reset by ::1 port 22






>
> --
> Colin Watson (he/him) [cjwa...@debian.org]



--
Olaf

Olaf van der Spek

unread,
Jun 20, 2021, 4:50:03 AM6/20/21
to
So I think it's not accepting new connections from the start of the
upgrade run until the end:
Setting up openssh-sftp-server (1:8.4p1-5) ...
Setting up console-setup (1.203) ...
Setting up mime-support (3.66) ...
Setting up openssh-server (1:8.4p1-5) ...
Installing new version of config file /etc/init.d/ssh ...
Installing new version of config file /etc/ssh/moduli ...
Replacing config file /etc/ssh/sshd_config with new version
rescue-ssh.target is a disabled or a static unit, not starting it.

Olaf van der Spek

unread,
Jul 3, 2021, 5:40:03 AM7/3/21
to
Op zo 20 jun. 2021 om 10:38 schreef Olaf van der Spek <olafv...@gmail.com>:
Hi Colin,

Any thoughts on this?

--
Olaf

Colin Watson

unread,
Jul 3, 2021, 7:30:03 PM7/3/21
to
Control: reassign -1 libc6 2.31-12
Control: affects -1 openssh-server
Sorry for my delay - it took me a while to spot the problem. libc6's
postinst does arrange to restart services where needed, but in this case
it doesn't realize that you have the ssh service installed because you
only have the openssh-server package installed, not the ssh metapackage
(i.e. the package with the same name as the service).

I've proposed
https://salsa.debian.org/glibc-team/glibc/-/merge_requests/3 to fix
this. glibc maintainers, if there's any way to get this into bullseye,
I'm sure it would help avoid some people upgrading remote systems ending
up being unable to fix them if something goes wrong between configuring
libc6 and configuring openssh-server. Also CCing debian-release for
their information, as I know it's pretty late for glibc changes.

Olaf van der Spek

unread,
Jul 4, 2021, 5:40:03 AM7/4/21
to
Op zo 4 jul. 2021 om 00:42 schreef Colin Watson <cjwa...@debian.org>:
> Sorry for my delay - it took me a while to spot the problem. libc6's
> postinst does arrange to restart services where needed, but in this case
> it doesn't realize that you have the ssh service installed because you
> only have the openssh-server package installed, not the ssh metapackage
> (i.e. the package with the same name as the service).
>
> I've proposed
> https://salsa.debian.org/glibc-team/glibc/-/merge_requests/3 to fix
> this. glibc maintainers, if there's any way to get this into bullseye,
> I'm sure it would help avoid some people upgrading remote systems ending
> up being unable to fix them if something goes wrong between configuring
> libc6 and configuring openssh-server. Also CCing debian-release for
> their information, as I know it's pretty late for glibc changes.

Thanks Colin!

I assume openssh-server would then be restarted after the "There are
services installed on your system which need to be
restarted when certain libraries, such as libpam, libc, and libssl,
are upgraded." question. But ssh is already 'down' when that question
is being asked, so wouldn't there still be a time window, with
required user interaction, where ssh would be 'down'?




--
Olaf

Paul Gevers

unread,
Jul 4, 2021, 2:00:03 PM7/4/21
to
Hi all,

On 04-07-2021 00:42, Colin Watson wrote:
> Sorry for my delay - it took me a while to spot the problem. libc6's
> postinst does arrange to restart services where needed, but in this case
> it doesn't realize that you have the ssh service installed because you
> only have the openssh-server package installed, not the ssh metapackage
> (i.e. the package with the same name as the service).
>
> I've proposed
> https://salsa.debian.org/glibc-team/glibc/-/merge_requests/3 to fix
> this. glibc maintainers, if there's any way to get this into bullseye,
> I'm sure it would help avoid some people upgrading remote systems ending
> up being unable to fix them if something goes wrong between configuring
> libc6 and configuring openssh-server. Also CCing debian-release for
> their information, as I know it's pretty late for glibc changes.

I think we really want this. I *think* I ran into exactly this issue two
days ago when I upgraded my NAS. It's really scary to notice that you
can't log into your system and your only connection is the current one
running the upgrade. In my case, it was asking questions along the way.
I had considered running the upgrade in screen. In the end it look
longer than expected and I left my laptop on. If I would have run in
screen and disconnected, I would have had no idea what hit me.

Paul

OpenPGP_signature

Olaf van der Spek

unread,
Jul 10, 2021, 3:30:03 AM7/10/21
to
Op di 6 jul. 2021 om 22:21 schreef Debian Bug Tracking System
<ow...@bugs.debian.org>:
> Changes:
> glibc (2.31-13) unstable; urgency=medium
> .
> [ Colin Watson ]
> * debian/debhelper.in/libc.postinst, script.in/nsscheck.sh: Look for
> openssh-server package rather than ssh. Closes: #990069

Hi,

I tried a buster -> unstable upgrade.
While the upgrade is waiting for a response to "Restart services
during package upgrades without asking?" ssh is still down.
It seems to stay down until the end of the apt run.

Greetings,

Olaf

Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 31902 files and directories currently installed.)
Preparing to unpack .../base-files_11.1_amd64.deb ...
Unpacking base-files (11.1) over (10.3+deb10u10) ...
Setting up base-files (11.1) ...
Installing new version of config file /etc/debian_version ...
Installing new version of config file /etc/dpkg/origins/debian ...
Installing new version of config file /etc/issue ...
Installing new version of config file /etc/issue.net ...
Updating /etc/profile to current default.
Updating /root/.profile to current default.
(Reading database ... 31902 files and directories currently installed.)
Preparing to unpack .../debianutils_4.11.2_amd64.deb ...
Unpacking debianutils (4.11.2) over (4.8.6.1) ...
Setting up debianutils (4.11.2) ...
(Reading database ... 31902 files and directories currently installed.)
Preparing to unpack .../archives/bash_5.1-3_amd64.deb ...
Unpacking bash (5.1-3) over (5.0-4) ...
Setting up bash (5.1-3) ...
update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to
provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode
(Reading database ... 31903 files and directories currently installed.)
Preparing to unpack .../bsdmainutils_12.1.7+nmu3_all.deb ...
renamed '/etc/default/bsdmainutils' -> '/etc/default/bsdmainutils.dpkg-remove'
renamed '/etc/cron.daily/bsdmainutils' ->
'/etc/cron.daily/bsdmainutils.dpkg-remove'
Unpacking bsdmainutils (12.1.7+nmu3) over (11.1.2+b1) ...
dpkg: warning: unable to delete old directory '/etc/calendar':
Directory not empty
Selecting previously unselected package bsdextrautils.
Preparing to unpack .../bsdextrautils_2.36.1-7_amd64.deb ...
Unpacking bsdextrautils (2.36.1-7) ...
Selecting previously unselected package gcc-10-base:amd64.
Preparing to unpack .../gcc-10-base_10.2.1-6_amd64.deb ...
Unpacking gcc-10-base:amd64 (10.2.1-6) ...
Setting up gcc-10-base:amd64 (10.2.1-6) ...
Selecting previously unselected package libgcc-s1:amd64.
(Reading database ... 31824 files and directories currently installed.)
Preparing to unpack .../libgcc-s1_10.2.1-6_amd64.deb ...
Unpacking libgcc-s1:amd64 (10.2.1-6) ...
Replacing files in old package libgcc1:amd64 (1:8.3.0-6) ...
Setting up libgcc-s1:amd64 (10.2.1-6) ...
Selecting previously unselected package libcrypt1:amd64.
(Reading database ... 31826 files and directories currently installed.)
Preparing to unpack .../libcrypt1_1%3a4.4.18-4_amd64.deb ...
Unpacking libcrypt1:amd64 (1:4.4.18-4) ...
Replacing files in old package libc6:amd64 (2.28-10) ...
Setting up libcrypt1:amd64 (1:4.4.18-4) ...
(Reading database ... 31831 files and directories currently installed.)
Preparing to unpack .../libc-l10n_2.31-13_all.deb ...
Unpacking libc-l10n (2.31-13) over (2.28-10) ...
Preparing to unpack .../locales_2.31-13_all.deb ...
Unpacking locales (2.31-13) over (2.28-10) ...
Selecting previously unselected package libcbor0:amd64.
Preparing to unpack .../libcbor0_0.5.0+dfsg-2_amd64.deb ...
Unpacking libcbor0:amd64 (0.5.0+dfsg-2) ...
Selecting previously unselected package libfido2-1:amd64.
Preparing to unpack .../libfido2-1_1.6.0-2_amd64.deb ...
Unpacking libfido2-1:amd64 (1.6.0-2) ...
Preparing to unpack .../libselinux1_3.1-3_amd64.deb ...
Unpacking libselinux1:amd64 (3.1-3) over (2.8-1+b1) ...
Setting up libselinux1:amd64 (3.1-3) ...
(Reading database ... 31844 files and directories currently installed.)
Preparing to unpack .../openssh-sftp-server_1%3a8.4p1-5_amd64.deb ...
Unpacking openssh-sftp-server (1:8.4p1-5) over (1:7.9p1-10+deb10u2) ...
Preparing to unpack .../openssh-client_1%3a8.4p1-5_amd64.deb ...
Unpacking openssh-client (1:8.4p1-5) over (1:7.9p1-10+deb10u2) ...
Selecting previously unselected package runit-helper.
Preparing to unpack .../runit-helper_2.10.3_all.deb ...
Unpacking runit-helper (2.10.3) ...
Preparing to unpack .../openssh-server_1%3a8.4p1-5_amd64.deb ...
Unpacking openssh-server (1:8.4p1-5) over (1:7.9p1-10+deb10u2) ...
Preparing to unpack .../libc6_2.31-13_amd64.deb ...
Checking for services that may need to be restarted...
Checking init scripts...
Unpacking libc6:amd64 (2.31-13) over (2.28-10) ...
Setting up libc6:amd64 (2.31-13) ...
Checking for services that may need to be restarted...
Checking init scripts...
Configuring libc6:amd64
-----------------------

There are services installed on your system which need to be restarted
when certain libraries, such as libpam, libc, and libssl, are
upgraded. Since these restarts may cause interruptions of
service for the system, you will normally be prompted on each upgrade
for the list of services you wish to restart. You can choose this
option to avoid being prompted; instead, all necessary
restarts will be done for you automatically so you can avoid being
asked questions on each library upgrade.

Restart services during package upgrades without asking? [yes/no]

--
Olaf

Olaf van der Spek

unread,
Jul 31, 2021, 3:10:04 AM7/31/21
to
Package: libc6
Version: 2.31-13
Followup-For: Bug #990069
X-Debbugs-Cc: olafv...@gmail.com

Dear Maintainer,

The original issue of not being able to open a new SSH connection during the upgrade still seems to be present.

Greetings,

Olaf

-- System Information:
Debian Release: 11.0
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-17-amd64 (SMP w/1 CPU thread)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libc6 depends on:
ii libcrypt1 1:4.4.18-4
ii libgcc-s1 10.2.1-6

Versions of packages libc6 recommends:
ii libidn2-0 2.3.0-5
ii libnss-nis 3.1-4
ii libnss-nisplus 1.3-4

Versions of packages libc6 suggests:
ii debconf [debconf-2.0] 1.5.77
pn glibc-doc <none>
ii libc-l10n 2.31-13
ii locales 2.31-13

-- debconf information:
glibc/disable-screensaver:
glibc/kernel-not-supported:
* libraries/restart-without-asking: true
glibc/upgrade: true
glibc/kernel-too-old:
glibc/restart-services:
glibc/restart-failed:

Ron

unread,
Aug 4, 2021, 1:10:03 AM8/4/21
to
On Tue, Aug 03, 2021 at 10:08:42PM +0200, Aurelien Jarno wrote:
> On 2021-08-01 00:05, Ron wrote:
> >
> > Unpacking openssh-sftp-server (1:8.4p1-5) over (1:7.9p1-10+deb10u2) ...
> > Preparing to unpack .../openssh-client_1%3a8.4p1-5_amd64.deb ...
> > Unpacking openssh-client (1:8.4p1-5) over (1:7.9p1-10+deb10u2) ...
> > Preparing to unpack .../runit-helper_2.10.3_all.deb ...
> > Unpacking runit-helper (2.10.3) ...
> > Preparing to unpack .../openssh-server_1%3a8.4p1-5_amd64.deb ...
> > Unpacking openssh-server (1:8.4p1-5) over (1:7.9p1-10+deb10u2) ...
> > Preparing to unpack .../libc6_2.31-13_amd64.deb ...
> > Checking for services that may need to be restarted...
> > Checking init scripts...
> > Unpacking libc6:amd64 (2.31-13) over (2.28-10) ...
> > Setting up libc6:amd64 (2.31-13) ...
> > Checking for services that may need to be restarted...
> > Checking init scripts...
> > Services to restart for GNU libc library upgrade:
> > cron atd
> > Restarting services possibly affected by the upgrade:
> > cron: restarting...done.
> > atd: restarting...done.
> > Services restarted successfully.
> > Preparing to unpack .../libc-bin_2.31-13_amd64.deb ...
> > Unpacking libc-bin (2.31-13) over (2.28-10) ...
> > Setting up libc-bin (2.31-13) ...
> > ...
> > <much later>
> > ...
> > Setting up openssh-server (1:8.4p1-5) ...
>
> Thanks for this upgrade log, with it I have been able to understand and
> reproduce the issue. The libc restart logic looks for installed
> packaged, however due to all the breaks and depends between
> openssh-server and libc6 in the buster -> bullseye upgrade path, it
> could happen that at the moment the libc6 postinst script is ran, the
> openssh-server has been degraded from installed to unpacked.
>
> I have tested the following fix, which works well when used in the same
> conditions as the above log:
>
> diff --git a/debian/script.in/nsscheck.sh b/debian/script.in/nsscheck.sh
> index 8406a543..ee99ac16 100644
> --- a/debian/script.in/nsscheck.sh
> +++ b/debian/script.in/nsscheck.sh
> @@ -1,8 +1,8 @@
> echo -n "Checking for services that may need to be restarted..."
> # Only get the ones that are installed, of the same architecture
> # as libc (or arch all) and configured
> - check=$(dpkg-query -W -f='${binary:Package} ${Status} ${Architecture}\n' $check 2> /dev/null | \
> - grep -E "installed (all|${DPKG_MAINTSCRIPT_ARCH})$" | sed 's/[: ].*//')
> + check=$(dpkg-query -W -f='${binary:Package} ${db:Status-Want} ${Architecture}\n' $check 2> /dev/null | \
> + grep -E "(install|hold) (all|${DPKG_MAINTSCRIPT_ARCH})$" | sed 's/[: ].*//')
> # some init scripts don't match the package names
> check=$(echo $check | \
> sed -e's/\bapache2.2-common\b/apache2/g' \
>
> However before uploading such a fix so close to the release, I think it
> requires a review by many more pair of eyes.

Again flying blind to a lot of important details -- but what happens if
libc postinst tries to restart a service that is unpacked but not yet
configured?

I'm guessing that depends a lot on what the service post* do, but how
horrible could that get? Does this really need to be a trigger that
(also?) restarts each of the half-installed services after they are
fully (re)configured again?

I was able to restart ssh manually during the upgrade, but by the time I
figured out that was what was needed, the install was probably far enough
through that it had likely been configured and was fully installed again ...

Cheers,
Ron

Aurelien Jarno

unread,
Aug 4, 2021, 4:50:04 AM8/4/21
to
Hi,
Well this bug report complains that SSH is unavailable during an upgrade
until the package is fully configured again. For making it available
again as soon as possible, it has to be restarted after the new glibc
has been installed, even if it has only been unpacked at this stage.

That said you are fully right that it might not work for some other
services.

> I was able to restart ssh manually during the upgrade, but by the time I
> figured out that was what was needed, the install was probably far enough
> through that it had likely been configured and was fully installed again ...

Given I have been able to reproduce the issue, I have tested the above
patch, and I can confirm that openssh can be restarted when it has only
been unpacked.

Regards,
Aurelien

--
Aurelien Jarno GPG: 4096R/1DDD8C9B
aure...@aurel32.net http://www.aurel32.net

Aurelien Jarno

unread,
Aug 4, 2021, 6:40:03 AM8/4/21
to
Actually, it was exactly what was happening with glibc 2.31-12 for
systems where the ssh meta-package was installed. I am afraid that the
change actually made things worse for those systems, although it was
only working by chance.

Andres Salomon

unread,
Aug 12, 2021, 10:10:05 PM8/12/21
to
Hi,

So this only affects users who do or do not have the ssh metapackage
installed? This bug report is a bit confusing.

Thanks,

Andres

Paul Gevers

unread,
Aug 13, 2021, 10:40:04 AM8/13/21
to
On Thu, 12 Aug 2021 21:51:09 -0400 Andres Salomon <dili...@queued.net>
wrote:
> So this only affects users who do or do not have the ssh metapackage
> installed?

I'm pretty sure it effects both.

Paul

OpenPGP_signature

Aurelien Jarno

unread,
Aug 16, 2021, 9:00:04 AM8/16/21
to
Hi,

On 2021-08-12 21:51, Andres Salomon wrote:
> Hi,
>
> So this only affects users who do or do not have the ssh metapackage
> installed? This bug report is a bit confusing.
>

It used to affects all users who do or do not have the ssh metapackage
installed, however following the fix that went into 2.31-13, all users
are now affected.

Tim Connors

unread,
Oct 4, 2021, 6:20:04 AM10/4/21
to
reopen 990069
thanks.

With these packages installed:

24573,4> dpkg --get-selections | grep ssh
clusterssh install
libssh-4:amd64 install
libssh-gcrypt-4:amd64 install
libssh2-1:amd64 install
openssh-client install
openssh-server install
openssh-sftp-server install
ssh-askpass install
sshfs install

This particular system is sysv, but I think my other machines suffering
this same problem were already on systemd by the time I upgraded.


24583,14> sudo grep -e ssh -e libc6 -e Restarting -e '^ [a-z]' -e Services /var/log/apt/term.log
Replacing files in old package libc6:amd64 (2.28-10) ...
Replacing files in old package libc6:i386 (2.28-10) ...
Preparing to unpack .../06-openssh-sftp-server_1%3a8.4p1-5_amd64.deb ...
Unpacking openssh-sftp-server (1:8.4p1-5) over (1:7.9p1-10+deb10u2) ...
Preparing to unpack .../13-openssh-client_1%3a8.4p1-5_amd64.deb ...
Unpacking openssh-client (1:8.4p1-5) over (1:7.9p1-10+deb10u2) ...
Preparing to unpack .../15-openssh-server_1%3a8.4p1-5_amd64.deb ...
Unpacking openssh-server (1:8.4p1-5) over (1:7.9p1-10+deb10u2) ...
Preparing to unpack .../0-libc6-dev_2.31-13_amd64.deb ...
Unpacking libc6-dev:amd64 (2.31-13) over (2.28-10) ...
Preparing to unpack .../libc6_2.31-13_i386.deb ...
De-configuring libc6:amd64 (2.28-10) ...
Unpacking libc6:i386 (2.31-13) over (2.28-10) ...
Preparing to unpack .../libc6_2.31-13_amd64.deb ...
Unpacking libc6:amd64 (2.31-13) over (2.28-10) ...
Setting up libc6:amd64 (2.31-13) ...
Restarting services possibly affected by the upgrade:
smbd: restarting...done.
openbsd-inetd: restarting...done.
exim4: restarting...done.
cron: restarting...done.
autofs: restarting...done.
atd: restarting...done.
Services restarted successfully.
Setting up libc6:i386 (2.31-13) ...
Preparing to unpack .../libc6-dbg_2.31-13_amd64.deb ...
Unpacking libc6-dbg:amd64 (2.31-13) over (2.28-10) ...
Restarting services possibly affected by the upgrade:
samba-ad-dc: stopping...starting...done.
smbd: stopping...starting...done.
exim4: stopping...starting...done.
cron: stopping...starting...done.
atd: stopping...starting...done.
Services restarted successfully.
Preparing to unpack .../137-libssh-gcrypt-4_0.9.5-1+deb11u1_amd64.deb ...
Unpacking libssh-gcrypt-4:amd64 (0.9.5-1+deb11u1) over (0.8.7-1+deb10u1) ...


At this point, there's:
24572,2> ls -lA /etc/init.d/ssh*
-rwxr-xr-x 1 root root 3939 Feb 1 2020 /etc/init.d/ssh
-rwxr-xr-x 1 root root 4056 Mar 13 2021 /etc/init.d/ssh.dpkg-new

and ssh isn't yet started - I did that manually because I knew the problem
was going to arise.




--
Tim Connors
0 new messages