[node-patches] Change in ovirt-node[master]: persist: use restorecon after persist

fabiand at redhat.com fabiand at redhat.com
Wed Sep 10 14:35:59 UTC 2014


Fabian Deutsch has submitted this change and it was merged.

Change subject: persist: use restorecon after persist
......................................................................


persist: use restorecon after persist

shutil module doesn't provide method to copy objects keeping
selinux context. This patch adds restorecon call after the persist.

Change-Id: I50965ea67cfc6aa2c9c108a14e7c0c1607b287ad
Signed-off-by: Douglas Schilling Landgraf <dougsland at redhat.com>
---
M src/ovirt/node/utils/fs/__init__.py
M src/ovirt/node/utils/security.py
2 files changed, 13 insertions(+), 1 deletion(-)

Approvals:
  Fabian Deutsch: Verified; Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I50965ea67cfc6aa2c9c108a14e7c0c1607b287ad
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Douglas Schilling Landgraf <dougsland at redhat.com>
Gerrit-Reviewer: Douglas Schilling Landgraf <dougsland at redhat.com>
Gerrit-Reviewer: Fabian Deutsch <fabiand at redhat.com>
Gerrit-Reviewer: Ryan Barry <rbarry at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the node-patches mailing list