git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Suspected Bug in git install procedure [ git-daemon-run (version 1:2.9.3-1) ]
@ 2016-08-29  4:29 Jean-Marc B. van Schendel
  2016-08-29  5:05 ` Jeff King
  0 siblings, 1 reply; 3+ messages in thread
From: Jean-Marc B. van Schendel @ 2016-08-29  4:29 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Suspected Bug in git install procedure [ git-daemon-run (version 1:2.9.3-1) ]
  2016-08-29  4:29 Suspected Bug in git install procedure [ git-daemon-run (version 1:2.9.3-1) ] Jean-Marc B. van Schendel
@ 2016-08-29  5:05 ` Jeff King
  2016-08-29  7:15   ` Jean-Marc B. van Schendel
  0 siblings, 1 reply; 3+ messages in thread
From: Jeff King @ 2016-08-29  5:05 UTC (permalink / raw)
  To: Jean-Marc B. van Schendel; +Cc: git

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Suspected Bug in git install procedure [ git-daemon-run (version 1:2.9.3-1) ]
  2016-08-29  5:05 ` Jeff King
@ 2016-08-29  7:15   ` Jean-Marc B. van Schendel
  0 siblings, 0 replies; 3+ messages in thread
From: Jean-Marc B. van Schendel @ 2016-08-29  7:15 UTC (permalink / raw)
  To: Jeff King; +Cc: git

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:
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-08-29  7:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-29  4:29 Suspected Bug in git install procedure [ git-daemon-run (version 1:2.9.3-1) ] Jean-Marc B. van Schendel
2016-08-29  5:05 ` Jeff King
2016-08-29  7:15   ` Jean-Marc B. van Schendel

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).