Bug 148337 - devel/git rc.d script issue (git_daemon)
devel/git rc.d script issue (git_daemon)
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Any Any
: Normal Affects Only Me
Assigned To: Wesley Shields
Depends on:
  Show dependency treegraph
Reported: 2010-07-03 08:40 UTC by dnaeon
Modified: 2010-07-04 19:51 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description dnaeon 2010-07-03 08:40:01 UTC
When you install devel/git if you enable git_daemon from rc.conf and reboot your machine, what happens is that a git_daemon process is started but it is not serving any incoming connections. Nothing is going to the logs as well.

If you run the script manually from /usr/local/etc/rc.d/git_daemon everything is working fine - serving incoming connections and logs everything.

NOTE: This is only not working when using the Git protocol, i.e when you do a:
 $ git clone git://git.example.com/repo.git

Using SSH for transport is working fine.

Haven't tested this if you are using some of the other transport protocols like HTTP or rsync.

How-To-Repeat: 1. Install devel/git
2. Add to your rc.conf

# Enable git-daemon
git_daemon_flags="--verbose --syslog --base-path=<git-repos-path> --detach --reuseaddr"

3. Reboot
Comment 1 Edwin Groothuis freebsd_committer 2010-07-03 08:40:16 UTC
Responsible Changed
From-To: freebsd-ports-bugs->wxs

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Wesley Shields freebsd_committer 2010-07-04 19:51:51 UTC
State Changed
From-To: open->closed

Sorry for the delay on this and thanks for opening a PR to remind me. I 
just committed a fix for this. :)