SELinux fix for Mergerfs to allow Docker and Samba access

I recently started using Snapraid and Mergerfs setup to manage my disk pool. I have ~27TB of raw storage which I am managing.

While setting up Mergerfs as usual ran into SELinux issues that will prohibit Docker and Samba access to the storage. So, here’s my fix.

Samba

setsebool -P samba_share_fusefs=1

Docker

setsebool -P virt_sandbox_use_fusefs=1

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.