From owner-freebsd-ports@FreeBSD.ORG Tue Mar 28 18:57:18 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 951B616A420 for ; Tue, 28 Mar 2006 18:57:18 +0000 (UTC) (envelope-from fcash@ocis.net) Received: from smtp.sd73.bc.ca (smtp.sd73.bc.ca [142.24.13.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3233343D60 for ; Tue, 28 Mar 2006 18:57:18 +0000 (GMT) (envelope-from fcash@ocis.net) Received: from localhost (localhost [127.0.0.1]) by localhost.sd73.bc.ca (Postfix) with ESMTP id 0D3C78A0025 for ; Tue, 28 Mar 2006 11:02:13 -0800 (PST) Received: from smtp.sd73.bc.ca ([127.0.0.1]) by localhost (smtp.sd73.bc.ca [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 33172-01-2 for ; Tue, 28 Mar 2006 11:02:06 -0800 (PST) Received: from webmail.sd73.bc.ca (unknown [10.10.10.17]) by smtp.sd73.bc.ca (Postfix) with ESMTP id 22C628A006D for ; Tue, 28 Mar 2006 11:02:06 -0800 (PST) Received: from webmail.sd73.bc.ca (localhost.localdomain [127.0.0.1]) by webmail.sd73.bc.ca (Postfix) with ESMTP id 77A02900044E for ; Tue, 28 Mar 2006 10:57:08 -0800 (PST) Received: from 192.168.0.10 (SquirrelMail authenticated user fcash) by webmail.sd73.bc.ca with HTTP; Tue, 28 Mar 2006 10:57:08 -0800 (PST) Message-ID: <49031.192.168.0.10.1143572228.squirrel@webmail.sd73.bc.ca> In-Reply-To: <20060328184452.GB16561@odin.ac.hmc.edu> References: <442981B8.4010605@gmx.de> <20060328184452.GB16561@odin.ac.hmc.edu> Date: Tue, 28 Mar 2006 10:57:08 -0800 (PST) From: "Freddie Cash" To: freebsd-ports@freebsd.org User-Agent: SquirrelMail/1.5.1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new using ClamAV at sd73.bc.ca Subject: Re: databases/postgresql81-server - dangerous init script X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: fcash@ocis.net List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Mar 2006 18:57:18 -0000 On Tue, March 28, 2006 10:44 am, Brooks Davis wrote: > On Tue, Mar 28, 2006 at 08:34:32PM +0200, [LoN]Kamikaze wrote: >> The rc.d script for this port contains a new style script, but >> follows the old naming conventions, which will cause it to be >> executed directly sourced into the boot shell, which is an >> unnecessary risk, since it means that booting will fail if the >> script exits. > Actually, in this case, the manpage is wrong. Only scripts in > /etc/rc.d that end in .sh not all scripts ending in .sh are sourced. > That said, ports should be fixed to install without the .sh suffix so > we can eventually remove the special case (should there be any > point.) Could the Porter's Handbook be updated with this information? The current section (6.15) on rc.d scripts says to install it with a .sh extension. And there's no mention of the reasoning behind it. ---- Freddie Cash fcash@ocis.net