Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lsetfilecon: (/proc, system_u:object_r:default_t:s0) Operation not supported #1103

Closed
syyhao1994 opened this issue Mar 5, 2020 · 3 comments
Labels
Milestone

Comments

@syyhao1994
Copy link

https://bugzilla.redhat.com/show_bug.cgi?id=1722766

I encountered a problem which has been reported to redhat.

I approve the opinion proposed by Jeff Bastian:
/boot/efi is a vFAT filesystem which does not supported the extended attributes needed to store an SELinux label. dnf (or rpm or selinux-policy) should not be trying to set a label on these files.

After confirmation, it seems the problem of plugin in rpm:
plugins/selinux.c:53: sehandle = selabel_open(SELABEL_CTX_FILE, opts, 1);

So when i install the package, the error comes up.
error: lsetfilecon: (/boot/efi/EFI/openEuler/fonts, system_u:object_r:boot_t:s0) Operation not supported.

This log is not printed of rpm 4.14(it is actually exist but just don not print the error ),when i update the rpm version to 4.15.1, the error is printed out.

Thank you.

@pmatilai pmatilai added this to the 4.15.2 milestone Mar 6, 2020
@pmatilai
Copy link
Member

pmatilai commented Mar 6, 2020

Fixed in commit 4a71a3e already, just not in any released version yet.

@pmatilai pmatilai added the bug label Mar 6, 2020
@syyhao1994
Copy link
Author

Fixed in commit 4a71a3e already, just not in any released version yet.

Thank you. I got it.

@ffesti ffesti added this to Needs triage in Ticket Review (Outdated) Apr 1, 2020
@pmatilai
Copy link
Member

Releasing 4.15.2 is starting to look unlikely, closing. The patch is simple and easy to backport for whoever might need it. Thanks.

Ticket Review (Outdated) automation moved this from Needs triage to Closed Jan 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants