Bug 1136574 - SELinux is preventing /usr/sbin/pppd from 'write' accesses on the sock_file .
Summary: SELinux is preventing /usr/sbin/pppd from 'write' accesses on the sock_file .
Keywords:
Status: CLOSED DUPLICATE of bug 1136569
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:a20a1c6729af10ece3b3925848d...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-02 22:28 UTC by Andreas Lindhé
Modified: 2014-09-03 09:55 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-03 09:55:02 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Andreas Lindhé 2014-09-02 22:28:09 UTC
Description of problem:
Tried to connect to VPN and this popped up.
SELinux is preventing /usr/sbin/pppd from 'write' accesses on the sock_file .

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

If you believe that pppd should be allowed write access on the  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:pppd_var_run_t:s0
Target Objects                 [ sock_file ]
Source                        pppd
Source Path                   /usr/sbin/pppd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           ppp-2.4.5-34.fc20.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.12.1-182.fc20.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.15.10-201.fc20.x86_64 #1 SMP Wed
                              Aug 27 21:10:06 UTC 2014 x86_64 x86_64
Alert Count                   10
First Seen                    2014-08-29 11:08:26 CEST
Last Seen                     2014-09-03 00:12:35 CEST
Local ID                      b3e0e242-937c-4209-a3a9-2f1fedad0bfb

Raw Audit Messages
type=AVC msg=audit(1409695955.194:1999): avc:  denied  { write } for  pid=17468 comm="pppd" name="sstpc-nm-sstp-service-17465" dev="tmpfs" ino=370165 scontext=system_u:system_r:pppd_t:s0 tcontext=system_u:object_r:pppd_var_run_t:s0 tclass=sock_file


type=SYSCALL msg=audit(1409695955.194:1999): arch=x86_64 syscall=connect success=no exit=EACCES a0=d a1=7fff5266c870 a2=6e a3=15 items=0 ppid=17465 pid=17468 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,pppd_var_run_t,sock_file,write

Additional info:
reporter:       libreport-2.2.3
hashmarkername: setroubleshoot
kernel:         3.15.10-201.fc20.x86_64
type:           libreport

Comment 1 Daniel Walsh 2014-09-03 09:55:02 UTC

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


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