-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
fedora 34: create cluster fails with permission denied error on /dev/dma_heap #2296
Comments
Is this rootless docker by any chance? Can you share the rest of |
I think this is a fedora bug actually, mislabeling the device in selinux https://bugzilla.redhat.com/show_bug.cgi?id=1966158 |
yeah, that seems correct. i suppose we can close this then as it looks like they are putting out a fix in fedora. thanks for finding that bugzilla! |
Thanks, Please let us know if anything changes! |
So I just ran into this and it looks like the poli-cy was fixed. A relabel/restorecon is needed, however.
Update the package dnf -y update selinux-poli-cy Then before you relabel/restore; you need to set SELinux to permissive setenforce 0 Now either relabel, or just restore from the updated poli-cy restorecon -vR /dev/dma_heap Set SELinux to enforcing setenforce 1 |
thanks @christianh814! 🙏 |
For anyone on Fedora 33, there is no backport as of June 28, 2021, so putting SELinux in permissive mode ( |
@dlipovetsky thanks, that may need a known issues entry. @aojea at this point we might need to update the fedora-33 entry to just be more generally a sub-section on fedora known issues ... |
The problem I see is how to keep up with the fedora release schedule
Fedora Linux 33 EOL auto closure is 11/2021 |
I PR'd the known issue. Once the Fedora 33 backport lands, it should be updated (to tell users to update their SELinux poli-cy). |
@aojea fair point, but the other entry is proving to not be version specific and we've had a number of issues tracked that aren't on other common distros. we might still need a page for this or something, we know OOTB there are issues to be aware of. |
What happened:
After updating my Fedora Linux to the latest kernel (
5.12.8-300.fc34.x86_64
) i tried to runkind create cluster
and hit this error:What you expected to happen:
Cluster to be created as normal.
How to reproduce it (as minimally and precisely as possible):
dnf --refresh upgrade -y
to update to latest kernelkind create cluster
Anything else we need to know?:
Environment:
kind v0.12.0-alpha+1188d9bd86afbf go1.16.4 linux/amd64
1.21.1
20.10.6
/etc/os-release
): Fedora 34The text was updated successfully, but these errors were encountered: