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

Timo Weingärtner <[email protected]>
Newsgroups gmane.linux.debian.devel.ssh
Message-ID <9131565.Y7gza5jLEj__37364.0542662301$1640352269$gmane$org@timo01.tiwe.de>
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
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEE87+TxUS8xnavTxo5VO6rSJSm4+0FAmHFyUwACgkQVO6rSJSm
4+3FQw/8Cf9Qf2KVxzdkLvhdKZ0sk47Kmh/2zoBFgZs6IZKI59YadfiyW8TWC88a
W+1VliPYlhrHUB/k3o8ooj42oRHbYQhIaxT0c7cbtizBxPFTwyMdJGU9LFQ/yfGm
KaSYH9T1iYZeakwXijIJV/cJw9uFZqfVm1KTMgYZs9DiDWdN4lEG1tbNkN85YgVm
FY2Ktytm/K6w9kMtUnnuujfE40O/vO34vwzbmVm6mQwmGzKAFEgEV9Bz6I7d0kaS
U8/IIC6jQLcoTaf37VELsTx5qSGR/Tn9nXAaQM3+VcgunDO4j4UTQ7FIbgxBkP/S
DLPhXWWXKFy++42VsuIDoH5y8rdM3uAtyG0lk1SgANaUOkG2q83nt+CBiIT4Mzg1
pjX24GceA/xwbbXmp1V7dqIIWKOxq/hkRmAMup4FIL6nZ7qLCXsBSmPDGzQwuqEu
IZc/kMSWROfEaTwZUtlJIfyA8nTKYx623ffALmUU0Iqs1WccDE5HD5z1bxEojIFE
y1YyRECW1yyEYlTvsn4LnMiHq3CpSJaDmw0bJDfMCeagXtpdb7zcxMF7d/ELMLqK
FHJEdKYujC3eb3L1LjUUyvgxv2MuY3Yg7ExFw5SfAm9trNdKYiKmCwOCO8EsPzd2
M9oYOMGMjm9ZAlXASVQc+/dwxgJmH8VHlrRQhQiZNgCzT5YcvzA=
=J9BH
-----END PGP SIGNATURE-----
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.