From owner-freebsd-ports@FreeBSD.ORG Thu Jan 19 16:05:46 2012 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 297201065670 for ; Thu, 19 Jan 2012 16:05:46 +0000 (UTC) (envelope-from herby@mailbox.sk) Received: from mobilmail-1.eurotel.sk (mobilmail-1.t-mobile.sk [194.154.230.72]) by mx1.freebsd.org (Postfix) with ESMTP id 80F628FC15 for ; Thu, 19 Jan 2012 16:05:44 +0000 (UTC) Received: (qmail-ldap/ctrl 24761 invoked from network); 19 Jan 2012 15:39:03 -0000 Received: from ip50.smtp-proxy.as5628.telecom.sk (HELO [10.254.12.235]) (421903749343@[194.154.233.50]) (envelope-sender ) by mobilmail-1.eurotel.sk (qmail-ldap-1.03) with SMTP for ; 19 Jan 2012 15:39:03 -0000 X-Nat-Received: 10.254.12.235 Message-ID: <4F183915.3020304@mailbox.sk> Date: Thu, 19 Jan 2012 16:39:01 +0100 From: =?UTF-8?B?SGVyYnkgVm9qxI3DrWs=?= User-Agent: Postbox Express 1.0.1 (Windows/20100705) MIME-Version: 1.0 To: till@php.net Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@FreeBSD.org Subject: FreeBSD Port: couchdb-1.1.0_2,1 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: Thu, 19 Jan 2012 16:05:46 -0000 Hello, the latest change made rc.d script not working. When run from the cli as /usr/local/etc/rc.d/couchdb start, it begins writing to the terminal and hangs there, not returning to the prompt. Ctrl+C must be issued to stop it and return to the prompt. While hanged, ps ax run in parallel session shows couchdb is started, but with no flags whatsoever (sh -c "/usr/local/bin/couchdb "). The couchdb_prestart function gets run (I put echos in there), but its couchdb_flags is not taken into account. I had to make this change: 60c60,61 < start_precmd=${name}_prestart --- > #start_precmd=${name}_prestart > case "$1" in *start) couchdb_prestart;; esac to make it work. When run during boot, it has the same symptoms (runs the couchdb without flags) and also needs the change above. Herby