[Pkg-systemd-maintainers] Bug#717603: Acknowledgement (How to handle service files, where [Install] has changed)
Michael Stapelberg
stapelberg at debian.org
Wed Jul 24 21:49:44 BST 2013
clone 717603 -1
retitle -1 Handle Alias= lines for disabled service files
thanks
Hi,
Michael Stapelberg <stapelberg at debian.org> writes:
>> 6) Upgrade to p2 1.0-2, verify the state file gets updated, the service
>> is still not enabled and the alias was created.
> The alias does not get created. This is because we don’t run
> “deb-systemd-helper enable” in this situation. I think we should, and
> run “deb-systemd-helper disable” on first installation, which should
> create the state files so that the enable is a noop.
Thinking about it, this is a more general issue:
Alias= lines should be handled even if “dh_systemd_enable --no-enable”
is used, both on package installation and on upgrades when the [Install]
section changes.
Moving this to a separate bug, because this particular problem is about
Alias= being ignored for _disabled_ unit files. For enabled unit files,
our current code works, even if the section changes.
--
Best regards,
Michael
More information about the Pkg-systemd-maintainers
mailing list