Bug 157321

Summary: LVM denials
Product: [Fedora] Fedora Reporter: Ivan Gyurdiev <ivg231>
Component: selinux-policy-strictAssignee: Daniel Walsh <dwalsh>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-05-12 05:19:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ivan Gyurdiev 2005-05-10 16:31:41 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050416 Fedora/1.0.3-2 Firefox/1.0.3

Description of problem:
audit(1115741907.894:0): avc:  denied  { write } for  name=oom_adj dev=proc ino=160563227 scontext=system_u:system_r:lvm_t tcontext=system_u:system_r:lvm_t tclass=file

audit(1115741908.032:0): avc:  denied  { getattr } for  path=/var/cache/multipathd dev=dm-0 ino=1251633 scontext=system_u:system_r:lvm_t tcontext=system_u:object_r:var_t tclass=dir


Version-Release number of selected component (if applicable):
selinux-policy-strict-1.23.15-1

How reproducible:
Didn't try

Steps to Reproduce:


Additional info:

Comment 1 Daniel Walsh 2005-05-10 17:57:49 UTC
Looks like /var/cache/multipathd needs a different context.  Some thing like

/var/cache/multipathd(/.*)? system_u:object_r:lvm_metadata_t

Will add policy to policy-1.23.15-4 to fix other problems.