threads / bug / 43953

Suspected Bug in git install procedure [ git-daemon-run (version 1:2.9.3-1) ]

Subject: Suspected Bug in git install procedure [ git-daemon-run (version 1:2.9.3-1) ]

## tl;dr

3 messages between Aug 29, 2016 and Aug 29, 2016.

replies: 2people: 2as markdown or json

Jean-Marc B. van Schendel· Aug 29, 2016, 04:29 UTC · lore
Hi,
Not really a bad bug, apparently just one little detail...

Symptoms: On a fresh new install of Debian "Stretch" (8.5 alpha7, dated 2016-06-30), Trying to install a subset of Git packages (roughly, all those listed in git-all, except CVS-related packages) Install of package git-daemon-run (version 1:2.9.3-1) fails, dpkg reporting error

Assumed cause: The directory /etc/service does not exist, and the install procedure does not create it, subsequently fails to create a symlink (git-daemon --> /etc/sv/git-daemon)

Workaround used: Manually created, directory /etc/service and ... it seems to work fine...

Dunno's... It seems like the location for the newly created symlink may be hard-coded as /etc/service/. I cannot substantiate whether this location is a "universal invariant", or something platform-specific, which ought to be documented in one way or another. The "real'' cause of the problem might as well be that the install of Debian silently failed to create /etc/service/ (either as a folder or as a symlink to anwhere else)... The git daemon is the first standalone daemon I am installing on this system. From my point of view, it sounds possible that another standalone daemon (eg. ProFTPd) might have reported the same problem if I had installed it before git...

Kind regards

--jmbvs Jean-Marc B. van Schendel email: jeanmarc.vanschendel@gmail.com voice: +32.(0)474.70.3885 msn: jmbvs@hotmail.com

Jeff King· Aug 29, 2016, 05:05 UTC · re: Jean-Marc B. van Schendel · lore

Re: Suspected Bug in git install procedure [ git-daemon-run (version 1:2.9.3-1) ]

On Mon, Aug 29, 2016 at 06:29:04AM +0200, Jean-Marc B. van Schendel wrote:
Show 6 quoted lines
> Symptoms:
> On a fresh new install of Debian "Stretch" (8.5 alpha7, dated 2016-06-30),
> Trying to install a subset of Git packages (roughly, all those listed
> in git-all, except CVS-related packages)
> Install of package git-daemon-run (version 1:2.9.3-1) fails, dpkg
> reporting error

The git-daemon-run package is entirely a Debian creation, and has more to do with "runit" than it does with "git daemon" itself. In particular, your problem:

> Assumed cause:
> The directory /etc/service does not exist, and the install procedure
> does not create it, subsequently fails to create a symlink (git-daemon
> --> /etc/sv/git-daemon)

looks like it's about the system runit setup. I didn't dig, but it's probably related to:

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=834087
-Peff
Jean-Marc B. van Schendel· Aug 29, 2016, 07:15 UTC · re: Jeff King · lore

Re: Suspected Bug in git install procedure [ git-daemon-run (version 1:2.9.3-1) ]

Thanks for the reply... Indeed there was a problem with the runit package (2.1.2-5), which _should_ have created /etc/system/ as a link to (in my case) /etc/runit/runsvdir/current ... Upgrading to runit 2.1.2-6 clears this off.

Regards

--jmbvs Jean-Marc B. van Schendel email: jeanmarc.vanschendel@gmail.com voice: +32.(0)474.70.3885 msn: jmbvs@hotmail.com

On Mon, Aug 29, 2016 at 7:05 AM, Jeff King <peff@peff.net> wrote:
Show 24 quoted lines
> On Mon, Aug 29, 2016 at 06:29:04AM +0200, Jean-Marc B. van Schendel wrote:
>
>> Symptoms:
>> On a fresh new install of Debian "Stretch" (8.5 alpha7, dated 2016-06-30),
>> Trying to install a subset of Git packages (roughly, all those listed
>> in git-all, except CVS-related packages)
>> Install of package git-daemon-run (version 1:2.9.3-1) fails, dpkg
>> reporting error
>
> The git-daemon-run package is entirely a Debian creation, and has more
> to do with "runit" than it does with "git daemon" itself. In particular,
> your problem:
>
>> Assumed cause:
>> The directory /etc/service does not exist, and the install procedure
>> does not create it, subsequently fails to create a symlink (git-daemon
>> --> /etc/sv/git-daemon)
>
> looks like it's about the system runit setup. I didn't dig, but it's
> probably related to:
>
>   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=834087
>
> -Peff

← back to recent threads