From owner-freebsd-ports@FreeBSD.ORG Sat May 8 18:11:05 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 610801065675 for ; Sat, 8 May 2010 18:11:05 +0000 (UTC) (envelope-from dnaeon@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id F06018FC17 for ; Sat, 8 May 2010 18:11:04 +0000 (UTC) Received: by wyb36 with SMTP id 36so1716158wyb.13 for ; Sat, 08 May 2010 11:10:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=q8mPMexbqMvUq6pUCk/FMkXqT/EdlBBWGkmywxTMh/0=; b=RuJJQjEhJe9cRLp3F72niPeyzKnrfGUhYx1RJ673SI9hHu9iM520G6TGGPZzuPfes6 MvjYcoXkY5N+PcmrotuMA2JJf66xxqEoJcq+CY/xf0fVKZqJI1u+ZIpCRVL6sa8pjyC5 WBhvR09hvGT7QRGVIDm9n62wr2GPpN0gFS++w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=VvVb80xELW8/uwqsEdRDVq0J5utRDhUWGFEf70mf+KwUtA432tHEaHYhZwIXCtazoC +dvUNBe/a7ZQ/uf2V2QdhbSqsGg5VOnaUdvf/rIAB+4MVbT5WQz75+uIW95gZY+E8LEw AqxdZfUI5oChtVONuSAAmEMKp+sk3hzNNrSDA= MIME-Version: 1.0 Received: by 10.216.188.21 with SMTP id z21mr1058072wem.140.1273342256780; Sat, 08 May 2010 11:10:56 -0700 (PDT) Received: by 10.216.19.10 with HTTP; Sat, 8 May 2010 11:10:56 -0700 (PDT) Date: Sat, 8 May 2010 21:10:56 +0300 Message-ID: From: Marin Atanasov Nikolov To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Git daemon issues under FreeBSD X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 May 2010 18:11:05 -0000 Hello there, I was setting up a Git repository under a jail in FreeBSD 8.0, but I've noticed some very strange behaviour of git-daemon. When you enable git-daemon from rc.conf, the daemon is started properly but it is not serving any connections at all, it is not logging anything as well. But if you start git-daemon using /usr/local/etc/rc.d/git_daemon directly from the command-line it works just fine. Here's mine /etc/rc.conf file: # Enable git-daemon git_daemon_enable="YES" git_daemon_directory="/usr/home/git" git_daemon_flags="--verbose --syslog --base-path=/usr/home/git --detach --reuseaddr" At first I thought this is related to the jail, but then I tested this on a physical host - it was the same result. I'm not sure if this is related to FreeBSD, or git-daemon itself. I've checked the command-line that was used to execute the rc.d script during boot-time, and then executed the same command from the command-line and then git-daemon works. It's just that git-daemon is not working at all when it is executed during boot-time. The annoying part of this is that during a system reboot, you need to restart git-daemon again using /usr/local/etc/rc.d/git_daemon rc.d script. Does anyone have an idea what's exactly happening? Regards, Marin -- Marin Atanasov Nikolov dnaeon AT gmail DOT com daemon AT unix-heaven DOT org