Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1785986 - Error when upgrading 'grub2-common' to latest version (2.02-104)
Summary: Error when upgrading 'grub2-common' to latest version (2.02-104)
Keywords:
Status: CLOSED DUPLICATE of bug 1722766
Alias: None
Product: Fedora
Classification: Fedora
Component: grub2
Version: 31
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Peter Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-12-23 00:30 UTC by Mark Harig
Modified: 2020-01-27 12:37 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-01-27 12:36:08 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Mark Harig 2019-12-23 00:30:42 UTC
Description of problem:
When installing (upgrading) the component 'grub2-common', an error message is displayed by 'lsetfilecon'.

Version-Release number of selected component (if applicable):
$ rpm -q grub2-common
grub2-common-2.02-104.fc31.noarch

How reproducible:
The error message is displayed whenever grub2-common is upgraded.

Steps to Reproduce:
1. To see the error message, reinstall grub2-common using dnf:

$ sudo dnf reinstall grub2-common 

2. The following error message is displayed near the end of the upgrade/installation process:

error: lsetfilecon: (/boot/efi/EFI/fedora, system_u:object_r:boot_t:s0) Operation not supported


Actual results:

$ rpm -V grub2-common
missing     /boot/efi/EFI/fedora (Permission denied)


Expected results:

Should expect that the upgrade/reinstall completes without the error message from lsetfilecon, and the rpm verification of grub2-common's files should display no error messages.


Additional info:

Comment 1 Mark Harig 2019-12-23 00:35:22 UTC
Correction:

$ rpm -V grub2-common

shows the error described, above, but

$ sudo rpm -V grub2-common

does not display the verification error.  (It was my mistake to leave out the required 'sudo'.)

Comment 2 Mark Harig 2019-12-23 02:32:08 UTC
Additional packages have this problem: 

$ sudo dnf reinstall grub2-efi-ia32
...
Reinstalling     : grub2-efi-ia32-1:2.02-104.fc31.x86_64                                                                                        1/2 
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;5e001ab8, system_u:object_r:boot_t:s0) Operation not supported
...

$ sudo dnf reinstall grub2-efi-x64
...
Reinstalling     : grub2-efi-x64-1:2.02-104.fc31.x86_64                                                                                         1/2 
error: lsetfilecon: (/boot/efi/EFI/fedora/fonts, system_u:object_r:boot_t:s0) Operation not supported
error: lsetfilecon: (/boot/efi/EFI/fedora/grubx64.efi;5e001b07, system_u:object_r:boot_t:s0) Operation not supported
...

$ sudo dnf reinstall grub2-efi-ia32-cdboot
...
Reinstalling     : grub2-efi-ia32-cdboot-1:2.02-104.fc31.x86_64                                                                                 1/2 
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;5e001c86, system_u:object_r:boot_t:s0) Operation not supported
error: lsetfilecon: (/boot/efi/EFI/fedora/gcdia32.efi;5e001c86, system_u:object_r:boot_t:s0) Operation not supported
...

$ sudo dnf reinstall grub2-efi-x64-cdboot
...
Reinstalling     : grub2-efi-x64-cdboot-1:2.02-104.fc31.x86_64                                                                                  1/2 
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;5e001cca, system_u:object_r:boot_t:s0) Operation not supported
error: lsetfilecon: (/boot/efi/EFI/fedora/gcdx64.efi;5e001cca, system_u:object_r:boot_t:s0) Operation not supported
...

Comment 3 Javier Martinez Canillas 2020-01-27 12:36:08 UTC

*** This bug has been marked as a duplicate of bug 1722766 ***

Comment 4 Javier Martinez Canillas 2020-01-27 12:37:38 UTC
This is not a bug in grub2, closing it as duplicate of bug #1722766.


Note You need to log in before you can comment on or make changes to this bug.