ports/148337: devel/git rc.d script issue (git_daemon)
Marin Atanasov Nikolov
dnaeon at gmail.com
Sat Jul 3 07:40:02 UTC 2010
>Number: 148337
>Category: ports
>Synopsis: devel/git rc.d script issue (git_daemon)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Jul 03 07:40:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Marin Atanasov Nikolov
>Release: 8.0-RELEASE-p2
>Organization:
unix-heaven.org
>Environment:
FreeBSD host 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Wed Jan 27 17:54:21 EET 2010 root at host:/usr/obj/usr/src/sys/GENERIC i386
>Description:
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_enable="YES"
git_daemon_directory="<git-repos-path>"
git_daemon_flags="--verbose --syslog --base-path=<git-repos-path> --detach --reuseaddr"
3. Reboot
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list