Hi Gerrit, On Tue, May 08, 2007 at 08:09:40AM +0000, Gerrit Pape wrote: >On Thu, May 03, 2007 at 08:30:23PM +0200, Aur??lien G??R??ME wrote: >> I completely fail to see why git-daemon-run depends on runit which >> is a replacement of sysvinit. Please remove that package from the >> Depends field. This bug appears in both Etch and Sid. > >Hi, this doesn't make sense, the whole and single purpose of the >git-daemon-run package is to provide a runit service. Try dpkg -L >git-daemon-run. The git-daemon program itself is in the git-core >package.
Well, AFAICT, git-daemon-run can also be run either as a standalone service from an /etc/init.d script or as an inetd/xinetd service. >> I set the severity to important, because this bug leaves the package >> in an unconfigured state inside a vserver context. Precisely, the >> postinst maintainer script of runit fails to send a SIGHUP to init, >> because sysvinit is not used inside a vserver context, so there is >> no need to reread /etc/inittab. >> >> We might believe that it is a runit bug, but runit is fully > >It might be a bug in the runit Debian package, yes. It is actually the "kill -HUP 1" in the postinst of git-daemon-run which is at fault. >> useless inside a vserver context, so nobody would install such a >> software. Unfortunately, git-daemon-run installs it by the dependency >> mechanism. > >Ups, it's useless inside a vserver context?, I didn't know about that, >that would be another bug in the runit Debian package then. As a matter of fact, I did not know runit before I setup my git server and I was quite surprised that the git-daemon-run official Debian package would not be setup to run either as standalone or as an inetd/xinetd service. Maybe would it be possible to switch it to a standalone server? I can provide you a patch and a debconf question to do that, i.e. either the actual behaviour with runit or a standalone server. Please tell me your thoughts about it. :] Cheers, -- .''`. Aurélien GÉRÔME : :' : `. `'` Free Software Developer `- Unix Sys & Net Admin
signature.asc
Description: Digital signature