[Pkg-systemd-maintainers] Bug#717603: Bug#717603: How to handle service files, where [Install] has changed
Michael Stapelberg
stapelberg at debian.org
Tue Jul 23 07:24:03 BST 2013
Hi Michael,
There are multiple issues here:
1) If the [Install] section changes, deb-systemd-enable needs to update
its state file, so that it can remove all symlinks on purge.
2) As you mentioned, we also need to create all not-yet-created
symlinks.
Right now, I think this requires a new command, since
deb-systemd-helper is-enabled will most likely not return true after
the changed service file is present, so the naive
deb-systemd-helper is-enabled && deb-systemd-helper reenable
is not enough.
This seems like a good point to add a testsuite to i-s-h, to ensure we
don’t break what we currently have when adding that feature.
--
Best regards,
Michael
More information about the Pkg-systemd-maintainers
mailing list