Disable SELinux in _support_server
tgtd is failing to start due to an SELinux denial; I'm filing a bug now.
This commit is contained in:
parent
e434eacb40
commit
14c1bae747
@ -23,6 +23,8 @@ sub run {
|
|||||||
assert_script_run "printf '<target iqn.2016-06.local.domain:support.target1>\n backing-store /dev/vdb\n incominguser test weakpassword\n</target>' > /etc/tgt/conf.d/openqa.conf";
|
assert_script_run "printf '<target iqn.2016-06.local.domain:support.target1>\n backing-store /dev/vdb\n incominguser test weakpassword\n</target>' > /etc/tgt/conf.d/openqa.conf";
|
||||||
# open firewall port
|
# open firewall port
|
||||||
assert_script_run "firewall-cmd --add-service=iscsi-target";
|
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 restart tgtd.service";
|
||||||
assert_script_run "systemctl is-active tgtd.service";
|
assert_script_run "systemctl is-active tgtd.service";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user