aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/plugins/libraries.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/sos/plugins/libraries.py b/sos/plugins/libraries.py
index 03f79dab..5365fac7 100644
--- a/sos/plugins/libraries.py
+++ b/sos/plugins/libraries.py
@@ -25,6 +25,12 @@ class Libraries(Plugin, RedHatPlugin, UbuntuPlugin):
if self.get_option("ldconfigv"):
self.add_cmd_output("ldconfig -v -N -X")
+ self.add_env_var([
+ 'PATH',
+ 'LD_LIBRARY_PATH',
+ 'LD_PRELOAD'
+ ])
+
ldconfig_file = self.get_cmd_output_now("ldconfig -p -N -X")
if not ldconfig_file: