Adds support for a configurable set of trusted directories to search
executables in (exec_dirs), which defaults to system PATH. If your
filter specifies an exec_path that doesn't start with '/', then it
will be searched in exec_dirs. Avoids having to write multiple
filters to care for distro differences. Fixes bug 1079723.
Also returns a specific error rather than try to run absent executables.
Reviewed: https:/ /review. openstack. org/16766 github. com/openstack/ nova/commit/ 12e264d58f052f1 92f3408f5cd8637 809eff085b
Committed: http://
Submitter: Jenkins
Branch: master
commit 12e264d58f052f1 92f3408f5cd8637 809eff085b
Author: Thierry Carrez <email address hidden>
Date: Fri Nov 16 15:50:01 2012 +0100
Configurable exec_dirs to find rootwrap commands
Adds support for a configurable set of trusted directories to search
executables in (exec_dirs), which defaults to system PATH. If your
filter specifies an exec_path that doesn't start with '/', then it
will be searched in exec_dirs. Avoids having to write multiple
filters to care for distro differences. Fixes bug 1079723.
Also returns a specific error rather than try to run absent executables.
Change-Id: Idab03bb0be6832 a75ffeed4e78d25 d0543f5caf9