aboutsummaryrefslogtreecommitdiffstats
path: root/OsmoGSMTester
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2017-11-02 15:03:58 +0100
committerHarald Welte <laforge@gnumonks.org>2017-11-12 14:21:04 +0000
commite924c2fce4c53bd10142f0b1af31232ced960877 (patch)
tree234a30a8af41d15b4f2275f8454d5dfa6de8c18d /OsmoGSMTester
parent88ad5ed0df788ded6c8062431538f9618c4e1510 (diff)
OsmoGSMTester: Explain patchelf is used sometimes to modify RPATH
Diffstat (limited to 'OsmoGSMTester')
-rw-r--r--OsmoGSMTester/chapters/intro.adoc6
1 files changed, 5 insertions, 1 deletions
diff --git a/OsmoGSMTester/chapters/intro.adoc b/OsmoGSMTester/chapters/intro.adoc
index 6e377da..55f1a5e 100644
--- a/OsmoGSMTester/chapters/intro.adoc
+++ b/OsmoGSMTester/chapters/intro.adoc
@@ -385,7 +385,11 @@ separate processes.
Also, the binaries from a trial are never installed system-wide, but are run
with a specific 'LD_LIBRARY_PATH' pointing at the trial's 'inst', so that
-several trials can run consecutively without conflicting binary versions.
+several trials can run consecutively without conflicting binary versions. For
+some specific binaries which require extra permissions (such as osmo-bts-octphy
+requiring 'CAP_NET_RAW'), 'patchelf' program is used to modify the binary
+'RPATH' field instead because the OS dynamic linker skips 'LD_LIBRARY_PATH' for
+binaries with special permissions.
Once a test suite run is complete, all its reserved resources are torn down (if
the test scripts have not done so already), and the reservations are released