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

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



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

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421


Reply to: