Bug 562241

Summary: SELinux is preventing /usr/sbin/abrtd "unlink" access on ccpp-1265217877-1712.lock.
Product: [Fedora] Fedora Reporter: Akshay Dua <dakshay>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 12CC: dakshay, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:544d65c073d73c662798371f55c64940eab866c5180a4dd62451ba84d8ce953e
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-02-05 19:34:27 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 Akshay Dua 2010-02-05 17:42:17 UTC
Summary:

SELinux is preventing /usr/sbin/abrtd "unlink" access on
ccpp-1265217877-1712.lock.

Detailed Description:

[abrtd has a permissive type (abrt_t). This access was not denied.]

SELinux denied access requested by abrtd. It is not expected that this access is
required by abrtd and this access may signal an intrusion attempt. It is also
possible that the specific version or configuration of the application is
causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(ht(removed)://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                system_u:system_r:abrt_t:s0-s0:c0.c1023
Target Context                system_u:object_r:var_t:s0
Target Objects                ccpp-1265217877-1712.lock [ lnk_file ]
Source                        abrtd
Source Path                   /usr/sbin/abrtd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           abrt-1.0.4-1.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-78.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.31.12-174.2.3.fc12.i686.PAE #1 SMP
                              Mon Jan 18 20:06:44 UTC 2010 i686 i686
Alert Count                   2
First Seen                    Wed 03 Feb 2010 09:25:41 AM PST
Last Seen                     Fri 05 Feb 2010 08:28:37 AM PST
Local ID                      bf811dcf-a2a2-45c3-aca3-35e399989e6a
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1265387317.35:11): avc:  denied  { unlink } for  pid=1476 comm="abrtd" name="ccpp-1265217877-1712.lock" dev=dm-1 ino=260297 scontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tcontext=system_u:object_r:var_t:s0 tclass=lnk_file

node=(removed) type=SYSCALL msg=audit(1265387317.35:11): arch=40000003 syscall=10 success=yes exit=0 a0=8ac8a64 a1=0 a2=c79320 a3=8ac8a64 items=0 ppid=1 pid=1476 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="abrtd" exe="/usr/sbin/abrtd" subj=system_u:system_r:abrt_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  selinux-policy-3.6.32-78.fc12,catchall,abrtd,abrt_t,var_t,lnk_file,unlink
audit2allow suggests:

#============= abrt_t ==============
allow abrt_t var_t:lnk_file unlink;

Comment 1 Daniel Walsh 2010-02-05 19:34:27 UTC

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