]> git.proxmox.com Git - mirror_ovs.git/commitdiff
selinux.rst: point to the correct file
authorAaron Conole <aconole@redhat.com>
Fri, 1 Sep 2017 17:17:39 +0000 (13:17 -0400)
committerAnsis Atteka <aatteka@ovn.org>
Fri, 1 Sep 2017 19:37:59 +0000 (12:37 -0700)
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>
Documentation/howto/selinux.rst
selinux/.gitignore [new file with mode: 0644]

index ad556da58d561dc0f0db24f030eb9af71af5a06a..4809639bc5bc9126f83ada37efe7c8ca8e4fbade 100644 (file)
@@ -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
diff --git a/selinux/.gitignore b/selinux/.gitignore
new file mode 100644 (file)
index 0000000..83a0afb
--- /dev/null
@@ -0,0 +1 @@
+openvswitch-custom.te