Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Feb 2010 13:55:51 +0100
From:      Erik Norgaard <norgaard@locolomo.org>
To:        questions@freebsd.org
Subject:   How to run cron scripts (310.locate) in chrooted env.
Message-ID:  <4B715B57.2000101@locolomo.org>

next in thread | raw e-mail | index | archive | help
Hi:

I have a setup with diskless clients mounting /var/diskless/FreeBSD 
read-only as root file system.

How do I configure cron/locate.rc to run on the server such that the 
locate database is relative to the root for the diskless systems?

I could do a chroot and run it within this environment, at least it 
would work manually.

Thanks, Erik
-- 
Erik Nørgaard
Ph: +34.666334818/+34.915211157                  http://www.locolomo.org



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