Skip to content

Commit

Permalink
fmf: Disable SELinux for version which breaks nspawn
Browse files Browse the repository at this point in the history
  • Loading branch information
martinpitt authored and mvollmer committed Jul 18, 2024
1 parent 3e5c992 commit d579c58
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/browser/browser.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ sh -x test/vm.install

systemctl enable --now cockpit.socket podman.socket

# HACK: https://issues.redhat.com/browse/RHEL-49567
if [ "$(rpm -q selinux-policy)" = "selinux-policy-40.13.5-1.el10.noarch" ]; then
setenforce 0
fi

# Run tests in the cockpit tasks container, as unprivileged user
# Use nspawn to avoid the tests killing the tasks container itself
chown -R 1111:1111 "${TMT_TEST_DATA}" .
Expand Down

0 comments on commit d579c58

Please sign in to comment.