Date: Tue, 28 Mar 2006 10:57:08 -0800 (PST) From: "Freddie Cash" <fcash@ocis.net> To: freebsd-ports@freebsd.org Subject: Re: databases/postgresql81-server - dangerous init script 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49031.192.168.0.10.1143572228.squirrel>