Bug 1276179 - SELinux is preventing abrt-hook-ccpp from 'getattr' accesses on the chr_file /dev/nvidiactl.
Summary: SELinux is preventing abrt-hook-ccpp from 'getattr' accesses on the chr_file ...
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:ca65f48b98dc5c06dd460a823ee...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-29 01:21 UTC by Matthias Kluge
Modified: 2015-11-02 11:49 UTC (History)
5 users (show)

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


Attachments (Terms of Use)

Description Matthias Kluge 2015-10-29 01:21:07 UTC
Description of problem:
SELinux is preventing abrt-hook-ccpp from 'getattr' accesses on the chr_file /dev/nvidiactl.

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

If sie denken, dass es abrt-hook-ccpp standardmässig erlaubt sein sollte, getattr Zugriff auf nvidiactl chr_file zu erhalten.
Then sie sollten dies als Fehler melden.
Um diesen Zugriff zu erlauben, können Sie ein lokales Richtlinien-Modul erstellen.
Do
zugriff jetzt erlauben, indem Sie die nachfolgenden Befehle ausführen:
# 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:xserver_misc_device_t:s0
Target Objects                /dev/nvidiactl [ chr_file ]
Source                        abrt-hook-ccpp
Source Path                   abrt-hook-ccpp
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
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.x86_64 #1 SMP Mon
                              Oct 5 15:42:54 UTC 2015 x86_64 x86_64
Alert Count                   15
First Seen                    2015-10-29 00:01:00 CET
Last Seen                     2015-10-29 00:27:15 CET
Local ID                      edcfe880-fa0e-4bfe-ba3f-6dcee4346218

Raw Audit Messages
type=AVC msg=audit(1446074835.586:641): avc:  denied  { getattr } for  pid=5375 comm="abrt-hook-ccpp" path="/dev/nvidiactl" dev="devtmpfs" ino=47294 scontext=system_u:system_r:abrt_dump_oops_t:s0 tcontext=system_u:object_r:xserver_misc_device_t:s0 tclass=chr_file permissive=0


Hash: abrt-hook-ccpp,abrt_dump_oops_t,xserver_misc_device_t,chr_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.x86_64
type:           libreport

Comment 1 Miroslav Grepl 2015-11-02 11:49:08 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.