b7# locate chroot

/usr/local/share/doc/pkg-readmes/femail-chroot

/usr/sbin/chroot

/usr/share/man/man2/chroot.2

/usr/share/man/man8/chroot.8

/var/db/pkg/femail-chroot-1.0p3

/var/db/pkg/femail-chroot-1.0p3/+CONTENTS

/var/db/pkg/femail-chroot-1.0p3/+DESC

/var/db/pkg/femail-chroot-1.0p3/+REQUIRED_BY

/var/db/pkg/femail-chroot-1.0p3/REQUIRING


On 8/18/24 16:47, Страхиња Радић wrote:
Дана 24/08/16 01:10PM, David Colburn написа:
According to this:

https://www.reddit.com/r/openbsd/comments/nygjdm/lighttpd_cant_find_devnull_on_69/

there's supposed to be a directory here: /usr/sbin/chroot/ but chroot is
actually a file.
That's a misquote. The exact quote from a reply to the linked article
is:

You need to find the directory of the chroot, likely something like
/var/lighttpd/chroot/ or something (totally guessing at the directory
name here; adjust accordingly below)
[...]

(what follows are the instructions similar to the ones given here, just
using "raw" mknod(8) instead of the script /dev/MAKEDEV)

So, /var/lighttpd/chroot/, not /usr/sbin/chroot/.

/usr/sbin/chroot is the canonical location of chroot(8) executable in
various Unix-like operating systems and I have yet to come across a
system where it is a directory.


Reply via email to