Bug 859011

Summary: Set SELinux labels for /var/cache/samba/
Product: Red Hat Enterprise Linux 6 Reporter: Sumit Bose <sbose>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED NOTABUG QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.4CC: dwalsh, mmalik
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-09-21 09:43:02 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:

Description Sumit Bose 2012-09-20 11:05:13 UTC
Description of problem:
The samba team plans to use /var/cache/samba/ to store temporary data which can be delete during restart. Currently most of this data is stored together with long term data in /var/lib/samba.

/var/cache/samba/ should get the same SELinux labels as /var/lib/samba.

 
Version-Release number of selected component (if applicable):
selinux-policy-3.7.19-162.el6

Comment 2 Miroslav Grepl 2012-09-21 09:43:02 UTC
We already have

/var/cache/samba(/.*)?          gen_context(system_u:object_r:samba_var_t,s0)