Call init-system-helpers for all packages shipping .service with an [Install] section
Laurent Bigonville
bigon at debian.org
Tue May 20 23:40:49 BST 2014
Hello,
Currently some packages that are shipping a .service are not calling
init-system-helpers. This is probably OK for .service files without an
[Install] section.
However, I think that all the packages that are shipping a .service
file WITH an [Install] section must really call init-system-helpers
even if the service is disabled or not automatically started at boot.
If it's not the case and if the user has explicitly enabled the
service, a dangling symlink might be left behind on purge.
Quickly looking at dh_systemd_enable, the same template is used in the
postrm script even if it's called with the --no-enable flag, so it
should be OK.
I guess the mini-policy should be updated and insist on this?
Any thoughts?
Cheers,
Laurent Bigonville
More information about the Pkg-systemd-maintainers
mailing list