Bug 533013

Summary: SELinux is preventing /usr/sbin/abrtd (deleted) "write" access on /root.
Product: [Fedora] Fedora Reporter: Ben Boeckel <fedora>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:7ea13704a79036ff4fe07091c86e0e1235ba8c8ddc1c900cfbedc41f9042f207
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-11-06 09:48:54 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 Ben Boeckel 2009-11-04 17:05:26 UTC
Summary:

SELinux is preventing /usr/sbin/abrtd (deleted) "write" access on /root.

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
(http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                system_u:system_r:abrt_t:s0
Target Context                system_u:object_r:admin_home_t:s0
Target Objects                /root [ dir ]
Source                        abrtd
Source Path                   /usr/sbin/abrtd (deleted)
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           filesystem-2.4.30-2.fc12
Policy RPM                    selinux-policy-3.6.32-37.fc12
Selinux Enabled               True
Policy Type                   targeted
MLS Enabled                   True
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.31.1-56.fc12.x86_64 #1 SMP
                              Tue Sep 29 16:16:22 EDT 2009 x86_64 x86_64
Alert Count                   3
First Seen                    Wed 04 Nov 2009 12:03:50 PM EST
Last Seen                     Wed 04 Nov 2009 12:03:50 PM EST
Local ID                      2d75cd54-2d13-49f4-ad1b-b07cb834f371
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1257354230.597:20814): avc:  denied  { write } for  pid=1154 comm="abrtd" name="root" dev=sda3 ino=286 scontext=system_u:system_r:abrt_t:s0 tcontext=system_u:object_r:admin_home_t:s0 tclass=dir

node=(removed) type=AVC msg=audit(1257354230.597:20814): avc:  denied  { add_name } for  pid=1154 comm="abrtd" name=".abrt" scontext=system_u:system_r:abrt_t:s0 tcontext=system_u:object_r:admin_home_t:s0 tclass=dir

node=(removed) type=AVC msg=audit(1257354230.597:20814): avc:  denied  { create } for  pid=1154 comm="abrtd" name=".abrt" scontext=system_u:system_r:abrt_t:s0 tcontext=system_u:object_r:admin_home_t:s0 tclass=dir

node=(removed) type=SYSCALL msg=audit(1257354230.597:20814): arch=c000003e syscall=83 success=yes exit=0 a0=de4448 a1=1c0 a2=ffffffffffffff88 a3=7ffffd6f1fc0 items=0 ppid=1 pid=1154 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=2F7573722F7362696E2F6162727464202864656C6574656429 subj=system_u:system_r:abrt_t:s0 key=(null)



Hash String generated from  selinux-policy-3.6.32-37.fc12,catchall,abrtd,abrt_t,admin_home_t,dir,write
audit2allow suggests:

#============= abrt_t ==============
allow abrt_t admin_home_t:dir { write create add_name };

Comment 1 Miroslav Grepl 2009-11-06 09:48:54 UTC

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