SELinux fix to allow Docker containers access to Kernel modules

This is most likely after effect of Spectre and Meltdown Kernel patches rolled out for CentOS. My OpenVPN container could not access /dev/net/tun device even though the Run Script had necessary parameters.

Fix

setsebool -P domain_kernel_load_modules=1

Leave a Reply

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