diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2015-01-19 18:54:09 +0000 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2015-07-07 20:55:56 +0100 |
commit | cb3d265849771f7e53b0587196930328005414e0 (patch) | |
tree | 89cc665027b058443e6adc0881f1fe9df6f2d624 /tests/option_tests.py | |
parent | 5917dbd8f38bab29de9e40d1135b0e9e85cb91bc (diff) | |
download | sos-cb3d265849771f7e53b0587196930328005414e0.tar.gz |
[sosreport] add --sysroot option
Add a --sysroot=SYSROOT option to specify that the root file system to
be inspected is mounted at SYSROOT.
This allows basic support for container environments where sos is
running in a container and inspecting the containing host and its
environment ('superspection').
For this to work currently the following conditions must be met:
- sos is sufficiently privileged to read and search relevant file
system paths within SYSROOT
- sos must share the PID and network namespace of the target host
- binaries called by sos must be present and executable in the
SYSROOT inherited by sos. If PATH includes paths inside SYSROOT
appropriate values must be set for LD_LIBRARY_PATH to allow
shared executables to be linked.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to 'tests/option_tests.py')
0 files changed, 0 insertions, 0 deletions