[Pkg-systemd-maintainers] Bug#721244: Bug#721244: Use command line parameter instead of env var for purging a service

Michael Stapelberg stapelberg at debian.org
Sat Sep 14 03:08:29 BST 2013


Hi Michael,

Michael Biebl <biebl at debian.org> writes:
> dh-systemd generates that sets _DEB_SYSTEMD_HELPER_PURGE=1 in postrm
> which modifies the behaviour of "deb-systemd-helper disable"
For people unfamiliar with the situation: the intention originally was
to use the same verbs that systemctl offers so that deb-systemd-helper
is a drop-in replacement, which can be swapped out for calling systemctl
directly in the future.

Given that we have a couple of custom verbs by now and would need to
change maintscripts anyway, this bugreport is not entirely unreasonable
:-).

> I think it would be nicer, to use an explicit verb for that special
> cleanup, i.e. "deb-systemd-helper purge".
Agreed. What keeps me from simply doing that is that I don’t know how
exactly we would safely transition from what we have currently to using
“deb-systemd-helper purge”, i.e. whether it would require adding a
Pre-Depends or something like that to ensure that scripts keep working
everywhere in the configuration phase.

That whole thinking and migrating hardly seems worth the effort, IMO, so
I will not work on that. Patches accepted in case they come with enough
solid testing and research to convince me that my concern above is
adressed :-).

-- 
Best regards,
Michael




More information about the Pkg-systemd-maintainers mailing list