[MERGED] osmo-gsm-manuals[master]: OsmoGSMTester: Explain patchelf is used sometimes to modify ...

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Sun Nov 12 14:21:18 UTC 2017


Harald Welte has submitted this change and it was merged.

Change subject: OsmoGSMTester: Explain patchelf is used sometimes to modify RPATH
......................................................................


OsmoGSMTester: Explain patchelf is used sometimes to modify RPATH

Change-Id: I7bb811bc984c8d576984b038b391cf8130cc465e
---
M OsmoGSMTester/chapters/intro.adoc
1 file changed, 5 insertions(+), 1 deletion(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



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 @@
 
 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

-- 
To view, visit https://gerrit.osmocom.org/4657
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I7bb811bc984c8d576984b038b391cf8130cc465e
Gerrit-PatchSet: 2
Gerrit-Project: osmo-gsm-manuals
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list