selinux/kernel/genfs_fallback/main.fmf
Ondrej Mosnacek 25176f01ce
kernel/genfs_fallback: use vfat instead of ramfs
ramfs is now treated as an xattr-supporting filesystem and has the
fs_use_trans directive in the base policy. Thus switch to vfat, which is
still genfs.

Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
2022-09-13 11:06:41 +02:00

29 lines
1,000 B
Text

summary: Test genfscon fallback for fs_use_xattr when no xattr support
description: |
Test that a fs_use_xattr filesystem mount falls back to genfscon when it
doesn't have xattr support.
See also:
https://lore.kernel.org/selinux/CAFqZXNsGabHBfV36nNAVLJgEzjkBev-O3YZ1vnmXyVoaDdjiHQ@mail.gmail.com/T/
https://lore.kernel.org/selinux/20210113123802.63563-1-omosnace@redhat.com/
contact: Ondrej Mosnacek <omosnace@redhat.com>
component:
- kernel
framework: beakerlib
require:
- policycoreutils
- dosfstools
duration: 5m
tier: 2
enabled: true
adjust:
- enabled: false
when: distro < rhel-8.5
because: RHEL-8.5 and below are not expected to support this
- enabled: false
when: distro < fedora-35
because: This feature may not be supported on kernels in F34 and below
link:
- verifies: https://bugzilla.redhat.com/show_bug.cgi?id=1899703
- verifies: https://bugzilla.redhat.com/show_bug.cgi?id=1915825
- verifies: https://bugzilla.redhat.com/show_bug.cgi?id=1937297