From 44055aa687fc95cc0138f79bde82c921269ac03b Mon Sep 17 00:00:00 2001 From: David Butler Date: Wed, 10 Feb 2016 12:34:35 -0600 Subject: [PATCH] added docs for SELinux policy file --- docs/selinux.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 docs/selinux.md diff --git a/docs/selinux.md b/docs/selinux.md new file mode 100644 index 0000000..106d0fd --- /dev/null +++ b/docs/selinux.md @@ -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