Bug 955774

Summary: [RFE] tftp booleans for NFS/CIFS access
Product: Red Hat Enterprise Linux 6 Reporter: jcpunk
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Michal Trunecka <mtruneck>
Severity: low Docs Contact:
Priority: low    
Version: 6.4CC: dwalsh, ebenes, gregory.0xf0, mmalik, mtruneck
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: selinux-policy-3.7.19-210.el6 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
: 1000026 (view as bug list) Environment:
Last Closed: 2013-11-21 10:23:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
patch implementing the described behavior none

Description jcpunk 2013-04-23 19:05:55 UTC
Created attachment 739112 [details]
patch implementing the described behavior

Description of problem: I would very much like to provide some nfs content over tftp.  There is no way to enable that functionality with the current policy.  I've attached a patch which provides booleans for toggling that ability.  While I was in there I created some for CIFS as well.


Version-Release number of selected component (if applicable):3.7.19-195.el6_4.3


How reproducible: 100%


Steps to Reproduce:
1. mount nfs share under tftp root
2. attempt to read the file
3. locate avc denied error
  
Actual results: permission denied


Expected results: the ability to easily configure selinux to read NFS files when I want it to.


Additional info:

Comment 2 Miroslav Grepl 2013-08-06 07:40:34 UTC
Thank you for your patch. Added.

Comment 5 errata-xmlrpc 2013-11-21 10:23:35 UTC
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-1598.html