Bug#830208: dh_installinit tries to do dh_systemd_start's job

Niels Thykier niels at thykier.net
Wed Jul 20 06:56:00 BST 2016


Michael Biebl:
> Hi
> 
> Am 19.07.2016 um 19:28 schrieb Niels Thykier:
>> [...]
>>
>> Michael/Martin: What is your take - should we just disable the service
>> handling in dh_installinit for compat 10 or newer?  AFAICT, it should
>> "just work(tm)" and now would be the time to do it if we want it in
>> compat 10.
> 
> The interaction between dh_installinit and dh_systemd_* is a bit tricky
> and it's been a while since I looked at it. So I'm a bit wary to simply
> disable the systemd specific parts. This would need a closer look.
> 
> In general, I certainly agree though that we want to reduce the
> duplicate functionality. I'm just not entirely sure yet, if merging the
> dh_systemd_* helpers into dh_installinit or pulling the systemd specific
> bits out of dh_installinit into dh_systemd_* is the way to go.
> Both approaches have their pros and cons.
> 
> Regards,
> Michael
> 

Can you elaborate on the pros/cons you see?  AFAICT, pushing it all to
dh_systemd_* in compat 10 or compat 11 would "just work" for the
dh-sequencer (and we can have cdbs work as well).  For other uses, it is
just a question of documenting in the compat change (which may or may
not be an argument for pushing it to compat 11).

Thanks,
~Niels





More information about the Pkg-systemd-maintainers mailing list