Subject: Re: unable to get processes to start from /etc/rc.conf
To: None <netbsd-help@netbsd.org>
From: Mehul Sanghvi <mehul.sanghvi@gmail.com>
List: netbsd-help
Date: 05/24/2005 11:50:39
On 5/24/05, Lubomir Sedlacik <salo@xtrmntr.org> wrote:
> 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.
> >
> > 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.
>=20
> 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.
>=20
> at the point rc.local is run, everything is mounted already.
>=20

(Sound of one hand clapping!)
Yes, that makes sense.  I missed this point in your earlier email.

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

Time to re-install some packages.  :-)

Thanks for the help.

cheers,

        mehul

--=20
Mehul N. Sanghvi
email: mehul.sanghvi@gmail.com