On Tue, Jan 28, 2020 at 05:02:38PM +0100, Michael Biebl wrote:
[...]
> Assuming the .service isn't just a wrapper around the init script.
> Unfortunately, we do have quite a few packages which use this
> anti-pattern :-/
> 
> https://codesearch.debian.net/search?q=ExecStart%3D%2Fetc%2Finit.d%2F&literal=1&perpkg=1

https://lintian.debian.org/tags/systemd-service-file-wraps-init-script.html

It seems "Debian OpenStack" is the main offender so unless people use
openstack the problem possibly isn't that widely spread.

This however serves as a good reminder that it's not enough to just
check that there's a masking native systemd unit.
(I'll probably forget about that very soon again, but atleast there's
now a note/warning about this case in this bugs history! :)

(It might be time to ask lintian maintainers to consider raising
severity or turning some warnings into errors for systemd-related
lintian checks.)

Regards,
Andreas Henriksson

Reply via email to