From 14c1bae747ed4ac8776076181b80ce5762e10698 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Sat, 16 Sep 2017 17:04:32 -0700 Subject: [PATCH] Disable SELinux in _support_server tgtd is failing to start due to an SELinux denial; I'm filing a bug now. --- tests/_support_server.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/_support_server.pm b/tests/_support_server.pm index 60c88ec0..85d5ab9c 100644 --- a/tests/_support_server.pm +++ b/tests/_support_server.pm @@ -23,6 +23,8 @@ sub run { assert_script_run "printf '\n backing-store /dev/vdb\n incominguser test weakpassword\n' > /etc/tgt/conf.d/openqa.conf"; # open firewall port assert_script_run "firewall-cmd --add-service=iscsi-target"; + # tgtd currently fails to run on f26 with SELinux enforcing + assert_script_run "setenforce Permissive"; assert_script_run "systemctl restart tgtd.service"; assert_script_run "systemctl is-active tgtd.service";