Skip to content

Commit be7e8ea

Browse files
committed
tests/upgrade: add in SELinux label exception for <F43
xref: coreos/fedora-coreos-tracker#2030 (comment)
1 parent 3013c93 commit be7e8ea

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/kola/upgrade/extended/test.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,11 @@ selinux-sanity-check() {
211211
paths="$(echo "${mislabeled}" | grep "Would relabel" | cut -d ' ' -f 3)"
212212
found=""
213213
while read -r path; do
214+
# Add in a glob exception for /usr/etc/systemd/system for <F43 releases
215+
# https://github.com/coreos/fedora-coreos-tracker/issues/2030#issuecomment-3329932294
216+
if [[ "${path}" =~ /usr/etc/systemd/system ]] && [ "$(get_fedora_ver)" -eq 42 ]; then
217+
continue
218+
fi
214219
if [[ "${exceptions[$path]:-noexception}" == 'noexception' ]]; then
215220
echo "Unexpected mislabeled file found: ${path}"
216221
found="1"

0 commit comments

Comments
 (0)