Work around RHBZ #1606541 (on Rawhide, not updates)

We kind of want to know if FreeIPA is working aside from this
known bug, so let's treat it as a soft failure and work around
it. But only for Rawhide, not for F27/F28 updates tests.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2018-07-23 11:12:57 -07:00
parent 7621cd7e57
commit 3817e7128d

View File

@ -77,6 +77,11 @@ sub run {
# this is the other side of the version branch - we're on 29+,
# so no rolekit. First install the necessary packages
assert_script_run "dnf -y groupinstall freeipa-server", 600;
# FIXME workaround RHBZ#1606541 until it's fixed
unless (script_run "ls -l /usr/sbin/setup-ds.pl") {
record_soft_failure "389-ds-base-legacy-tools missing - #1606541";
assert_script_run "dnf -y install 389-ds-base-legacy-tools", 180;
}
# configure the firewall
for my $service (qw(freeipa-ldap freeipa-ldaps dns)) {
assert_script_run "firewall-cmd --permanent --add-service $service";