{"thread":{"id":"43953","subject":"Suspected Bug in git install procedure [ git-daemon-run (version 1:2.9.3-1) ]","startedAt":"2016-08-29T04:35:55Z","lastAt":"2016-08-29T07:16:01Z","messageCount":3,"participants":["Jean-Marc B. van Schendel","Jeff King"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"300403","messageId":"CAKUcBEDwbZ7aLsa2w4dqNCRg3QQMo_2hm7-O-6o0Fg58ANYv=A@mail.gmail.com","threadId":"43953","inReplyTo":null,"subject":"Suspected Bug in git install procedure [ git-daemon-run (version 1:2.9.3-1) ]","fromName":"Jean-Marc B. van Schendel","fromEmail":"jeanmarc.vanschendel@gmail.com","sentAt":"2016-08-29T04:29:04Z","receivedAt":"2016-08-29T04:35:55Z","isPatch":false,"sender":{"key":"jeanmarc.vanschendel@gmail.com","avatar":null},"body":"Hi,\n\nNot really a bad bug, apparently just one little detail...\n\nSymptoms:\nOn a fresh new install of Debian \"Stretch\" (8.5 alpha7, dated 2016-06-30),\nTrying to install a subset of Git packages (roughly, all those listed\nin git-all, except CVS-related packages)\nInstall of package git-daemon-run (version 1:2.9.3-1) fails, dpkg\nreporting error\n\nAssumed cause:\nThe directory /etc/service does not exist, and the install procedure\ndoes not create it, subsequently fails to create a symlink (git-daemon\n--> /etc/sv/git-daemon)\n\nWorkaround used:\nManually created, directory /etc/service and ... it seems to work fine...\n\nDunno's...\nIt seems like the location for the newly created symlink may be\nhard-coded as /etc/service/. I cannot substantiate whether this\nlocation is a \"universal invariant\", or something platform-specific,\nwhich ought to be documented in one way or another.\nThe \"real'' cause of the problem might as well be that the install of\nDebian silently failed to create /etc/service/ (either as a folder or\nas a symlink to anwhere else)...\nThe git daemon is the first standalone daemon I am installing on this\nsystem. From my point of view, it sounds possible that another\nstandalone daemon (eg. ProFTPd) might have reported the same problem\nif I had installed it before git...\n\n\nKind regards\n\n\n--jmbvs\nJean-Marc B. van Schendel\nemail: jeanmarc.vanschendel@gmail.com\nvoice: +32.(0)474.70.3885\nmsn: jmbvs@hotmail.com\n"},{"id":"300404","messageId":"20160829050547.sv4rslwp2ocehvgx@sigill.intra.peff.net","threadId":"43953","inReplyTo":"CAKUcBEDwbZ7aLsa2w4dqNCRg3QQMo_2hm7-O-6o0Fg58ANYv=A@mail.gmail.com","subject":"Re: Suspected Bug in git install procedure [ git-daemon-run (version 1:2.9.3-1) ]","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2016-08-29T05:05:47Z","receivedAt":"2016-08-29T05:05:57Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Mon, Aug 29, 2016 at 06:29:04AM +0200, Jean-Marc B. van Schendel wrote:\n\n> Symptoms:\n> On a fresh new install of Debian \"Stretch\" (8.5 alpha7, dated 2016-06-30),\n> Trying to install a subset of Git packages (roughly, all those listed\n> in git-all, except CVS-related packages)\n> Install of package git-daemon-run (version 1:2.9.3-1) fails, dpkg\n> reporting error\n\nThe git-daemon-run package is entirely a Debian creation, and has more\nto do with \"runit\" than it does with \"git daemon\" itself. In particular,\nyour problem:\n\n> Assumed cause:\n> The directory /etc/service does not exist, and the install procedure\n> does not create it, subsequently fails to create a symlink (git-daemon\n> --> /etc/sv/git-daemon)\n\nlooks like it's about the system runit setup. I didn't dig, but it's\nprobably related to:\n\n  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=834087\n\n-Peff\n"},{"id":"300409","messageId":"CAKUcBEAmaALBQT9YdgCRcCBeALKJ1QTHtcVSDRWvMLQwrGFSHg@mail.gmail.com","threadId":"43953","inReplyTo":"20160829050547.sv4rslwp2ocehvgx@sigill.intra.peff.net","subject":"Re: Suspected Bug in git install procedure [ git-daemon-run (version 1:2.9.3-1) ]","fromName":"Jean-Marc B. van Schendel","fromEmail":"jeanmarc.vanschendel@gmail.com","sentAt":"2016-08-29T07:15:35Z","receivedAt":"2016-08-29T07:16:01Z","isPatch":false,"sender":{"key":"jeanmarc.vanschendel@gmail.com","avatar":null},"body":"Thanks for the reply...\nIndeed there was a problem with the runit package (2.1.2-5), which\n_should_ have created /etc/system/ as a link to (in my case)\n/etc/runit/runsvdir/current ...\nUpgrading to runit 2.1.2-6 clears this off.\n\nRegards\n\n--jmbvs\nJean-Marc B. van Schendel\nemail: jeanmarc.vanschendel@gmail.com\nvoice: +32.(0)474.70.3885\nmsn: jmbvs@hotmail.com\n\n\nOn Mon, Aug 29, 2016 at 7:05 AM, Jeff King <peff@peff.net> wrote:\n> On Mon, Aug 29, 2016 at 06:29:04AM +0200, Jean-Marc B. van Schendel wrote:\n>\n>> Symptoms:\n>> On a fresh new install of Debian \"Stretch\" (8.5 alpha7, dated 2016-06-30),\n>> Trying to install a subset of Git packages (roughly, all those listed\n>> in git-all, except CVS-related packages)\n>> Install of package git-daemon-run (version 1:2.9.3-1) fails, dpkg\n>> reporting error\n>\n> The git-daemon-run package is entirely a Debian creation, and has more\n> to do with \"runit\" than it does with \"git daemon\" itself. In particular,\n> your problem:\n>\n>> Assumed cause:\n>> The directory /etc/service does not exist, and the install procedure\n>> does not create it, subsequently fails to create a symlink (git-daemon\n>> --> /etc/sv/git-daemon)\n>\n> looks like it's about the system runit setup. I didn't dig, but it's\n> probably related to:\n>\n>   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=834087\n>\n> -Peff\n"}]}