Bug 550860 - SELinux is preventing /usr/sbin/abrtd (deleted) "write" access on /etc/abrt.
Summary: SELinux is preventing /usr/sbin/abrtd (deleted) "write" access on /etc/abrt.
Keywords:
Status: CLOSED DUPLICATE of bug 546152
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:a3c4f4de25b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-27 19:50 UTC by James Antill
Modified: 2010-01-31 13:34 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-12-30 00:11:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description James Antill 2009-12-27 19:50:32 UTC
Summary:

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

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                unconfined_u:system_r:abrt_t:s0-s0:c0.c1023
Target Context                system_u:object_r:abrt_etc_t:s0
Target Objects                /etc/abrt [ dir ]
Source                        abrtd
Source Path                   /usr/sbin/abrtd (deleted)
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           abrt-1.0.2-1.fc12
Policy RPM                    selinux-policy-3.6.32-59.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.31.5-127.fc12.i686.PAE #1
                              SMP Sat Nov 7 21:25:57 EST 2009 i686 i686
Alert Count                   3
First Seen                    Sun 27 Dec 2009 01:14:48 AM EST
Last Seen                     Sun 27 Dec 2009 01:14:48 AM EST
Local ID                      d5e80f0f-c5be-4420-8c97-46a82dbf5508
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1261894488.162:33580): avc:  denied  { write } for  pid=32244 comm="abrtd" name="abrt" dev=dm-1 ino=278638 scontext=unconfined_u:system_r:abrt_t:s0-s0:c0.c1023 tcontext=system_u:object_r:abrt_etc_t:s0 tclass=dir

node=(removed) type=AVC msg=audit(1261894488.162:33580): avc:  denied  { add_name } for  pid=32244 comm="abrtd" name="pyhook.conf" scontext=unconfined_u:system_r:abrt_t:s0-s0:c0.c1023 tcontext=system_u:object_r:abrt_etc_t:s0 tclass=dir

node=(removed) type=AVC msg=audit(1261894488.162:33580): avc:  denied  { create } for  pid=32244 comm="abrtd" name="pyhook.conf" scontext=unconfined_u:system_r:abrt_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:abrt_etc_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1261894488.162:33580): arch=40000003 syscall=5 success=yes exit=9 a0=b6a0c9 a1=8241 a2=1b6 a3=4130629 items=0 ppid=1 pid=32244 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="abrtd" exe=2F7573722F7362696E2F6162727464202864656C6574656429 subj=unconfined_u:system_r:abrt_t:s0-s0:c0.c1023 key=(null)



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

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

Comment 1 Daniel Walsh 2009-12-30 00:11:25 UTC

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


Note You need to log in before you can comment on or make changes to this bug.