summaryrefslogtreecommitdiff
path: root/Documentation/howto
diff options
context:
space:
mode:
authorAaron Conole <aconole@redhat.com>2017-09-01 13:17:39 -0400
committerAnsis Atteka <aatteka@ovn.org>2017-09-01 12:37:59 -0700
commitb9ad3de14a8f3531571b5beb4650fec5287a6569 (patch)
tree2e9f423aa893be6bb9f26b74804330c64ef28879 /Documentation/howto
parentd5f851e66e03cf7eb194a448e9f27029303f1b3e (diff)
downloadopenvswitch-b9ad3de14a8f3531571b5beb4650fec5287a6569.tar.gz
selinux.rst: point to the correct file
The selinux documentation mentions to check the selinux/openvswitch.te file for any permissions that might need to be added. However, the commit 7bc1aae71e89 ("rhel: make the selinux policy intermediate") moved this file to be generated from intermediate file selinux/openvswitch.te.in instead. Correct the documentation, so that users won't be trying to edit a generated file. Also, add a gitignore for the autogenerated file. Fixes: 7bc1aae71e89 ("rhel: make the selinux policy intermediate") Reported-by: Ansis Atteka <aatteka@ovn.org> Signed-off-by: Aaron Conole <aconole@redhat.com> Acked-by: Ansis Atteka <aatteka@ovn.org>
Diffstat (limited to 'Documentation/howto')
-rw-r--r--Documentation/howto/selinux.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/howto/selinux.rst b/Documentation/howto/selinux.rst
index ad556da58..4809639bc 100644
--- a/Documentation/howto/selinux.rst
+++ b/Documentation/howto/selinux.rst
@@ -136,7 +136,7 @@ Then verify that this module was indeed loaded::
openvswitch 1.1.1
If you still see Permission denied errors, then take a look into
-``selinux/openvswitch.te`` file in the OVS source tree and try to add white
+``selinux/openvswitch.te.in`` file in the OVS source tree and try to add white
list rules. This is really simple, just run SELinux audit2allow tool::
$ grep "openvswitch_t" /var/log/audit/audit.log | audit2allow -M ovslocal