Bug 1819817
Summary: | upgrading grub2 leads to an error / setfileicon | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | bugzilla |
Component: | grub2 | Assignee: | Peter Jones <pjones> |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 32 | CC: | aakolov, antonio.montagnani, bogdan.watula, fmartine, germano.massullo, lkundrak, pjones, pmatilai, y9t7sypezp |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-05-04 07:00:52 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
bugzilla
2020-04-01 16:06:17 UTC
Those same errors occurred during an update in an F32 VM: # fgrep -C1 -n lsetfilecon /var/log/dnf.rpm.log 170-2020-03-31T13:50:09Z SUBDEBUG Upgrade: grub2-common-1:2.04-11.fc32.noarch 171:2020-03-31T13:50:09Z INFO error: lsetfilecon: (/boot/efi/EFI/fedora, system_u:object_r:boot_t:s0) Operation not supported 172- -- 405-2020-03-31T13:54:45Z SUBDEBUG Upgrade: grub2-efi-ia32-1:2.04-11.fc32.x86_64 406:2020-03-31T13:54:45Z INFO error: lsetfilecon: (/boot/efi/EFI/fedora/fonts, system_u:object_r:boot_t:s0) Operation not supported 407:error: lsetfilecon: (/boot/efi/EFI/fedora/grubia32.efi;5e834a82, system_u:object_r:boot_t:s0) Operation not supported 408- 409-2020-03-31T13:54:46Z SUBDEBUG Upgrade: grub2-efi-x64-1:2.04-11.fc32.x86_64 410:2020-03-31T13:54:46Z INFO error: lsetfilecon: (/boot/efi/EFI/fedora/grubx64.efi;5e834a82, system_u:object_r:boot_t:s0) Operation not supported 411- -- 479-2020-03-31T13:55:33Z SUBDEBUG Upgrade: grub2-efi-ia32-cdboot-1:2.04-11.fc32.x86_64 480:2020-03-31T13:55:33Z INFO error: lsetfilecon: (/boot/efi/EFI/fedora/fonts, system_u:object_r:boot_t:s0) Operation not supported 481:error: lsetfilecon: (/boot/efi/EFI/fedora/fonts/unicode.pf2;5e834a82, system_u:object_r:boot_t:s0) Operation not supported 482:error: lsetfilecon: (/boot/efi/EFI/fedora/gcdia32.efi;5e834a82, system_u:object_r:boot_t:s0) Operation not supported 483- 484-2020-03-31T13:55:33Z SUBDEBUG Upgrade: grub2-efi-x64-cdboot-1:2.04-11.fc32.x86_64 485:2020-03-31T13:55:33Z INFO error: lsetfilecon: (/boot/efi/EFI/fedora/gcdx64.efi;5e834a82, system_u:object_r:boot_t:s0) Operation not supported 486- This looks like an selinux configuration problem: # ls -R -1Z /boot/efi/EFI/fedora /boot/efi/EFI/fedora: system_u:object_r:dosfs_t:s0 BOOTIA32.CSV system_u:object_r:dosfs_t:s0 BOOTX64.CSV system_u:object_r:dosfs_t:s0 fonts system_u:object_r:dosfs_t:s0 gcdia32.efi system_u:object_r:dosfs_t:s0 gcdx64.efi system_u:object_r:dosfs_t:s0 grub.cfg system_u:object_r:dosfs_t:s0 grub.cfg.ORIG system_u:object_r:dosfs_t:s0 grubenv system_u:object_r:dosfs_t:s0 grubenv.BAK1 system_u:object_r:dosfs_t:s0 grubenv.BAK2 system_u:object_r:dosfs_t:s0 grubia32.efi system_u:object_r:dosfs_t:s0 grubx64.efi system_u:object_r:dosfs_t:s0 mmia32.efi system_u:object_r:dosfs_t:s0 mmx64.efi system_u:object_r:dosfs_t:s0 shim.efi system_u:object_r:dosfs_t:s0 shimia32.efi system_u:object_r:dosfs_t:s0 shimia32-fedora.efi system_u:object_r:dosfs_t:s0 shimx64.efi system_u:object_r:dosfs_t:s0 shimx64-fedora.efi /boot/efi/EFI/fedora/fonts: system_u:object_r:dosfs_t:s0 unicode.pf2 For the record, my F32 VM is booting with EFI: $ journalctl -b --no-hostname | grep -m 1 EFI Apr 03 12:33:46 kernel: efi: EFI v2.70 by EDK II # mount -t vfat /dev/vda1 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=winnt,errors=remount-ro) I had today the same errors while upgrading grub2 on F31: Upgrading : grub2-common-1:2.02-108.fc31.noarch 1/117 error: lsetfilecon: (/boot/efi/EFI/fedora, system_u:object_r:boot_t:s0) Operation not supported Upgrading : grub2-efi-ia32-1:2.02-108.fc31.x86_64 48/117 error: lsetfilecon: (/boot/efi/EFI/fedora/fonts, system_u:object_r:boot_t:s0) Operation not supported error: lsetfilecon: (/boot/efi/EFI/fedora/grubia32.efi;5ea5b550, system_u:object_r:boot_t:s0) Operation not supported Upgrading : grub2-efi-x64-1:2.02-108.fc31.x86_64 49/117 error: lsetfilecon: (/boot/efi/EFI/fedora/grubx64.efi;5ea5b550, system_u:object_r:boot_t:s0) Operation not supported Upgrading : grub2-efi-ia32-cdboot-1:2.02-108.fc31.x86_64 51/117 error: lsetfilecon: (/boot/efi/EFI/fedora/fonts, system_u:object_r:boot_t:s0) Operation not supported error: lsetfilecon: (/boot/efi/EFI/fedora/fonts/unicode.pf2;5ea5b550, system_u:object_r:boot_t:s0) Operation not supported error: lsetfilecon: (/boot/efi/EFI/fedora/gcdia32.efi;5ea5b550, system_u:object_r:boot_t:s0) Operation not supported Upgrading : grub2-efi-x64-cdboot-1:2.02-108.fc31.x86_64 52/117 error: lsetfilecon: (/boot/efi/EFI/fedora/gcdx64.efi;5ea5b550, system_u:object_r:boot_t:s0) Operation not supported This week I have upgraded my system to F32. Today I have applied recent updates including grub-related ones and here is the output: Running scriptlet: grub2-common-1:2.04-15.fc32.noarch 1/1 Upgrading : grub2-common-1:2.04-15.fc32.noarch 1/150 error: lsetfilecon: (/boot/efi/EFI/fedora, system_u:object_r:boot_t:s0) Operation not supported Upgrading : grub2-pc-1:2.04-15.fc32.x86_64 62/150 Upgrading : grub2-efi-ia32-1:2.04-15.fc32.x86_64 63/150 error: lsetfilecon: (/boot/efi/EFI/fedora/fonts, system_u:object_r:boot_t:s0) Operation not supported error: lsetfilecon: (/boot/efi/EFI/fedora/grubia32.efi;5eac04cf, system_u:object_r:boot_t:s0) Operation not supported Upgrading : grub2-efi-x64-1:2.04-15.fc32.x86_64 64/150 error: lsetfilecon: (/boot/efi/EFI/fedora/grubx64.efi;5eac04cf, system_u:object_r:boot_t:s0) Operation not supported Upgrading : grub2-tools-extra-1:2.04-15.fc32.x86_64 65/150 Upgrading : grub2-efi-ia32-cdboot-1:2.04-15.fc32.x86_64 66/150 error: lsetfilecon: (/boot/efi/EFI/fedora/fonts, system_u:object_r:boot_t:s0) Operation not supported error: lsetfilecon: (/boot/efi/EFI/fedora/fonts/unicode.pf2;5eac04cf, system_u:object_r:boot_t:s0) Operation not supported error: lsetfilecon: (/boot/efi/EFI/fedora/gcdia32.efi;5eac04cf, system_u:object_r:boot_t:s0) Operation not supported Upgrading : grub2-efi-x64-cdboot-1:2.04-15.fc32.x86_64 67/150 error: lsetfilecon: (/boot/efi/EFI/fedora/gcdx64.efi;5eac04cf, system_u:object_r:boot_t:s0) Operation not supported Upgrading : grub2-tools-efi-1:2.04-15.fc32.x86_64 68/150 *** Bug 1829137 has been marked as a duplicate of this bug. *** *** Bug 1830399 has been marked as a duplicate of this bug. *** *** Bug 1827922 has been marked as a duplicate of this bug. *** *** This bug has been marked as a duplicate of bug 1722766 *** |