[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



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 socket activation consider masking ssh.service to avoid 
accidentally doing the wrong thing with "service ssh restart" or equivalent.

For needrestart we have the problem of the heuristics, that were designed for 
non-systemd-systems, also being used on a systemd-system.


Grüße
Timo

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: