added docs for SELinux policy file

This commit is contained in:
David Butler 2016-02-10 12:34:35 -06:00
parent 8356a664d8
commit 44055aa687

16
docs/selinux.md Normal file
View File

@ -0,0 +1,16 @@
# For hosts that use SELinux
Try this [policy file](docker-openvpn.te)
Run these commands to compile and load it:
```
checkmodule -M -m -o docker-openvpn.mod docker-openvpn.te
semodule_package -o docker-openvpn.pp -m docker-openvpn.mod
sudo semodule -i docker-openvpn.pp
```
# Still having issues?
In January 2016, Fedora bases systems got an update that fixed an issue for labeling namespaced net objects under /proc
to fix, make sure that you have run `sudo dnf update` and you need to reboot to load the new policies