Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Apr 2006 21:06:39 -0700
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        Xin LI <delphij@freebsd.org>
Cc:        freebsd-rc@freebsd.org
Subject:   Re: rc.d/SERVER patch for review (Reorder to make ldconfig start _before_ SERVER)
Message-ID:  <20060419040639.GB30862@odin.ac.hmc.edu>
In-Reply-To: <20060419010352.GA54006@hub.freebsd.org>
References:  <20060419010352.GA54006@hub.freebsd.org>

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

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

On Wed, Apr 19, 2006 at 01:03:52AM +0000, Xin LI wrote:
> Hi,
>=20
> Here is a patch that moves ldconfig before SERVER.  The reason is that:
>=20
>  - Now we start /usr/local/etc/rc.d scripts in the same order of base
>    system rc.d scripts.
>  - It is possible that a dynamically linked local daemon is started
>    after SERVER, which requires ldconfig to be run before to function
>    correctly.
>  - According to the current rcorder ldconfig would start _after_ SERVER,
>    which makes no guarantee that it was run before actual consumer.
>=20
> The attachment contains a tested patch that makes ldconfig a dependency
> of SERVER, thus makes it available for the application before actual
> SERVER daemons.
>=20
> Any comments?

Seem harmless other than the fact that it makes it easy to incorrectly
start services before DAEMON.

-- Brooks

--=20
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFERbdOXY6L6fI4GtQRAnHpAKCk+yj6bHb7/h5boR5rJn+6grxmSACgipHs
sCpL2mIeThXiaGaTN8170aM=
=QkJp
-----END PGP SIGNATURE-----

--jq0ap7NbKX2Kqbes--



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