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 1277985 - SELinux is preventing abrt-hook-ccpp from 'open' accesses on the file /usr/lib/systemd/systemd-udevd.
Summary: SELinux is preventing abrt-hook-ccpp from 'open' accesses on the file /usr/li...
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:eef8dba5fe71a55def010413e2b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-04 13:30 UTC by Vinicius Reis
Modified: 2015-11-08 09:32 UTC (History)
5 users (show)

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


Attachments (Terms of Use)

Description Vinicius Reis 2015-11-04 13:30:34 UTC
Description of problem:
Trying to create a Fedora 23 install media using dd:
$ sudo dd if=Fedora-Live-Workstation-x86_64-23-10.iso of=/dev/sdb

SELinux is preventing abrt-hook-ccpp from 'open' accesses on the file /usr/lib/systemd/systemd-udevd.

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

If você acredita que o abrt-hook-ccpp deva ser permitido acesso de open em systemd-udevd file  por default.
Then você precisa reportar este como um erro.
Você pode gerar um módulo de política local para permitir este acesso.
Do
permitir este acesso agora executando:
# 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:udev_exec_t:s0
Target Objects                /usr/lib/systemd/systemd-udevd [ file ]
Source                        abrt-hook-ccpp
Source Path                   abrt-hook-ccpp
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           systemd-222-8.fc23.x86_64
Policy RPM                    selinux-policy-3.13.1-152.fc23.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
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-11-04 11:28:21 BRST
Last Seen                     2015-11-04 11:28:21 BRST
Local ID                      294b5e3b-5fb9-4c1a-9e5c-f4983954136b

Raw Audit Messages
type=AVC msg=audit(1446643701.324:1069): avc:  denied  { open } for  pid=20120 comm="abrt-hook-ccpp" path="/usr/lib/systemd/systemd-udevd" dev="sda4" ino=1712042 scontext=system_u:system_r:abrt_dump_oops_t:s0 tcontext=system_u:object_r:udev_exec_t:s0 tclass=file permissive=1


Hash: abrt-hook-ccpp,abrt_dump_oops_t,udev_exec_t,file,open

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

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

Comment 1 Miroslav Grepl 2015-11-08 09:32:26 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.