aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2014-12-16 15:28:33 +0000
committerBryn M. Reeves <bmr@redhat.com>2014-12-16 15:28:33 +0000
commitccbf333aebd4c0586347de5991b62a50928858b7 (patch)
tree220c047fee33f750b2b6941b8f0d268003da1611
parent3aabd18b2666dbbeb86871ac4b9f025e468d5818 (diff)
downloadsos-ccbf333aebd4c0586347de5991b62a50928858b7.tar.gz
[selinux] capture process SELinux domains
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/selinux.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sos/plugins/selinux.py b/sos/plugins/selinux.py
index c46e91a2..c914a9b1 100644
--- a/sos/plugins/selinux.py
+++ b/sos/plugins/selinux.py
@@ -28,7 +28,6 @@ class SELinux(Plugin, RedHatPlugin):
packages = ('libselinux',)
def setup(self):
- # sestatus is always collected in check_enabled()
self.add_copy_spec("/etc/selinux")
self.add_cmd_output([
"sestatus -b",
@@ -36,7 +35,8 @@ class SELinux(Plugin, RedHatPlugin):
"selinuxdefcon root",
"selinuxconlist root",
"selinuxexeccon /bin/passwd",
- "semanage -o -"
+ "semanage -o -",
+ "ps axuZww"
])
if self.get_option('fixfiles'):
self.add_cmd_output("fixfiles -v check")