Rootwrap supports for a configurable set of trusted
directories to search executables in (exec_dirs),
which defaults to system PATH.
Make the rootwrap filters more portable by removing
the explicit exec_dirs prefix from them. This allows
a binary to be installed in any of the exec_dirs and
still be used by rootwrap, which improves cross-distro
portability.
Reviewed: https:/ /review. openstack. org/143606 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=24522522560 ac9baf32552055c 4218cbea2aa17c
Committed: https:/
Submitter: Jenkins
Branch: master
commit 24522522560ac9b af32552055c4218 cbea2aa17c
Author: chen-li <email address hidden>
Date: Tue Dec 23 14:41:31 2014 +0800
Strip exec_dirs prefix from rootwrap filters
Rootwrap supports for a configurable set of trusted
directories to search executables in (exec_dirs),
which defaults to system PATH.
Make the rootwrap filters more portable by removing
the explicit exec_dirs prefix from them. This allows
a binary to be installed in any of the exec_dirs and
still be used by rootwrap, which improves cross-distro
portability.
Change-Id: I9a346c0fcddc7a c8af50f72df6d40 1b5079e4d58
Closes-Bug: #1405068