Date: Wed, 19 Apr 2006 17:02:19 +0800 From: Xin LI <delphij@delphij.net> To: Florent Thoumie <flz@xbsd.org> Cc: freebsd-rc@FreeBSD.org Subject: Re: rc.d/SERVER patch for review (Reorder to make ldconfig start _before_ SERVER) Message-ID: <1145437339.924.31.camel@spirit> In-Reply-To: <1145430829.900.20.camel@localhost> References: <20060419010352.GA54006@hub.freebsd.org> <1145430829.900.20.camel@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-WvzIz2QKFo0Mqb1RzkBg Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, Florent, =E5=9C=A8 2006-04-19=E4=B8=89=E7=9A=84 09:13 +0200=EF=BC=8CFlorent Thoumie= =E5=86=99=E9=81=93=EF=BC=9A [...] > I'd rather like seeing ports rc.d scripts fixed to require either DAEMON > 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. 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. Therefore I think making SERVERS to REQUIRE: ldconfig makes better protection for early startup daemons. Cheers, --=20 Xin LI <delphij delphij net> http://www.delphij.net/ --=-WvzIz2QKFo0Mqb1RzkBg Content-Type: application/pgp-signature; name=signature.asc Content-Description: =?UTF-8?Q?=E8=BF=99=E6=98=AF=E4=BF=A1=E4=BB=B6=E7=9A=84=E6=95=B0?= =?UTF-8?Q?=E5=AD=97=E7=AD=BE=E5=90=8D=E9=83=A8=E5=88=86?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBERfybhcUczkLqiksRAvDgAKDWYAdAAB4yoB+LtxHsBmvll3mCggCg6ZdM /Y9o9YKRvyb4yuXo1epZjmk= =6lQ6 -----END PGP SIGNATURE----- --=-WvzIz2QKFo0Mqb1RzkBg--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1145437339.924.31.camel>