aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJake Hunsaker <jhunsake@redhat.com>2019-05-16 11:22:53 -0400
committerPavel Moravec <pmoravec@redhat.com>2019-08-25 10:36:55 +0200
commit447eab7ea4ff1ef9aa1692f4b66b2ec96b1633f7 (patch)
treecdda6c90a44ec1ef8d25340f38817cf96c4647ad
parente1f3d8aa3ccafdb0d7cb547a19bb270f17a22f35 (diff)
downloadsos-447eab7ea4ff1ef9aa1692f4b66b2ec96b1633f7.tar.gz
[dbus] Add environment variable collection
Adds collection of the DBUS_SESSION_BUS_ADDRESS env var. Signed-off-by: Jake Hunsaker <jhunsake@redhat.com> Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
-rw-r--r--sos/plugins/dbus.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sos/plugins/dbus.py b/sos/plugins/dbus.py
index 33ee6db2..606b6e94 100644
--- a/sos/plugins/dbus.py
+++ b/sos/plugins/dbus.py
@@ -27,4 +27,6 @@ class Dbus(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
"busctl status"
])
+ self.add_env_var('DBUS_SESSION_BUS_ADDRESS')
+
# vim: set et ts=4 sw=4 :