Bug 1726018 - lsetfilecon /boot/efi/EFI/fedora system_u:object_r:boot_t Operation not supported
Summary: lsetfilecon /boot/efi/EFI/fedora system_u:object_r:boot_t Operation not suppo...
Keywords:
Status: CLOSED DUPLICATE of bug 1722766
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1760677 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-07-02 04:45 UTC by Chris Murphy
Modified: 2019-10-17 22:44 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-07-02 17:02:29 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Chris Murphy 2019-07-02 04:45:18 UTC
Description of problem:

During 'dnf update' there are several instances of lsetfilecon error related to grub2 and /boot/efi/EFI/fedora.


  Upgrading        : grub2-common-1:2.02-89.fc31.noarch                                                                                                10/218 
error: lsetfilecon: (/boot/efi/EFI/fedora, system_u:object_r:boot_t:s0) Operation not supported


  Upgrading        : grub2-efi-x64-1:2.02-89.fc31.x86_64                                                                                               91/218 
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;5d1add98, system_u:object_r:boot_t:s0) Operation not supported



Version-Release number of selected component (if applicable):
selinux-policy-3.14.4-21.fc31.noarch

How reproducible:
1 for 1

Steps to Reproduce:
1. dnf update
2.
3.

Actual results:

error messages

Expected results:

no error messages


Additional info:

Comment 1 Lukas Vrabec 2019-07-02 17:02:29 UTC

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

Comment 2 chunshan 2019-08-22 08:28:38 UTC
also reproduced when using "dnf install grub2-*"

messages:

Preparing        :                                                                                                                                                                           1/1 
  Installing       : grub2-emu-modules-1:2.02-97.fc31.x86_64                                                                                                                                   1/4 
  Installing       : grub2-emu-1:2.02-97.fc31.x86_64                                                                                                                                           2/4 
  Installing       : grub2-efi-x64-modules-1:2.02-97.fc31.noarch                                                                                                                               3/4 
  Installing       : grub2-efi-x64-cdboot-1:2.02-97.fc31.x86_64                                                                                                                                4/4 
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;5d5e4fca, system_u:object_r:boot_t:s0) Operation not supported
error: lsetfilecon: (/boot/efi/EFI/fedora/gcdx64.efi;5d5e4fca, system_u:object_r:boot_t:s0) Operation not supported

  Running scriptlet: grub2-efi-x64-cdboot-1:2.02-97.fc31.x86_64                                                                                                                                4/4 
  Verifying        : grub2-efi-x64-cdboot-1:2.02-97.fc31.x86_64                                                                                                                                1/4 
  Verifying        : grub2-efi-x64-modules-1:2.02-97.fc31.noarch                                                                                                                               2/4 
  Verifying        : grub2-emu-1:2.02-97.fc31.x86_64                                                                                                                                           3/4 
  Verifying        : grub2-emu-modules-1:2.02-97.fc31.x86_64

Comment 3 Zbigniew Jędrzejewski-Szmek 2019-10-10 12:05:53 UTC
  Upgrading        : grub2-common-1:2.04-2.fc32.noarch                                                              2/904 
error: lsetfilecon: (/boot/efi/EFI/fedora, system_u:object_r:boot_t:s0) Operation not supported

  Upgrading        : grub2-efi-x64-1:2.04-2.fc32.x86_64                                                           405/904 
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;5d9f1c51, system_u:object_r:boot_t:s0) Operation not supported

Comment 4 Pavel Roskin 2019-10-17 22:44:38 UTC
*** Bug 1760677 has been marked as a duplicate of this bug. ***


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