I have seemingly solved this issue. I failed to copy /lib/libnsl.so.1 into my chroot /lib folder but have added it and I can start nginx using the start-stop-daemon command with the --chroot flag; strace is a life-saver. In case anyone else goes down this road in the future, you can strace your start-stop-daemon call to a chrooted nginx as follows: # start-stop-daemon --start --pidfile $Pby chadmiko - Nginx Mailing List - English
Hello all, I am testing a chroot'ed nginx setup on Debian Lenny and am receiving the error: `getpwnam("www-data") failed` when I try to start nginx. My search to find a possible solution have so far been fruitless but I am hoping someone smarter than I could offer some advice. I've setup the "jail" in /chroot/nginx, created the relevant directory structure (/dev/, /etcby chadmiko - Nginx Mailing List - English