Description of problem: When running "yum upgrade", the "grub2-efi-x64-1:2.02-78.el8_1.1.x86_64" package throws an selinux error: error: lsetfilecon: (/boot/efi/EFI/redhat/fonts, system_u:object_r:boot_t:s0) Operation not supported error: lsetfilecon: (/boot/efi/EFI/redhat/grubx64.efi;5e3ad239, system_u:object_r:boot_t:s0) Operation not supported Version-Release number of selected component (if applicable): grub2-efi-x64-1:2.02-78.el8_1.1.x86_64 How reproducible: every time Steps to Reproduce: 1. sudo yum -y downgrade grub2-efi-x64.x86_64 2. sudo yum -y upgrade grub2-efi-x64.x86_64 Actual results: Throws an error: error: lsetfilecon: (/boot/efi/EFI/redhat/fonts, system_u:object_r:boot_t:s0) Operation not supported error: lsetfilecon: (/boot/efi/EFI/redhat/grubx64.efi;5e3ad420, system_u:object_r:boot_t:s0) Operation not supported Expected results: No error. Additional info: Since the EFI partition is vfat and vfat doesn't support selinux attributes, it makes sense to set the selinux as part of the mount options, but not on the files themselves.
*** This bug has been marked as a duplicate of bug 1777502 ***