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 <YcbFs91FHaTlPLKP__15178.4639385127$1640416889$gmane$org@torres.zugschlus.de>
On Fri, Dec 24, 2021 at 11:04:20PM +0000, Colin Watson wrote:
> diff --git a/debian/README.Debian b/debian/README.Debian
> index dbe6c2958..0851e38e3 100644
> --- a/debian/README.Debian
> +++ b/debian/README.Debian
> @@ -193,9 +193,12 @@ you can run:
>  
>  To make this permanent:
>  
> -  systemctl disable ssh.service
> +  systemctl mask ssh.service
>    systemctl enable ssh.socket

I think the service needs to be stopped (and disable?) before masking
it.

I would also mention that there might be cases of logins no longer
possible regarding library updates and needrestart. This is a serious
situation.

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.