Merge "Set virt_use_execmem boolean if SELinux is enabled."
This commit is contained in:
commit
59f4da37c4
4
stack.sh
4
stack.sh
@ -1396,6 +1396,10 @@ if is_service_enabled n-cpu; then
|
||||
if [ ! -e /dev/kvm ]; then
|
||||
echo "WARNING: Switching to QEMU"
|
||||
LIBVIRT_TYPE=qemu
|
||||
if which selinuxenabled 2>&1 > /dev/null && selinuxenabled; then
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=753589
|
||||
sudo setsebool virt_use_execmem on
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user