From owner-freebsd-current@FreeBSD.ORG Tue Aug 17 17:13:54 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2ACA116A4CE; Tue, 17 Aug 2004 17:13:54 +0000 (GMT) Received: from moo.sysabend.org (moo.sysabend.org [66.111.41.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 081A543D39; Tue, 17 Aug 2004 17:13:54 +0000 (GMT) (envelope-from ragnar@sysabend.org) Received: by moo.sysabend.org (Postfix, from userid 1004) id 395C11B0; Tue, 17 Aug 2004 10:13:53 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by moo.sysabend.org (Postfix) with ESMTP id 380B11AC; Tue, 17 Aug 2004 10:13:53 -0700 (PDT) Date: Tue, 17 Aug 2004 10:13:53 -0700 (PDT) From: Jamie Bowden To: Andre Oppermann In-Reply-To: <4122116C.8010409@freebsd.org> Message-ID: <20040817100832.I22209-100000@moo.sysabend.org> X-representing: Only myself. X-badge: We don't need no stinking badges. X-obligatory-profanity: Fuck X-moo: Moo. MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: jhandvil@tampabay.rr.com cc: current@freebsd.org cc: sthaug@nethelp.no Subject: Re: RFC: Alternate patch to have true new-style rc.d scripts in ports(without touching localpkg) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Aug 2004 17:13:54 -0000 On Tue, 17 Aug 2004, Andre Oppermann wrote: > Brad Knowles wrote: > > At 3:11 PM +0200 2004-08-17, sthaug@nethelp.no wrote: > > > >> - Why cannot /usr/local/etc/rc.d be used with rcorder if /etc/rc.d/local > >> is okay? > > > > You can't guarantee that /usr/local is on the same filesystem as > > /etc (and available early in the boot process), and while you can't > > guarantee that /etc/rc.d/local is also on the same filesytem, it's a lot > > easier for some people to guarantee. > > > > Moreover, many sites may mount /usr read-only, or /usr/local non-suid. > > So? How does this prevent rc scripts being used from /usr or /usr/local? Imagine /usr/local is NFS mounted from one machine across multiple in your network. Now imagine each machine needs a local set of individual startup scripts for certain bits of software specific to it. I have seen this setup more than once. On Irix and Solaris (and other SysV derived systems), this isn't a problem, you just put the startup scripts for the software you want to run in /etc/rcN.d/SNNscriptname, and you control the order of startup and which particiular pieces of software startup. Od you also have the option of KNNscriptname for processes that must shut down cleanly when changing run levels. Screeds about how vile NFS is can be sent to /dev/null to save us all the trouble of deleting them. Jamie Bowden -- "It was half way to Rivendell when the drugs began to take hold" Hunter S Tolkien "Fear and Loathing in Barad Dur" Iain Bowen