Date: Tue, 17 Aug 2004 10:13:53 -0700 (PDT) From: Jamie Bowden <ragnar@sysabend.org> To: Andre Oppermann <andre@freebsd.org> Cc: sthaug@nethelp.no Subject: Re: RFC: Alternate patch to have true new-style rc.d scripts in ports(without touching localpkg) Message-ID: <20040817100832.I22209-100000@moo.sysabend.org> In-Reply-To: <4122116C.8010409@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <alaric@alaric.org.uk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040817100832.I22209-100000>