clone 717603 -1
retitle -1 Handle Alias= lines for disabled service files
thanks

Hi,

Michael Stapelberg <stapelb...@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


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to