Hi Richard, Le 2023-11-02 09:01, Richard Lucassen a écrit : > Package: chrony > Version: 4.4-3 > Severity: normal > > I run chronyd supervised. Therefore I removed symlinks in /etc/rc2.d/ > (update-rc.d chrony remove). > But after an upgrade the deb package installs new symlinks in /etc/rc2.d/ and > starts chronyd, even though chronyd is SysV disabled. > > Please check if /etc/rc2.d/*chrony symlinks exist, if not, don't add these > and do not start chronyd. Maybe it's a good idea to just display a warning in > that case. >
I'm closing this bug report as this is, to me, not something that should handled on the packaging side. From update-rc.d(8): A common system administration error is to delete the links with the thought that this will "disable" the service, i.e., that this will prevent the service from being started. However, if all links have been deleted then the next time the package is upgraded, the package's postinst script will run update-rc.d again and this will reinstall links at their factory de- fault locations. The correct way to disable services is to configure the service as stopped in all runlevels in which it is started by default. In the System V init system this means renam- ing the service's symbolic links from S to K. .P The script .BI /etc/init.d/ name must exist before update-rc.d is run to create the links. Running 'update-rc.d chrony disable' as root should work too. > Richard. Have a good day, Vincent
signature.asc
Description: PGP signature