Bug 1274741 - SELinux is preventing abrt-hook-ccpp from 'getattr' accesses on the file /usr/sbin/gdm.
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: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:91917ccf4d48da040413816a0a4...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-23 13:22 UTC by Stephen Gallagher
Modified: 2015-11-08 09:30 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-11-08 09:30:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
selinux troubleshooter output (10.76 KB, text/plain)
2015-10-23 14:20 UTC, Peter H. Jones
no flags Details

Description Stephen Gallagher 2015-10-23 13:22:55 UTC
Description of problem:
SELinux is preventing abrt-hook-ccpp from 'getattr' accesses on the file /usr/sbin/gdm.

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

If you believe that abrt-hook-ccpp should be allowed getattr access on the gdm 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:xdm_exec_t:s0
Target Objects                /usr/sbin/gdm [ file ]
Source                        abrt-hook-ccpp
Source Path                   abrt-hook-ccpp
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           gdm-3.18.0-1.fc23.x86_64
Policy RPM                    selinux-policy-3.13.1-151.fc23.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.2.3-300.fc23.x86_64 #1 SMP Mon
                              Oct 5 15:42:54 UTC 2015 x86_64 x86_64
Alert Count                   1
First Seen                    2015-10-16 14:55:12 EDT
Last Seen                     2015-10-16 14:55:12 EDT
Local ID                      da27ddec-9e1f-4bec-a8f1-42e0048ed682

Raw Audit Messages
type=AVC msg=audit(1445021712.508:1160): avc:  denied  { getattr } for  pid=27742 comm="abrt-hook-ccpp" path="/usr/sbin/gdm" dev="dm-1" ino=1457485 scontext=system_u:system_r:abrt_dump_oops_t:s0 tcontext=system_u:object_r:xdm_exec_t:s0 tclass=file permissive=0


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

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

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

Comment 1 Peter H. Jones 2015-10-23 14:20:33 UTC
Created attachment 1085858 [details]
selinux troubleshooter output

Got it in FC22.

Comment 2 Miroslav Grepl 2015-11-08 09:30:46 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.