diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2017-11-02 15:03:58 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-11-12 14:21:04 +0000 |
commit | e924c2fce4c53bd10142f0b1af31232ced960877 (patch) | |
tree | 234a30a8af41d15b4f2275f8454d5dfa6de8c18d /OsmoGSMTester | |
parent | 88ad5ed0df788ded6c8062431538f9618c4e1510 (diff) |
OsmoGSMTester: Explain patchelf is used sometimes to modify RPATH
Change-Id: I7bb811bc984c8d576984b038b391cf8130cc465e
Diffstat (limited to 'OsmoGSMTester')
-rw-r--r-- | OsmoGSMTester/chapters/intro.adoc | 6 |
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 |