mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-25 23:33:07 +00:00
rpcbind not same path for PowerPC
A temporary patch on top of workaround RHBZ #1402427 (I do not have access to it) Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
This commit is contained in:
parent
9c8a4949fa
commit
c086b3c0c1
@ -49,7 +49,9 @@ sub run {
|
|||||||
assert_script_run "firewall-cmd --add-service=nfs";
|
assert_script_run "firewall-cmd --add-service=nfs";
|
||||||
# workaround RHBZ #1402427: somehow the file is incorrectly labelled
|
# workaround RHBZ #1402427: somehow the file is incorrectly labelled
|
||||||
# even after a clean install with fixed selinux-policy
|
# even after a clean install with fixed selinux-policy
|
||||||
assert_script_run "restorecon /usr/bin/rpcbind";
|
# Bypass: do not execute restorecon if file do not exist
|
||||||
|
# (for PowerPC rpcbind not in same path)
|
||||||
|
assert_script_run 'for xx in /usr/bin/rpcbind /sbin/rpcbind; do [ -f $xx ] && restorecon $xx; done';
|
||||||
# start the server
|
# start the server
|
||||||
assert_script_run "systemctl restart nfs-server.service";
|
assert_script_run "systemctl restart nfs-server.service";
|
||||||
assert_script_run "systemctl is-active nfs-server.service";
|
assert_script_run "systemctl is-active nfs-server.service";
|
||||||
@ -57,6 +59,7 @@ sub run {
|
|||||||
# report ready, wait for children
|
# report ready, wait for children
|
||||||
mutex_create('support_ready');
|
mutex_create('support_ready');
|
||||||
wait_for_children;
|
wait_for_children;
|
||||||
|
# TODO we should add systematic data capture to help investigation when children failed.
|
||||||
}
|
}
|
||||||
|
|
||||||
sub test_flags {
|
sub test_flags {
|
||||||
|
Loading…
Reference in New Issue
Block a user