Files
inbuxa-installer/e2e/vm
jcoffey-dev 8a9e61b508
ci / test (pull_request) Successful in 36s
Make Fedora/Rocky a tested SELinux tier in the e2e harness
On the Red Hat family the installer runs under SELinux enforcing, and
SELinux has stopped it before -- a container could not read a directory
mounted into it (internal/apply/upgrade.go). The lab already offers
Fedora and Rocky; this makes a denial there a test failure.

run.sh, on a guest where SELinux is enforcing, notes the time before the
case and reads the audit log after it: any AVC denial in the installer's
footprint (its containers or /var/lib/inbuxa) fails the run even when the
case's own checks passed, because a denial it happened to survive today
is a latent break. SELINUX_IGNORE=1 downgrades that to a warning, and on
a distribution without SELinux enforcing nothing changes. lib.sh gains
the three helpers it uses.

e2e/cases/selinux.sh drives the paths that have been caught before --
install in containers, then a backup, which archives the server's
volumes through a container, then converge -- and after each confirms no
denial and that SELinux is still enforcing. It skips and passes where
SELinux is not the thing under test.
2026-11-13 09:30:29 -07:00
..