From ba3913caa0b7ade66a79789b3c3e1debf9f04822 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Wed, 15 Dec 2021 11:07:33 +0100 Subject: [PATCH] fmf: Work around missing /etc/nsswitch.conf in Fedora Rawhide Upgrading glibc in Rawhide now (semi-intentionally) removes /etc/nsswitch.conf, but does not enforce installing a new enough pam/authselect to ensure that it gets re-added. This breaks resolving "localhost". Reported as https://bugzilla.redhat.com/show_bug.cgi?id=2033020 --- test/browser/browser.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/browser/browser.sh b/test/browser/browser.sh index ce9509d..cd88a9a 100755 --- a/test/browser/browser.sh +++ b/test/browser/browser.sh @@ -12,6 +12,9 @@ LOGS="$(pwd)/logs" mkdir -p "$LOGS" chmod a+w "$LOGS" +# HACK: https://bugzilla.redhat.com/show_bug.cgi?id=2033020 +dnf update -y pam || true + # install firefox (available everywhere in Fedora and RHEL) # we don't need the H.264 codec, and it is sometimes not available (rhbz#2005760) dnf install --disablerepo=fedora-cisco-openh264 -y firefox