Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1274971 - SELinux is preventing abrt-hook-ccpp from 'getattr' accesses on the file /usr/libexec/telepathy-idle.
Summary: SELinux is preventing abrt-hook-ccpp from 'getattr' accesses on the file /usr...
Keywords:
Status: CLOSED DUPLICATE of bug 1276305
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 23
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:5e764d1d5e325555c019f912632...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-24 11:20 UTC by Giulio 'juliuxpigface'
Modified: 2015-11-08 09:30 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-08 09:30:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Giulio 'juliuxpigface' 2015-10-24 11:20:11 UTC
Description of problem:
I encountered this while processing a crash of empathy.
SELinux is preventing abrt-hook-ccpp from 'getattr' accesses on the file /usr/libexec/telepathy-idle.

*****  Plugin catchall (100. confidence) suggests   **************************

If you believe that abrt-hook-ccpp should be allowed getattr access on the telepathy-idle file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# grep abrt-hook-ccpp /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:abrt_dump_oops_t:s0
Target Context                system_u:object_r:telepathy_idle_exec_t:s0
Target Objects                /usr/libexec/telepathy-idle [ file ]
Source                        abrt-hook-ccpp
Source Path                   abrt-hook-ccpp
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           telepathy-idle-0.2.0-4.fc23.i686
Policy RPM                    selinux-policy-3.13.1-152.fc23.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.2.3-300.fc23.i686 #1 SMP Mon Oct
                              5 16:26:47 UTC 2015 i686 i686
Alert Count                   1
First Seen                    2015-10-24 13:17:15 CEST
Last Seen                     2015-10-24 13:17:15 CEST
Local ID                      6dcbe0cf-d253-4f5b-a966-b6c794a5fa5c

Raw Audit Messages
type=AVC msg=audit(1445685435.967:634): avc:  denied  { getattr } for  pid=4060 comm="abrt-hook-ccpp" path="/usr/libexec/telepathy-idle" dev="dm-0" ino=925927 scontext=system_u:system_r:abrt_dump_oops_t:s0 tcontext=system_u:object_r:telepathy_idle_exec_t:s0 tclass=file permissive=0


Hash: abrt-hook-ccpp,abrt_dump_oops_t,telepathy_idle_exec_t,file,getattr

Version-Release number of selected component:
selinux-policy-3.13.1-152.fc23.noarch

Additional info:
reporter:       libreport-2.6.2
hashmarkername: setroubleshoot
kernel:         4.2.3-300.fc23.i686
type:           libreport

Comment 1 Giulio 'juliuxpigface' 2015-10-24 11:35:08 UTC
For the record, the crash being processed was this: https://bugzilla.redhat.com/show_bug.cgi?id=1274972

Comment 2 Miroslav Grepl 2015-11-08 09:30:58 UTC

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


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