Bug#1001320: needrestart misdetects socket activated ssh and restarts service instead of socket

Marc Haber <[email protected]>
Newsgroups gmane.linux.debian.devel.ssh
Message-ID <YcwD986TRmtz+xgA__10014.2615310446$1640760504$gmane$org@torres.zugschlus.de>
Hi Colin,

thank you for addressing this. I appreciate that.

On Tue, Dec 28, 2021 at 10:47:54PM +0000, Colin Watson wrote:
> On Sat, Dec 25, 2021 at 08:18:11AM +0100, Marc Haber wrote:
> > I would also mention that there might be cases of logins no longer
> > possible regarding library updates and needrestart. This is a serious
> > situation.
> 
> Thanks, I've tweaked the parenthesis a bit more with that in mind.

Technically, with socket activation, there is no "running sshd" while
nobody is logged in, but I still can log in. The issue is that if this
issue appears I can no longer log in because nothing, not even systemd,
is listening on Port 22.

Greetings
Marc
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.