Maor Lipchuk has uploaded a new change for review.

Change subject: tools: Collect incorrect file context labels.
......................................................................

tools: Collect incorrect file context labels.

Log collector gives you the information whether the selinux is enables
or not, but do not display the incorrect context of the files and
folders.

If the selinux is enabled we can't be sure whether the files have valid
selinux permissions or not, therefore I think that enabling the selinux
fixfiles option could be useful.

Change-Id: I53eddd683edc38502e881081b4bd35e15dae3a69
Signed-off-by: Maor Lipchuk <mlipc...@redhat.com>
---
M src/__main__.py
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-log-collector 
refs/changes/42/17542/1

diff --git a/src/__main__.py b/src/__main__.py
index d0c0c79..b850a3f 100755
--- a/src/__main__.py
+++ b/src/__main__.py
@@ -715,6 +715,7 @@
         opts = [
             "-k rpm.rpmva=off",
             "-k general.all_logs=True",
+            "-k selinux.fixfiles=True",
             "-k apache.log=True"
         ]
 


-- 
To view, visit http://gerrit.ovirt.org/17542
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I53eddd683edc38502e881081b4bd35e15dae3a69
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-log-collector
Gerrit-Branch: master
Gerrit-Owner: Maor Lipchuk <mlipc...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to