From owner-freebsd-current Tue Dec 10 22:33:53 2002 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 DBED437B401; Tue, 10 Dec 2002 22:33:50 -0800 (PST) Received: from ns2.gnf.org (ns2.gnf.org [63.196.132.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 40D4943EA9; Tue, 10 Dec 2002 22:33:50 -0800 (PST) (envelope-from gtetlow@gnf.org) Received: from EXCHCLUSTER01.lj.gnf.org (exch02.lj.gnf.org [172.25.10.20]) by ns2.gnf.org (8.12.3/8.12.3) with ESMTP id gBB6KRtk038372; Tue, 10 Dec 2002 22:20:27 -0800 (PST) (envelope-from gtetlow@gnf.org) Received: from roark.gnf.org ([172.25.24.15]) by EXCHCLUSTER01.lj.gnf.org with Microsoft SMTPSVC(5.0.2195.5329); Tue, 10 Dec 2002 22:33:49 -0800 Received: from roark.gnf.org (localhost [127.0.0.1]) by roark.gnf.org (8.12.6/8.12.6) with ESMTP id gBB6Xna7056633; Tue, 10 Dec 2002 22:33:49 -0800 (PST) (envelope-from gtetlow@gnf.org) Received: (from gtetlow@localhost) by roark.gnf.org (8.12.6/8.12.6/Submit) id gBB6XmYo056632; Tue, 10 Dec 2002 22:33:48 -0800 (PST) (envelope-from gtetlow) Date: Tue, 10 Dec 2002 22:33:48 -0800 From: Gordon Tetlow To: Mike Makonnen Cc: "Daniel C. Sobral" , current@freebsd.org, obrien@freebsd.org, Doug Barton Subject: Re: RC NG, ntp and routed Message-ID: <20021211063348.GU45512@roark.gnf.org> References: <3DF4996E.1040706@tcoip.com.br> <20021210024350.GC16008@matrix.identd.net> <20021210162208.GJ45512@roark.gnf.org> <3DF61DE4.9070205@tcoip.com.br> <20021210225014.GA22267@matrix.identd.net> <20021211002318.GT45512@roark.gnf.org> <20021211054754.GA23972@matrix.identd.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="kG2acDqmwoBDcCHP" Content-Disposition: inline In-Reply-To: <20021211054754.GA23972@matrix.identd.net> User-Agent: Mutt/1.4i X-OriginalArrivalTime: 11 Dec 2002 06:33:49.0877 (UTC) FILETIME=[43FF9650:01C2A0DF] Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --kG2acDqmwoBDcCHP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 10, 2002 at 09:47:54PM -0800, Mike Makonnen wrote: > On Tue, Dec 10, 2002 at 04:23:18PM -0800, Gordon Tetlow wrote: > >=20 > > Ideally, ntpd should require NETWORKING and that should solve all probl= ems. > > The real problem is that routed is included with DAEMON, not NETWORKING= . I > > think that's the real problem and judging that routed is in /sbin, we c= ould > > probably move it there without a problem. >=20 > That sounds like a good idea. According to current NETWORKING requirement= s it > just means the network interfaces are brought up, but routing seems to be= a > reasonable requirement as well. I can't think of a good reason why it wou= ld > not be a good idea. Maybe we could move the other routing daemons > there as well (from /usr/sbin)?=20 Well, there in lies the chicken and the egg problem (and why I've been cursing rcng recently). /usr is mounted after networking so all the things that implictly require /usr must be run after networking is setup (but what about things like route6d that is in /usr/sbin?) IMO rc.d should have the following major catagories: DISKS FILESYSTEMS NETWORKING DAEMON LOGIN DISKS would be things that are needed to get the disks in order to start getting filesystems mounted (vinum, ccd, raidframe and friends). It may be a superflous step. FILESYSTEMS and NETWORKING are a problem because they kind of intertwine. It's not a clear cut case of mount all the filesystems then start the networking interfaces. In reality, FILESYSTEMS and NETWORKING are very much muddled (and cause me no end of grief as a result). DAEMON is for things like ssh and the like that need to run (thinking about nfsd, sshd, and just about any *d) LOGIN is just that. Things that are started at the end of system initialization. NETWORKING, DAEMON, and LOGIN exist in the NetBSD framework. NetBSD also describes a SERVERS catagory that I don't really understand the need for. I'd like to think about really sitting down and overhauling the rc.d system after 5.0 is branched. I think that it's reasonable to say we should not try to be compatible with NetBSD except for keeping a common rc.subr and major initialization catagories (basically anything that is in all caps). Does anyone have a problem with dyking out the NetBSD specific portions after 5.0? -gordon -gordon --kG2acDqmwoBDcCHP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE99txMRu2t9DV9ZfsRApitAJ9t+xfrrfTQLfcdmPyUoxnTORzgPgCfRiLq Y6MdZw29TxC7v1yyIpvmGfk= =bMFe -----END PGP SIGNATURE----- --kG2acDqmwoBDcCHP-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message