Bug 1120183

Summary: avc: denied { write } for comm="prelink" for /var/lock/subsys/rhsmcertd and /var/log/rhsm/rhsm.log
Product: Red Hat Enterprise Linux 6 Reporter: Alexander Todorov <atodorov>
Component: prelinkAssignee: Jakub Jelinek <jakub>
Status: CLOSED DUPLICATE QA Contact: qe-baseos-tools-bugs
Severity: medium Docs Contact:
Priority: medium    
Version: 6.5CC: mfranc
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-16 11:22:40 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:
Bug Depends On:    
Bug Blocks: 1083985    

Description Alexander Todorov 2014-07-16 11:11:27 UTC
Description of problem:

time->Tue Jul 15 18:47:02 2014
type=SYSCALL msg=audit(1405464422.886:25): arch=c000003e syscall=59 success=yes exit=0 a0=1dbce70 a1=1dbcea0 a2=7fff230c2510 a3=19 items=0 ppid=7271 pid=7272 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="prelink" exe="/usr/sbin/prelink" subj=system_u:system_r:prelink_mask_t:s0 key=(null)
type=AVC msg=audit(1405464422.886:25): avc:  denied  { append } for  pid=7272 comm="prelink" path="/var/log/rhsm/rhsm.log" dev=dm-0 ino=1048628 scontext=system_u:system_r:prelink_mask_t:s0 tcontext=system_u:object_r:rhsmcertd_log_t:s0 tclass=file
type=AVC msg=audit(1405464422.886:25): avc:  denied  { write } for  pid=7272 comm="prelink" path="/var/lock/subsys/rhsmcertd" dev=dm-0 ino=1050395 scontext=system_u:system_r:prelink_mask_t:s0 tcontext=system_u:object_r:rhsmcertd_lock_t:s0 tclass=file


Filing against prelink b/c IMO it doesn't have to access these files which belong to subscription-manager and are not ELF objects.

Comment 1 Alexander Todorov 2014-07-16 11:22:40 UTC

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