PowerDNS/pdns — pull request #970 by zeha (2013-08-24 15:22:34+00:00)
Title: nproxy: Add missing chdir("/") after chroot()

Also make sure that fd 0,1,2 are correctly replaced with /dev/null.
As we (might) chroot() before daemonizing, we must open /dev/null before
chroot-ing.

Should fix #901