Subject: Re: unable to get processes to start from /etc/rc.conf
To: Mehul Sanghvi <mehul.sanghvi@gmail.com>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: netbsd-help
Date: 05/24/2005 08:19:35
--VV4b6MQE+OnNyhkM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, May 23, 2005 at 05:57:02PM -0400, Mehul Sanghvi wrote:
> /usr/pkg is a seperate partition.  And I would agree with you that it
> shouldn't work, if the filesystems had not been mounted by the time it
> got to the point where it should be running /usr/pkg/etc/rc.d/apache.
>=20
> Since it works if I put things in /etc/rc.local (/etc/rc.d/local gets
> run before the point where apache and pgsql should start up), I think
> it might not have anything to do with mount points.

it has everything to do with mount points.  when rcorder(8) is run,
there is no /usr/pkg/etc/rc.d =3D=3D no scripts will be inspected and run
from there.

at the point rc.local is run, everything is mounted already.

>  I'll try your approach as well, although I would prefer to keep the
>  rc.d files I install from pkgsrc seperate from the ones that came
>  with the system, if possible.

then you could set PKG_SYSCONFBASEDIR to /etc/pkg/rc.d in mk.conf and
add it to rc_rcorder_flags in rc.conf.


regards,

--=20
-- Lubomir Sedlacik <salo@{NetBSD,Xtrmntr,silcnet}.org>   --

--VV4b6MQE+OnNyhkM
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)

iD8DBQFCksd3iwjDDlS8cmMRAojPAJsEzceSEtFnRUOUo8r3EfOvE56iHgCeLBtJ
EjqMc7C8MQVPIrfszd4o8ac=
=LyY1
-----END PGP SIGNATURE-----

--VV4b6MQE+OnNyhkM--