Bug 815765 - SELinux is preventing /usr/sbin/pppd from 'write' accesses on the sock_file openl2tp-event.sock.
Summary: SELinux is preventing /usr/sbin/pppd from 'write' accesses on the sock_file o...
Keywords:
Status: CLOSED WONTFIX
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:d8d53340a95f5df66825aa5594d...
: 815775 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-24 13:27 UTC by ManFree
Modified: 2012-04-25 15:24 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-25 15:24:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description ManFree 2012-04-24 13:27:01 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/pppd from 'write' accesses on the sock_file openl2tp-event.sock.
time:           Tue Apr 24 21:26:43 2012

description:
:SELinux is preventing /usr/sbin/pppd from 'write' accesses on the sock_file openl2tp-event.sock.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that pppd should be allowed write access on the openl2tp-event.sock sock_file 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 pppd /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:pppd_t:s0
:Target Context                system_u:object_r:l2tpd_tmp_t:s0
:Target Objects                openl2tp-event.sock [ sock_file ]
:Source                        pppd
:Source Path                   /usr/sbin/pppd
:Port                          <Неизвестно>
:Host                          (removed)
:Source RPM Packages           ppp-2.4.5-18.fc16
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-86.fc16
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Permissive
: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                   1
:First Seen                    Вт. 24 апр. 2012 21:26:17
:Last Seen                     Вт. 24 апр. 2012 21:26:17
:Local ID                      e3aacf7d-9dde-47a2-9e0a-8315659e28cd
:
:Raw Audit Messages
:type=AVC msg=audit(1335288377.632:88): avc:  denied  { write } for  pid=10631 comm="pppd" name="openl2tp-event.sock" dev=dm-1 ino=8595 scontext=system_u:system_r:pppd_t:s0 tcontext=system_u:object_r:l2tpd_tmp_t:s0 tclass=sock_file
:
:
:type=AVC msg=audit(1335288377.632:88): avc:  denied  { sendto } for  pid=10631 comm="pppd" path="/tmp/openl2tp-event.sock" scontext=system_u:system_r:pppd_t:s0 tcontext=system_u:system_r:l2tpd_t:s0 tclass=unix_dgram_socket
:
:
:type=SYSCALL msg=audit(1335288377.632:88): arch=i386 syscall=socketcall success=yes exit=0 a0=3 a1=bfa1a5d0 a2=dd80fc a3=0 items=0 ppid=10627 pid=10631 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=pppd exe=/usr/sbin/pppd subj=system_u:system_r:pppd_t:s0 key=(null)
:
:Hash: pppd,pppd_t,l2tpd_tmp_t,sock_file,write
:
:audit2allow
:
:#============= pppd_t ==============
:allow pppd_t l2tpd_t:unix_dgram_socket sendto;
:allow pppd_t l2tpd_tmp_t:sock_file write;
:
:audit2allow -R
:
:#============= pppd_t ==============
:allow pppd_t l2tpd_t:unix_dgram_socket sendto;
:allow pppd_t l2tpd_tmp_t:sock_file write;
:

Comment 1 Daniel Walsh 2012-04-24 15:29:20 UTC
*** Bug 815775 has been marked as a duplicate of this bug. ***

Comment 2 Miroslav Grepl 2012-04-25 06:29:14 UTC
Fixed in selinux-policy-3.10.0-87.fc16

Comment 3 ManFree 2012-04-25 15:24:13 UTC
No problem in selinux-policy-3.10.0-87.fc16.
Fixed.


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