Bug 1350074

Summary: avc: denied { unlink } for pid=519 comm="systemd-hwdb" name="hwdb.bin" dev="dm-0" ino=254208 scontext=system_u:system_r:systemd_hwdb_t:s0
Product: Red Hat Enterprise Linux 7 Reporter: Dan Callaghan <dcallagh>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED DUPLICATE QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: lvrabec, mganisin, mgrepl, mmalik, plautrba, pvrabec, ssekidde
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-27 23:36:32 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 Dan Callaghan 2016-06-25 06:20:17 UTC
Version-Release number of selected component (if applicable):
RHEL-7.3-20160621.n.0
selinux-policy-3.13.1-80.el7.noarch
systemd-219-21.el7.x86_64

How reproducible:
easily

Steps to Reproduce:
1. install and boot

Actual results:
AVC denial during bootup:
Jun 24 09:48:21 localhost kernel: type=1400 audit(1466776101.857:4): avc:  denied  { unlink } for  pid=519 comm="systemd-hwdb" name="hwdb.bin" dev="dm-0" ino=254208 scontext=system_u:system_r:systemd_hwdb_t:s0 tcontext=system_u:object_r:etc_t:s0 tclass=file
Jun 24 09:48:21 localhost systemd: Started Rebuild Hardware Database.

Expected results:
No denial

Comment 3 Marian Ganisin 2016-06-27 07:42:04 UTC
Duplicate of Bug 1343648 ?

Comment 4 Dan Callaghan 2016-06-27 23:36:32 UTC
(In reply to Marian Ganisin from comment #3)
> Duplicate of Bug 1343648 ?

Yes seems like it, thanks Marian. My Bugzilla searches didn't find that one because it doesn't seem to quote the AVC denial message anywhere...

*** This bug has been marked as a duplicate of bug 1343648 ***