Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Apr 2006 10:36:49 +0100
From:      Florent Thoumie <flz@xbsd.org>
To:        Xin LI <delphij@delphij.net>
Cc:        freebsd-rc@FreeBSD.org
Subject:   Re: rc.d/SERVER patch for review (Reorder to make ldconfig start _before_ SERVER)
Message-ID:  <1145439409.83576.44.camel@mayday.esat.net>
In-Reply-To: <1145437339.924.31.camel@spirit>
References:  <20060419010352.GA54006@hub.freebsd.org> <1145430829.900.20.camel@localhost>  <1145437339.924.31.camel@spirit>

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

[-- Attachment #1 --]
On Wed, 2006-04-19 at 17:02 +0800, Xin LI wrote:
> Hi, Florent,
> 
> 在 2006-04-19三的 09:13 +0200,Florent Thoumie写道:
> [...]
> > 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.
> > 
> > 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.

Ok, that makes sense. Feel free to backout my named change.

-- 
Florent Thoumie
flz@FreeBSD.org
FreeBSD Committer

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)

iD8DBQBERgSxMxEkbVFH3PQRAl+PAJ0bg1zxk7ImEuxguPMif79j0PRmCQCgh3/L
Lx115I+/hr10uvV/CG8+PMk=
=2arZ
-----END PGP SIGNATURE-----

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