Bug 1136566 - SELinux is preventing /usr/sbin/sstpc from 'unlink' accesses on the sock_file .
Summary: SELinux is preventing /usr/sbin/sstpc from 'unlink' 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:f0578b56b55fb536aa81ef23901...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-02 22:15 UTC by Andreas Lindhé
Modified: 2014-09-03 10:04 UTC (History)
4 users (show)

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


Attachments (Terms of Use)

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

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

If you believe that sstpc should be allowed unlink 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 sstpc /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                        sstpc
Source Path                   /usr/sbin/sstpc
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           sstp-client-1.0.9-4.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                   1
First Seen                    2014-09-03 00:09:23 CEST
Last Seen                     2014-09-03 00:09:23 CEST
Local ID                      0b1b24c8-6a64-43de-9317-753f238aa158

Raw Audit Messages
type=AVC msg=audit(1409695763.443:1589): avc:  denied  { unlink } for  pid=13230 comm="sstpc" name="sstpc-nm-sstp-service-13225" dev="tmpfs" ino=340874 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(1409695763.443:1589): arch=x86_64 syscall=unlink success=no exit=EACCES a0=7f511c354824 a1=1 a2=7f51199ad7b8 a3=7f51199ad7b8 items=0 ppid=13228 pid=13230 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=sstpc exe=/usr/sbin/sstpc subj=system_u:system_r:pppd_t:s0 key=(null)

Hash: sstpc,pppd_t,pppd_var_run_t,sock_file,unlink

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

Comment 1 Miroslav Grepl 2014-09-03 10:04:29 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.