Bug 814459

Summary: SELinux is preventing pads from 'create' accesses on the socket .
Product: [Fedora] Fedora Reporter: geminic86
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:180ca078d9f0e7681452e5dedde579c554d74e837be0710bd43799671dcc1e8a
Fixed In Version: selinux-policy-3.10.0-86.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-18 10:27:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description geminic86 2012-04-19 22:21:37 UTC
libreport version: 2.0.8
executable:     /usr/bin/python2.7
hashmarkername: setroubleshoot
kernel:         3.3.1-5.fc16.i686
reason:         SELinux is preventing pads from 'create' accesses on the socket .
time:           Thu 19 Apr 2012 06:21:24 PM EDT

description:
:SELinux is preventing pads from 'create' accesses on the socket .
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that pads should be allowed create access on the  socket 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 pads /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:pads_t:s0
:Target Context                system_u:system_r:pads_t:s0
:Target Objects                 [ socket ]
:Source                        pads
:Source Path                   pads
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-80.fc16.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.3.1-5.fc16.i686 #1 SMP Tue Apr 10
:                              20:55:58 UTC 2012 i686 i686
:Alert Count                   1
:First Seen                    Thu 19 Apr 2012 06:15:58 PM EDT
:Last Seen                     Thu 19 Apr 2012 06:15:58 PM EDT
:Local ID                      df6bd9b8-168e-422c-9159-23bdf502a89a
:
:Raw Audit Messages
:type=AVC msg=audit(1334873758.615:21782): avc:  denied  { create } for  pid=17385 comm="pads" scontext=system_u:system_r:pads_t:s0 tcontext=system_u:system_r:pads_t:s0 tclass=socket
:
:
:Hash: pads,pads_t,pads_t,socket,create
:
:audit2allow
:
:#============= pads_t ==============
:allow pads_t self:socket create;
:
:audit2allow -R
:
:#============= pads_t ==============
:allow pads_t self:socket create;
:

Comment 1 Miroslav Grepl 2012-04-20 08:25:10 UTC
Fixed in selinux-policy-3.10.0-85.fc16

Comment 2 Fedora Update System 2012-04-24 11:50:57 UTC
selinux-policy-3.10.0-86.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-86.fc16

Comment 3 Fedora Update System 2012-04-26 03:24:08 UTC
Package selinux-policy-3.10.0-86.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.10.0-86.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-6613/selinux-policy-3.10.0-86.fc16
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2012-05-18 10:27:37 UTC
selinux-policy-3.10.0-86.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.