Bug 1157185 - vdsm does not set selinux booleans during installation when selinux disabled
Summary: vdsm does not set selinux booleans during installation when selinux disabled
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: vdsm
Version: 3.5.0
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: 3.5.0
Assignee: Yaniv Bronhaim
QA Contact: Petr Kubica
URL:
Whiteboard: infra
: 1155292 1156038 (view as bug list)
Depends On:
Blocks: 1122979 oVirt_3.5.1_tracker 1157227
TreeView+ depends on / blocked
 
Reported: 2014-10-25 21:19 UTC by Yaniv Bronhaim
Modified: 2016-02-10 19:01 UTC (History)
17 users (show)

Fixed In Version: vdsm-4.16.7.3-1.el6ev
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1157227 (view as bug list)
Environment:
Last Closed: 2015-02-16 13:40:19 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 34445 0 master MERGED tool: moving setup booleans verb to be part of the configurators Never
oVirt gerrit 34463 0 ovirt-3.5 MERGED tool: moving setup booleans verb to be part of the configurators Never

Description Yaniv Bronhaim 2014-10-25 21:19:24 UTC
Description of problem:
Currently vdsm sets selinux booleans during vdsm installation. recently we faced issues while selinux was disabled during installation and therefore vdsm failed to set the booleans and it leaded to failures during run time (see Bug #1150243)

In this bug scope we will move the set part to be part of the configure. means that the set booleans configurations will be performed while the user calls "vdsm-tool configure" as part of deploying the host.

Comment 2 Yaniv Bronhaim 2014-10-26 11:40:20 UTC
*** Bug 1156038 has been marked as a duplicate of this bug. ***

Comment 3 Yaniv Bronhaim 2014-10-27 12:00:23 UTC
*** Bug 1155292 has been marked as a duplicate of this bug. ***

Comment 4 Petr Kubica 2014-11-07 16:23:39 UTC
Verified in vdsm-4.16.7.3-1.el6ev.x86_64

###
$vdsm-tool configure

Checking configuration status...

libvirt is already configured for vdsm
SUCCESS: ssl configured to true. No conflicts

Running configure...

Done configuring modules to VDSM.
###

$getsebool -a
...
sanlock_use_fusefs --> on
sanlock_use_nfs --> on
sanlock_use_samba --> on
..
virt_use_fusefs --> on
virt_use_nfs --> on
virt_use_samba --> on
virt_use_sanlock --> on
...


Note You need to log in before you can comment on or make changes to this bug.