Bug 718466 - SELinux is preventing /usr/sbin/pppd from 'getopt' accesses on the socket Unknown.
Summary: SELinux is preventing /usr/sbin/pppd from 'getopt' accesses on the socket Unk...
Keywords:
Status: CLOSED DUPLICATE of bug 718465
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: i386
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:43b27a18f0c...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-03 09:43 UTC by ManFree
Modified: 2011-07-05 19:54 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-05 19:54:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description ManFree 2011-07-03 09:43:52 UTC
SELinux is preventing /usr/sbin/pppd from 'getopt' accesses on the socket Unknown.

*****  Plugin catchall (100. confidence) suggests  ***************************

If you believe that pppd should be allowed getopt access on the Unknown 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 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:system_r:initrc_t:s0
Target Objects                Unknown [ socket ]
Source                        pppd
Source Path                   /usr/sbin/pppd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           ppp-2.4.5-16.fc15
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.16-23.fc15
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 2.6.38.7-30.fc15.i686
                              #1 SMP Fri May 27 06:02:17 UTC 2011 i686 i686
Alert Count                   1
First Seen                    Sun 03 Jul 2011 04:33:46 PM MSD
Last Seen                     Sun 03 Jul 2011 04:33:46 PM MSD
Local ID                      6052582a-9acb-43c6-b355-10babcedbffc

Raw Audit Messages
type=AVC msg=audit(1309696426.549:110): avc:  denied  { getopt } for  pid=6779 comm="pppd" scontext=system_u:system_r:pppd_t:s0 tcontext=system_u:system_r:initrc_t:s0 tclass=socket


type=SYSCALL msg=audit(1309696426.549:110): arch=i386 syscall=socketcall success=yes exit=0 a0=f a1=bff3a330 a2=ad42b0 a3=0 items=0 ppid=6778 pid=6779 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,initrc_t,socket,getopt

audit2allow

#============= pppd_t ==============
allow pppd_t initrc_t:socket getopt;

audit2allow -R

#============= pppd_t ==============
allow pppd_t initrc_t:socket getopt;

Comment 1 Daniel Walsh 2011-07-05 19:54:23 UTC

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


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