[opensuse] updatedb within a chroot environment
I've got a system where users run in a chroot environment, which contains a full working copy of the OS. Within that environement I've got findtools-locate installed. If you run it it creates a 10 byte updatedb database file and that's it, no error. I'm assuming it's because the hard drives don't show up in mount when you're in chroot. Anyone know of a way to fix this? Matthew -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Matthew Stringer wrote:
I've got a system where users run in a chroot environment, which contains a full working copy of the OS.
Within that environement I've got findtools-locate installed.
If you run it it creates a 10 byte updatedb database file and that's it, no error.
I'm assuming it's because the hard drives don't show up in mount when you're in chroot. Anyone know of a way to fix this?
Modify /usr/bin/updatedb? Maybe put some echo statements in to see where it's going wrong? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday 07 June 2007, Matthew Stringer wrote:
I've got a system where users run in a chroot environment, which contains a full working copy of the OS.
Within that environement I've got findtools-locate installed.
If you run it it creates a 10 byte updatedb database file and that's it, no error.
I'm assuming it's because the hard drives don't show up in mount when you're in chroot. Anyone know of a way to fix this?
Matthew
Maybe your jail doesn't even have read authority in the directories, (especially root directory) -- _____________________________________ John Andersen
participants (3)
-
John Andersen
-
Matthew Stringer
-
Russell Jones