Package: dpkg
Version: 1.16.2
Severity: minor

I was trying (and failing) to start a Python paster instance inside a virtualenv like this:

start-stop-daemon -u useridhere --chdir /srv/virtualenv_path --exec bin/paster --start -- serve development.ini

It took me a while to figure out what the problem was, but with some help from strace I figured out that start-stop-daemon stats for the existence of the executable before doing the chdir, something which certainly was not obvious to me initially...

It would be nice if executables specified as relative paths together with a --chdir worked more intuitively. Can I suggest either moving the chdir call before the stat(fullexecname), or modifying the logic that builds fullexecname so that it takes into account the value of the --chdir option too (if one was passed).

Thanks,

  Christian




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to