Bug 809020 - SELinux is preventing /usr/sbin/openl2tpd from 'name_bind' accesses on the udp_socket port 1701.
Summary: SELinux is preventing /usr/sbin/openl2tpd from 'name_bind' accesses on the ud...
Keywords:
Status: CLOSED DUPLICATE of bug 809015
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 16
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:46fe6b30271bf1afe132d6e1b00...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-02 09:05 UTC by ManFree
Modified: 2012-04-02 11:39 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-02 11:39:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description ManFree 2012-04-02 09:05:55 UTC
libreport version: 2.0.6
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.1.0-7.fc16.i686
reason:         SELinux is preventing /usr/sbin/openl2tpd from 'name_bind' accesses on the udp_socket port 1701.
time:           Mon Apr  2 17:05:44 2012

description:
:SELinux is preventing /usr/sbin/openl2tpd from 'name_bind' accesses on the udp_socket port 1701.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that openl2tpd should be allowed name_bind access on the port 1701 udp_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 openl2tpd /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:l2tpd_t:s0
:Target Context                system_u:object_r:unreserved_port_t:s0
:Target Objects                port 1701 [ udp_socket ]
:Source                        openl2tpd
:Source Path                   /usr/sbin/openl2tpd
:Port                          1701
:Host                          (removed)
:Source RPM Packages           openl2tp-1.8-5.fc16.R
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-46.fc16
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.1.0-7.fc16.i686 #1
:                              SMP Tue Nov 1 21:00:16 UTC 2011 i686 i686
:Alert Count                   2
:First Seen                    Пн. 02 апр. 2012 17:04:06
:Last Seen                     Пн. 02 апр. 2012 17:04:16
:Local ID                      069132f8-bc0f-4571-837a-699591cb4a4a
:
:Raw Audit Messages
:type=AVC msg=audit(1333371856.585:164): avc:  denied  { name_bind } for  pid=7806 comm="openl2tpd" src=1701 scontext=system_u:system_r:l2tpd_t:s0 tcontext=system_u:object_r:unreserved_port_t:s0 tclass=udp_socket
:
:
:type=SYSCALL msg=audit(1333371856.585:164): arch=i386 syscall=socketcall success=no exit=EACCES a0=2 a1=bf92a410 a2=6 a3=bf92a438 items=0 ppid=1 pid=7806 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=openl2tpd exe=/usr/sbin/openl2tpd subj=system_u:system_r:l2tpd_t:s0 key=(null)
:
:Hash: openl2tpd,l2tpd_t,unreserved_port_t,udp_socket,name_bind
:
:audit2allow
:
:#============= l2tpd_t ==============
:allow l2tpd_t unreserved_port_t:udp_socket name_bind;
:
:audit2allow -R
:
:#============= l2tpd_t ==============
:allow l2tpd_t unreserved_port_t:udp_socket name_bind;
:

Comment 1 Miroslav Grepl 2012-04-02 11:39:34 UTC

*** This bug has been marked as a duplicate of bug 809015 ***


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