[2019-01-23 12:41] Jonathan Nieder <[email protected]>
> Dmitry Bogatov wrote:
> >> Jonathan Nieder wrote:
>
> >>> + * git-daemon-run: pre-create supervise directory so that postinst
> >>> + can start the service (thx Celejar and Dmitry Bogatov; closes:
> >>> + #919296).
> [...]
> > Wierd. It should work. /etc/sv/git-daemon/supervise is not dangling, is
> > it? Tell me which git commit I should build and test, in effort to help
> > debugging?
>
> It's not dangling.
>
> I tested with the debian-sid branch, with the patch in the message I
> sent applied on top. That said:
>
> [...]
> > It is my fault. I dropped /var/lib/supervise directory in runit=2.1.2-4,
> > which was expected by git-daemon-run.
> >
> > Today runit packaging underwent quite a rework, and packages, providing
> > runscripts are encouraged to use dh_runit(1). It manages creation of
> > apporiate directories and symbolic links. If you have any issues, do not
> > hezitate to ask -- runit is my top priority.
>
> Thanks, these are two good starting points. I'll take a look at the
> 2.1.2-4 changes and into whether it's simple to use dh_runit. Hopefully
> the latter will take care of everything. :)
As promised, I applied patch over debian-sid branch and rebuilt package.
It worked out-of-box, except on on postinst, it output warning
about missing 'supervision/control', originating from this line:
sv -v term git-daemon || :
but it is harmless. You observe another, more buggy behaviour, don't you?
--
Note, that I send and fetch email in batch, once every 24 hours.
If matter is urgent, try https://t.me/kaction
--