Rootless quadlet MinIO with direct filesystem access #23545
-
Linking to my question here: minio/minio#20226 Host machine is Fedora Server with SELinux enforcing. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi,
Your idea of letting Podman relabel the directory is a step at the right direction. But, first the syntax when using
And second, Podman will still fail since it will try to relabel a directory owned by root while running as rootless. So, instead of having Podman relabel the folders, you should do so at mount time and then the original file should work. I am not an SELinux expert, but I can say that setting the option |
Beta Was this translation helpful? Give feedback.
-
Yes that makes sense to label the mount point at mount time, rather then attempting to relabel it at runtime. |
Beta Was this translation helpful? Give feedback.
Hi,
The issue does seem to be SELinux related.
With the file as you pasted, SELinux prevents the application from accessing the directory. This can be seen in the AVC logs: