diff --git a/init.cfg b/init.cfg index 9224c5df0..ae02adcfd 100644 --- a/init.cfg +++ b/init.cfg @@ -112,6 +112,7 @@ require_selinux_() # When in a chroot of an SELinux-enabled system, but with a mock-simulated # SELinux-*disabled* system, recognize that SELinux is disabled system wide: grep 'selinuxfs$' /proc/filesystems > /dev/null \ + || { mount | grep ' type selinuxfs ' > /dev/null; } \ || skip_ "this system lacks SELinux support" # Independent of whether SELinux is enabled system-wide,