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

Colin Watson <[email protected]>
Newsgroups gmane.linux.debian.devel.ssh
Message-ID <YcxNz2Elx+rDcNtt__49851.0298830055$1640779409$gmane$org@riva.ucam.org>
On Wed, Dec 29, 2021 at 07:45:11AM +0100, Marc Haber wrote:
> 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.

Fair enough - I've adjusted the documentation a bit further to make that
clear.
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.