Bug 783693 - SELinux is preventing /usr/bin/bip from 'name_bind' accesses on the None .
Summary: SELinux is preventing /usr/bin/bip from 'name_bind' accesses on the None .
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:6371d98fb73c1613f8da49edfd2...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-21 18:05 UTC by Nicolas Mailhot
Modified: 2012-01-23 14:11 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-23 14:11:51 UTC
Type: ---


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.