Hello the other day I upgraded to fedora 42 on my system and I noticed that after the upgrade my docker containers now start throwing around chmod permission denied error and not being able to access directory errors. I tried on the previous 6.13 kernels and I still had the same issue so it seems to be a fedlra 42 issue, just wanted to report this to see if anyone else had any issues or could help me out on what I should do.
Hello. Which Docker version do you use ? Did you see errors using journalctl ? Did you try to disable SeLinux temporarilly (How To Disable SELinux on Fedora 41 - idroot) - did you disable when you were using Fedora 41 ?
Perhaps could you look for :z
or :Z
options in your bind volume mount ? it looks like selinux label issue …
This seems to be what it was after adding :z to the volumes everything seems to be working again there is one issue I have where one container has some network weirdness but I think I saw that was some sort of docker bug other than that I think everything is working ok for now thank you for your help!
Out of interest, was Docker changed from rootful to rootless by default in Fedora 42, or something like that?
(I use Podman, and the SELinux considerations here sound like the same things that apply to rootless Podman.)