#944068 git-daemon-run: Pending update in runit will make git-daemon-run buggy

Package:
git-daemon-run
Source:
git
Submitter:
Lorenzo Puliti
Date:
2019-11-03 18:57:04 UTC
Severity:
normal
Tags:
#944068#5
Date:
2019-11-03 18:55:11 UTC
From:
To:
Dear Git Maintainer,
(runit maintainer in CC)

Since runit 2.1.2-36, update-service will be used also to record the local admin
settings about the wanted status of a service (enabled/disabled).
See #942323 to understand why this was done.
This change will make git-daemon-run buggy in that using update-service
in maintscripts will overwrite local admin preference.

I've attached a patch that tries to emulate the logic of dh-runit, can you
have a look? Ideally this should be uploaded before runit.

Thanks,
Lorenzo