Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Dec 2002 00:46:03 -0800
From:      Mike Makonnen <mtm@identd.net>
To:        Gordon Tetlow <gordont@gnf.org>
Cc:        "Daniel C. Sobral" <dcs@tcoip.com.br>, current@freebsd.org, obrien@freebsd.org, Doug Barton <DougB@freebsd.org>
Subject:   Re: RC NG, ntp and routed
Message-ID:  <20021211084603.GA24584@matrix.identd.net>
In-Reply-To: <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> <20021211063348.GU45512@roark.gnf.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--liOOAslEiF7prFVr
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Dec 10, 2002 at 10:33:48PM -0800, Gordon Tetlow wrote:
> > That sounds like a good idea. According to current NETWORKING requireme=
nts 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 w=
ould
> > not be a good idea. Maybe we could move the other routing daemons
> > there as well (from /usr/sbin)?=20
>=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 wh=
at
> about things like route6d that is in /usr/sbin?)

You misunderstood. I meant let's move the routing daemons from /usr/sbin to=
 /sbin.
I think if we have routed there we might as well have the others there. Act=
ually we
only need to move route6d to /sbin. I can't think of a reason you would need
multicast routing before the whole system was up. I think we can live with =
and
additional 42k on /.

>=20
> IMO rc.d should have the following major catagories:
>=20
> DISKS
> FILESYSTEMS
> NETWORKING
> DAEMON
> LOGIN
=20
I don't see the need for FILESYSTEMS. As it is we only have two scripts
mountcritlocal and mountcritremote. And since network mounted filesystems
are quite common any script that needs FILESYSTEM is simply going to
have to wait until NETWORKING is up. There's no way we can get around that.

> NETWORKING, DAEMON, and LOGIN exist in the NetBSD framework. NetBSD also
> describes a SERVERS catagory that I don't really understand the need for.

Basicaly it's for daemons that you need running as early as possible, like
syslogd. Other services are going to need them, but you can't really fit th=
em
in the other categories.

>=20
> 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?

I was quite a ways through porting our scripts when David insisted that they
be compatible with NetBSD in order to make it into the tree. It took quite
a bit more work to restart almost from the beginning and redo them. And I
would hate to see that work go to waste. So, I'm not an impartial party
here and won't say anymore about it except to say that I think being in
sync with NetBSD is a worthwhile and doable goal if we (both projects) make=
 a
firm commitment to do it. This means that we wouldn't be "slavishly" accept=
ing
NetBSD code, but that the projects would work the differences out so that t=
he only
differences left would be because of architectural differences between the
two OSes.

Cheers.
--=20
Mike Makonnen  | GPG-KEY: http://www.identd.net/~mtm/mtm.asc
mtm@identd.net | Fingerprint: D228 1A6F C64E 120A A1C9  A3AA DAE1 E2AF DBCC=
 68B9

--liOOAslEiF7prFVr
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE99vtL2uHir9vMaLkRAtdwAJwIYHsXBIsEHmlomFZar2Uvs9LRfwCgr3ze
nG7lC34yZ1l3+QLLW89OPBU=
=5YXo
-----END PGP SIGNATURE-----

--liOOAslEiF7prFVr--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021211084603.GA24584>