Bug 783693

Summary: SELinux is preventing /usr/bin/bip from 'name_bind' accesses on the None .
Product: [Fedora] Fedora Reporter: Nicolas Mailhot <nicolas.mailhot>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:6371d98fb73c1613f8da49edfd2ec4465d35beeb26339071fc78fca8f8fc04c3
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-23 14:11:51 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 Nicolas Mailhot 2012-01-21 18:05:30 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.2.1-8.fc17.x86_64
reason:         SELinux is preventing /usr/bin/bip from 'name_bind' accesses on the None .
time:           sam. 21 janv. 2012 18:58:18 CET

description:
:SELinux is preventing /usr/bin/bip from 'name_bind' accesses on the None .
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that bip should be allowed name_bind access on the  <Inconnu> 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 bip /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:initrc_t:s0
:Target Context                system_u:object_r:ircd_port_t:s0
:Target Objects                 [ None ]
:Source                        bip
:Source Path                   /usr/bin/bip
:Port                          6667
:Host                          (removed)
:Source RPM Packages           
:Target RPM Packages           
:Policy RPM                    <Inconnu>
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.2.1-5.fc17.x86_64 #1 SMP Tue Jan
:                              17 18:57:18 UTC 2012 x86_64 x86_64
:Alert Count                   1
:First Seen                    sam. 21 janv. 2012 16:34:56 CET
:Last Seen                     sam. 21 janv. 2012 16:34:56 CET
:Local ID                      fea6f049-ae3e-4f60-b47a-03b40e1b3b22
:
:Raw Audit Messages
:type=AVC msg=audit(1327160096.554:214): avc:  denied  { name_bind } for  pid=2897 comm="bip" src=6667 scontext=system_u:system_r:initrc_t:s0 tcontext=system_u:object_r:ircd_port_t:s0 tclass=tcp_socketnode=(removed) type=SYSCALL msg=audit(1327160096.554:214): arch=c000003e syscall=49 success=yes exit=0 a0=0 a1=7fabae6caab0 a2=10 a3=7fff65630110 items=0 ppid=1 pid=2897 auid=4294967295 uid=478 gid=473 euid=478 suid=478 fsuid=478 egid=473 sgid=473 fsgid=473 tty=(none) ses=4294967295 comm="bip" exe="/usr/bin/bip" subj=system_u:system_r:initrc_t:s0 key=(null)
:
:
:Hash: bip,initrc_t,ircd_port_t,None,name_bind
:
:audit2allow
:
:
:audit2allow -R
:
:

Comment 1 Miroslav Grepl 2012-01-23 11:23:25 UTC
We need a policy for bip.

Comment 2 Miroslav Grepl 2012-01-23 13:43:04 UTC
I think we could treat it with bitlbee policy. Working on a patch.

Comment 3 Miroslav Grepl 2012-01-23 14:11:51 UTC
Fixed in -77.fc17 release.