From owner-freebsd-current Tue Nov 17 16:17:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA19593 for freebsd-current-outgoing; Tue, 17 Nov 1998 16:17:36 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from lorax.ubergeeks.com (lorax.ubergeeks.com [206.205.41.241]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA19562 for ; Tue, 17 Nov 1998 16:17:32 -0800 (PST) (envelope-from adrian@lorax.ubergeeks.com) Received: from localhost (adrian@localhost) by lorax.ubergeeks.com (8.8.8/8.8.8) with SMTP id TAA01034; Tue, 17 Nov 1998 19:16:56 -0500 (EST) (envelope-from adrian@lorax.ubergeeks.com) Date: Tue, 17 Nov 1998 19:16:55 -0500 (EST) From: ADRIAN Filipi-Martin Reply-To: Adrian Filipi-Martin To: Nik Clayton cc: current@FreeBSD.ORG Subject: Re: /etc/rc.d, and changes to /etc/rc? In-Reply-To: <19981117235709.20735@nothing-going-on.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 17 Nov 1998, Nik Clayton wrote: > Folks, > > [ Originally posted to -hackers. Forwarded to -current at Robert Nordier's > request, apparently fewer developers than I thought read -hackers. > > Reply-to *not* set, I can read replies in either -hackers or -current, > and this is probably -current material as much as it is -hackers ] > > During the day job, I use Solaris. This is not, in and of itself, a bad > thing. > > Solaris uses run levels. I don't particularly like them, but I tolerate > them. I *don't* want to bring run levels (or even, if Terry's reading, > run states) to FreeBSD. I'd recommend searching the mail archives for this issue. It has com e up many times and been shot down every time so far. IMHO, the start/stop scripts don't really add much. The granularity is usually too large for my tastes. e.g. the NFS start/stop scripts on most systems kill/start all of the daemons, when I typically just want to HUP or kill/restart one. Then you also slow booting somewhat. Look at the PID for your first login shell on FreeBSD and solaris and compare. I think you'll be surprised with about the number of exec's. Don't evendare to suggest sourcing the start/stop scripts. That is one of my biggest beefs with solaris' sysv init files is that some are sourced, some are exec'ed and all of them are run with the same shell regardless of the #!. I say leave well enough alone. It's wasted effort. The start/stop directory under /usr/local is enough to satisfy the thrid party software that wants to install without editing the rc-files. All the core services are in existing rc-files and it is just reinventing the wheel to rewite them as a bunch of separate files instead of a few. Adrian -- [ adrian@ubergeeks.com -- Ubergeeks Consulting -- http://www.ubergeeks.com/ ] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message