Дана 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.