From owner-freebsd-rc@FreeBSD.ORG Wed Apr 19 09:37:00 2006 Return-Path: X-Original-To: freebsd-rc@FreeBSD.org Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1129E16A401 for ; Wed, 19 Apr 2006 09:37:00 +0000 (UTC) (envelope-from flz@xbsd.org) Received: from smtp.xbsd.org (xbsd.org [82.233.2.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 817D643D45 for ; Wed, 19 Apr 2006 09:36:59 +0000 (GMT) (envelope-from flz@xbsd.org) Received: from localhost (localhost.xbsd.org [127.0.0.1]) by smtp.xbsd.org (Postfix) with ESMTP id 20BA211A13; Wed, 19 Apr 2006 11:36:58 +0200 (CEST) Received: from smtp.xbsd.org ([127.0.0.1]) by localhost (srv1.xbsd.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 08337-02; Wed, 19 Apr 2006 11:36:51 +0200 (CEST) Received: from mayday.esat.net (mayday.esat.net [193.95.134.156]) by smtp.xbsd.org (Postfix) with ESMTP id 5AE75118EB; Wed, 19 Apr 2006 11:36:51 +0200 (CEST) From: Florent Thoumie To: Xin LI In-Reply-To: <1145437339.924.31.camel@spirit> References: <20060419010352.GA54006@hub.freebsd.org> <1145430829.900.20.camel@localhost> <1145437339.924.31.camel@spirit> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-/U8JM8h5EVV52ZEtWjZH" Date: Wed, 19 Apr 2006 10:36:49 +0100 Message-Id: <1145439409.83576.44.camel@mayday.esat.net> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 FreeBSD GNOME Team Port X-Virus-Scanned: amavisd-new at xbsd.org Cc: freebsd-rc@FreeBSD.org Subject: Re: rc.d/SERVER patch for review (Reorder to make ldconfig start _before_ SERVER) X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Apr 2006 09:37:00 -0000 --=-/U8JM8h5EVV52ZEtWjZH Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, 2006-04-19 at 17:02 +0800, Xin LI wrote: > Hi, Florent, >=20 > =E5=9C=A8 2006-04-19=E4=B8=89=E7=9A=84 09:13 +0200=EF=BC=8CFlorent Thoumi= e=E5=86=99=E9=81=93=EF=BC=9A > [...] > > I'd rather like seeing ports rc.d scripts fixed to require either DAEMO= N > > or LOGIN, depending on if they should run as root or not. > >=20 > > After my latest commit to rc.d/named, ldconfig is started right after > > mountcritremote (means ASAP), so this change doesn't really do anything= . >=20 > I would prefer that SERVERS to do REQUIRE: ldconfig for the following > reasons: > - SERVERS is the place (or divider) where we can ensure, say, critical > early services, can start properly. We should implement the semantic. > - Currently SERVERS already have a REQUIRE: line pointing to abi, which > is, in my opinion, of the same nature with ldconfig. > - With "BEFORE: named" we can effectively make ldconfig to run after > our script. While BEFORE is generally not encouraged, I think it's > confusing for programmer who writes rc.d scripts, and makes it hard to > debug. >=20 > Therefore I think making SERVERS to REQUIRE: ldconfig makes better > protection for early startup daemons. Ok, that makes sense. Feel free to backout my named change. --=20 Florent Thoumie flz@FreeBSD.org FreeBSD Committer --=-/U8JM8h5EVV52ZEtWjZH Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBERgSxMxEkbVFH3PQRAl+PAJ0bg1zxk7ImEuxguPMif79j0PRmCQCgh3/L Lx115I+/hr10uvV/CG8+PMk= =2arZ -----END PGP SIGNATURE----- --=-/U8JM8h5EVV52ZEtWjZH--