diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2013-04-09 19:14:10 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2013-04-09 19:14:10 +0100 |
commit | e0d132e60d4be5fcb4a2aeaf8bdb6042f5b42ab5 (patch) | |
tree | 3785f3191164d51fc2294b9e1f70017e72f1139d /tests/test_exe.py | |
parent | 2a917c513b917d0ceace4d4e937cc318d5c82d25 (diff) | |
download | sos-e0d132e60d4be5fcb4a2aeaf8bdb6042f5b42ab5.tar.gz |
Make PATH policy controlled
Make the PATH environment variable subject to Policy class
control. Policies may set PATH to an appropriately formatted
string for the platform. This will be exported to the environment
and used as the search path for binaries that sos modules execute.
Following this change all absolute paths can be removed from
plug-in code simplifying maintenance on multiple distributions
and distribution versions (e.g. Red Hat UsrMove and various
updates that relocate binaries such as lsusb).
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to 'tests/test_exe.py')
0 files changed, 0 insertions, 0 deletions