[node-patches] Change in ovirt-node[master]: Set /var/log/core label correctly

fabiand at redhat.com fabiand at redhat.com
Fri Aug 15 16:10:49 UTC 2014


Fabian Deutsch has uploaded a new change for review.

Change subject: Set /var/log/core label correctly
......................................................................

Set /var/log/core label correctly

Change-Id: I98d646a8c727843a876edc3c861316c9beae5e1b
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M src/ovirtnode/ovirtfunctions.py
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/43/31543/1

diff --git a/src/ovirtnode/ovirtfunctions.py b/src/ovirtnode/ovirtfunctions.py
index c854b4c..1d53297 100644
--- a/src/ovirtnode/ovirtfunctions.py
+++ b/src/ovirtnode/ovirtfunctions.py
@@ -1182,6 +1182,7 @@
     logging_mount = subprocess_closefds(logging_mount_cmd, shell=True,
                                         stdout=PIPE, stderr=STDOUT)
     (logging_mount_output, dummy) = logging_mount.communicate()
+    system("chcon -R system_u:object_r:virt_cache_t:s0 /var/log/core/")
     system("chcon system_u:object_r:var_log_t:s0 %s" % logging_mount_output)
     system("chcon -R system_u:object_r:auditd_log_t:s0 %s/audit/" %
            logging_mount_output.rstrip())


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I98d646a8c727843a876edc3c861316c9beae5e1b
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at redhat.com>



More information about the node-patches mailing list