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 1778389 - error: lsetfilecon: (/boot/efi/EFI/fedora, system_u:object_r:boot_t:s0) Operation not supported
Summary: error: lsetfilecon: (/boot/efi/EFI/fedora, system_u:object_r:boot_t:s0) Opera...
Keywords:
Status: CLOSED DUPLICATE of bug 1722766
Alias: None
Product: Fedora
Classification: Fedora
Component: grub2
Version: 31
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-11-30 15:40 UTC by Sam Varshavchik
Modified: 2020-04-23 22:53 UTC (History)
6 users (show)

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


Attachments (Terms of Use)

Description Sam Varshavchik 2019-11-30 15:40:46 UTC
Description of problem:

Latest grub2 update logs a bunch of permission errors:

  Upgrading        : glib2-2.62.3-1.fc31.x86_64                           1/184 
  Upgrading        : grub2-common-1:2.02-103.fc31.noarch                  2/184 
error: lsetfilecon: (/boot/efi/EFI/fedora, system_u:object_r:boot_t:s0) Operation not supported

Other grub2 packages logged similar errors for stuff that they install into /boot/efi/EFI

Version-Release number of selected component (if applicable):

grub2-common-1:2.02-103.fc31.noarch

How reproducible:

About half of various servers reported these errors when installing this update.

Steps to Reproduce:
1. install the grub update

Actual results:

A bunch of permission errors, but the update does get installed.

Expected results:

No errors.

Additional info:

The errors do not appear to be fatal, the servers that experienced this problem seem to have survived their reboot.

The servers that appear to experience this problem use EFI to boot, and the selinux context is:

drwx------. 3 root root system_u:object_r:dosfs_t:s0 4096 Nov 30 10:29 /boot/efi/EFI/fedora

restorecon does not appear to fix this.

Non-EFI servers without a /boot/efi:

drwx------. 2 root root system_u:object_r:boot_t:s0 1024 Oct 10 03:35 /boot/efi/EFI/fedora

Comment 1 Chris Murphy 2020-01-18 19:25:27 UTC

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

Comment 2 Didik Supriadi 2020-04-23 21:59:11 UTC
(In reply to Chris Murphy from comment #1)
> 
> *** This bug has been marked as a duplicate of bug 1722766 ***

same problem BUT bug 1722766 doesn't fix my issues, please reopen

Comment 3 Didik Supriadi 2020-04-23 22:07:08 UTC
specifically: bug 1722766, comment 29

Comment 4 Didik Supriadi 2020-04-23 22:53:55 UTC
I'm just worried if it could be an issue when I do system-upgrade for Fedore next release, F32.


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