This is the sequence of commands which may reproduce start-stop-daemon's failure to execute chrooted program: === gentoo root # mkdir /test gentoo root # cp /bin/ls /test gentoo root # mkdir /test/lib gentoo root # ldd /test/ls librt.so.1 => /lib/librt.so.1 (0x40028000) libc.so.6 => /lib/libc.so.6 (0x4003c000) libpthread.so.0 => /lib/libpthread.so.0 (0x40164000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) gentoo root # cp /lib/librt.so.1 /test/lib gentoo root # cp /lib/libc.so.6 /test/lib gentoo root # cp /lib/libpthread.so.0 /test/lib gentoo root # cp /lib/ld-linux.so.2 /test/lib gentoo root # start-stop-daemon --start -r /test --exec /ls start-stop-daemon: stat /ls: No such file or directory ===
You want: # start-stop-daemon --start -r /test --exec /test/ls --startas /ls