Description of problem: Selinux failed to block access to nfs request Version-Release number of selected component (if applicable): 1.2.3 How reproducible: Always Steps to Reproduce: 1. setsebool -P nfs_export_all_rw off 2. mkdir /myshare 3. chmod 777 /myshare 4. Add "/myshare 192.168.2.0/24(rw,sync)" to /etc/exports 5. exportfs -rv On client side: 6. mkdir /myshare 7. mount.nfs nfsserver:/myshare /myshare 8. Actual results: Client can mount the nfs share and read/write files. Expected results: At this point, client is expected to NOT be able to mount and read/write files because of SELINUX booleans set in step 1. Additional info:
Yes this boolean will not block nfs access since nfs server runs as a kernel process. The boolean(s) should probably just be removed.
What does # rpm -q selinux-policy
We have this boolean no longer in the latest policy.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-0314.html