Bug 823103

Summary: SELinux is preventing /usr/bin/polipo from 'create' accesses on the directory fedora.mirror.nexicom.net.
Product: [Fedora] Fedora Reporter: smitna
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: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:755713c06c6af2a85dd5d170de3f651484594ce3916dd13782f340a50142d95b
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-28 03:26:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description smitna 2012-05-19 04:52:57 UTC
libreport version: 2.0.8
executable:     /usr/bin/python2.7
hashmarkername: setroubleshoot
kernel:         3.3.5-2.fc16.x86_64
reason:         SELinux is preventing /usr/bin/polipo from 'create' accesses on the directory fedora.mirror.nexicom.net.
time:           Sat 19 May 2012 12:52:19 AM EDT

description:
:SELinux is preventing /usr/bin/polipo from 'create' accesses on the directory fedora.mirror.nexicom.net.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that polipo should be allowed create access on the fedora.mirror.nexicom.net directory 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 polipo /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:polipo_t:s0
:Target Context                system_u:object_r:polipo_cache_t:s0
:Target Objects                fedora.mirror.nexicom.net [ dir ]
:Source                        polipo
:Source Path                   /usr/bin/polipo
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           polipo-1.0.4.1-6.fc16.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-84.fc16.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.3.5-2.fc16.x86_64 #1 SMP Tue
:                              May 8 11:24:50 UTC 2012 x86_64 x86_64
:Alert Count                   1
:First Seen                    Sat 19 May 2012 12:44:32 AM EDT
:Last Seen                     Sat 19 May 2012 12:44:32 AM EDT
:Local ID                      804ab870-4591-46ca-8a9d-c486fc2b826c
:
:Raw Audit Messages
:type=AVC msg=audit(1337402672.940:417): avc:  denied  { create } for  pid=7556 comm="polipo" name="fedora.mirror.nexicom.net" scontext=system_u:system_r:polipo_t:s0 tcontext=system_u:object_r:polipo_cache_t:s0 tclass=dir
:
:
:type=SYSCALL msg=audit(1337402672.940:417): arch=x86_64 syscall=mkdir success=yes exit=0 a0=7fff67492fd0 a1=1c0 a2=3df6743bfc a3=7fff67492930 items=0 ppid=1 pid=7556 auid=4294967295 uid=995 gid=992 euid=995 suid=995 fsuid=995 egid=992 sgid=992 fsgid=992 tty=(none) ses=4294967295 comm=polipo exe=/usr/bin/polipo subj=system_u:system_r:polipo_t:s0 key=(null)
:
:Hash: polipo,polipo_t,polipo_cache_t,dir,create
:
:audit2allow
:
:#============= polipo_t ==============
:#!!!! This avc is allowed in the current policy
:
:allow polipo_t polipo_cache_t:dir create;
:
:audit2allow -R
:
:#============= polipo_t ==============
:#!!!! This avc is allowed in the current policy
:
:allow polipo_t polipo_cache_t:dir create;
:

Comment 1 Miroslav Grepl 2012-05-21 08:07:41 UTC
Fixed in selinux-policy-3.10.0-89.fc16

Comment 2 Fedora Update System 2012-06-15 10:31:03 UTC
selinux-policy-3.10.0-89.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-89.fc16

Comment 3 Fedora Update System 2012-06-15 23:52:30 UTC
Package selinux-policy-3.10.0-89.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-89.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-9507/selinux-policy-3.10.0-89.fc16
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2012-06-28 03:26:57 UTC
selinux-policy-3.10.0-89.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.