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

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



Control: reassign -1 libc6 2.31-12
Control: affects -1 openssh-server

On Sat, Jul 03, 2021 at 11:36:49AM +0200, Olaf van der Spek wrote:
> Op zo 20 jun. 2021 om 10:38 schreef Olaf van der Spek <olafvdspek@gmail.com>:
> > 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.
> 
> Hi Colin,
> 
> Any thoughts on this?

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.

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


Reply to: