One problem I'm stuck on is a "broken" sudo after I chroot into Debian. I need to execute a command with root privileges from a perl script that is executed by Apache2. Apache2 executes the script as user 'www-data'. In a normal Debian environment, I can use sudo within the perl script, e.g. system("sudo command ..."); and make it work. With this chroot setup on Edison, the Apache2 error log shows the error 'sudo: effective uid is not 0, is sudo installed setuid root?'. I Googled this error and attempted to apply remedies I found there, but to no avail. Any ideas?
Jim