Skip to content

Commit

Permalink
selinux.rst: point to the correct file
Browse files Browse the repository at this point in the history
The selinux documentation mentions to check the selinux/openvswitch.te file
for any permissions that might need to be added.  However, the commit
7bc1aae ("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: 7bc1aae ("rhel: make the selinux policy intermediate")
Reported-by: Ansis Atteka <[email protected]>
Signed-off-by: Aaron Conole <[email protected]>
Acked-by: Ansis Atteka <[email protected]>
  • Loading branch information
apconole authored and Ansis Atteka committed Sep 1, 2017
1 parent d5f851e commit b9ad3de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/howto/selinux.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions selinux/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
openvswitch-custom.te

0 comments on commit b9ad3de

Please sign in to comment.