Change in ovirt-hosted-engine-setup[master]: packaging: setup: setting SELinux context on the loopback de...

sbonazzo at redhat.com sbonazzo at redhat.com
Wed Jul 15 08:16:44 UTC 2015


Sandro Bonazzola has submitted this change and it was merged.

Change subject: packaging: setup: setting SELinux context on the loopback device
......................................................................


packaging: setup: setting SELinux context on the loopback device

Hosted-engine with SPM requires a fake shared storage domain
on a loopback device.
Fixing its SELinux context to avoid SELinux denials when
sanlock tries to use it.

Using python selinuxlib binding instead of calling
selinux utilities

Change-Id: Ie3d66e137fbbe301bb93915c4330e41faa243414
Bug-Url: https://bugzilla.redhat.com/1242448
Signed-off-by: Simone Tiraboschi <stirabos at redhat.com>
---
M ovirt-hosted-engine-setup.spec.in
M src/plugins/ovirt-hosted-engine-setup/engine/add_host.py
M src/plugins/ovirt-hosted-engine-setup/pki/vdsmpki.py
M src/plugins/ovirt-hosted-engine-setup/storage/storage.py
4 files changed, 27 insertions(+), 45 deletions(-)

Approvals:
  Sandro Bonazzola: Looks good to me, approved
  Simone Tiraboschi: Verified
  Jenkins CI: Passed CI tests
  Yedidyah Bar David: Looks good to me, but someone else must approve



-- 
To view, visit https://gerrit.ovirt.org/43540
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie3d66e137fbbe301bb93915c4330e41faa243414
Gerrit-PatchSet: 11
Gerrit-Project: ovirt-hosted-engine-setup
Gerrit-Branch: master
Gerrit-Owner: Simone Tiraboschi <stirabos at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Lev Veyde <lveyde at redhat.com>
Gerrit-Reviewer: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: Simone Tiraboschi <stirabos at redhat.com>
Gerrit-Reviewer: Yedidyah Bar David <didi at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list