Date: Sat, 3 Jul 2010 07:39:52 GMT From: Marin Atanasov Nikolov <dnaeon@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/148337: devel/git rc.d script issue (git_daemon) Message-ID: <201007030739.o637dq4K071373@www.freebsd.org> Resent-Message-ID: <201007030740.o637e1mC048407@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007030739.o637dq4K071373>