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

2021-12-29 Thread Colin Watson
On Wed, Dec 29, 2021 at 07:45:11AM +0100, Marc Haber wrote: > On Tue, Dec 28, 2021 at 10:47:54PM +, 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

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

2021-12-28 Thread Marc Haber
Hi Colin, thank you for addressing this. I appreciate that. On Tue, Dec 28, 2021 at 10:47:54PM +, 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

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

2021-12-28 Thread Colin Watson
On Sat, Dec 25, 2021 at 08:18:11AM +0100, Marc Haber wrote: > On Fri, Dec 24, 2021 at 11:04:20PM +, 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

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

2021-12-24 Thread Marc Haber
On Fri, Dec 24, 2021 at 11:04:20PM +, 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: > > -

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

2021-12-24 Thread Colin Watson
On Fri, Dec 24, 2021 at 02:21:16PM +0100, Timo Weingärtner wrote: > 24.12.21 12:22 Marc Haber: > > So we agree here that it's mainly a documentation issue for ssh, so that > > it should be recommended to actually mask ssh.service if socket > > activation is used, right? > > For the bug on

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

2021-12-24 Thread Marc Haber
On Fri, Dec 24, 2021 at 02:21:16PM +0100, Timo Weingärtner wrote: > For needrestart we have the problem of the heuristics, that were designed for > non-systemd-systems, also being used on a systemd-system. I have filed Bug#1002591 for needrestart. Greetings Marc --

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

2021-12-24 Thread Timo Weingärtner
Hallo Marc Haber, 24.12.21 12:22 Marc Haber: > So we agree here that it's mainly a documentation issue for ssh, so that > it should be recommended to actually mask ssh.service if socket > activation is used, right? For the bug on openssh: yes. Documentation could look like: If you decide to use

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

2021-12-24 Thread Marc Haber
So we agree here that it's mainly a documentation issue for ssh, so that it should be recommended to actually mask ssh.service if socket activation is used, right? Greetings Marc -- - Marc Haber | "I don't trust

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

2021-12-20 Thread Timo Weingärtner
Hallo Marc Haber, 19.12.21 16:15 Marc Haber: > On Wed, Dec 08, 2021 at 04:01:30PM +0100, Timo Weingärtner wrote: > > 08.12.21 13:31 Marc Haber: > > > I am running a number of test systems with ssh as socket activated > > > service. Sometimes, after an update, I find myself without ssh access to >

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

2021-12-19 Thread Marc Haber
Hi Timo, On Wed, Dec 08, 2021 at 04:01:30PM +0100, Timo Weingärtner wrote: > 08.12.21 13:31 Marc Haber: > > I am running a number of test systems with ssh as socket activated > > service. Sometimes, after an update, I find myself without ssh access to > > those systems (connection refused). After

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

2021-12-08 Thread Timo Weingärtner
Hallo Marc Haber, 08.12.21 13:31 Marc Haber: > I am running a number of test systems with ssh as socket activated > service. Sometimes, after an update, I find myself without ssh access to > those systems (connection refused). After a console login and systemctl > restart ssh.socket, things are

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

2021-12-08 Thread Marc Haber
Package: openssh-server Version: 1:8.7p1-2 Severity: minor Hi, I am running a number of test systems with ssh as socket activated service. Sometimes, after an update, I find myself without ssh access to those systems (connection refused). After a console login and systemctl restart ssh.socket,