Bug 1136566
| Summary: | SELinux is preventing /usr/sbin/sstpc from 'unlink' accesses on the sock_file . | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Andreas Lindhé <Lindhe94> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 20 | CC: | dominick.grift, dwalsh, lvrabec, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:f0578b56b55fb536aa81ef23901c40a865507be81c24efefe01dd37426b6db42 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-09-03 10:04:29 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
*** This bug has been marked as a duplicate of bug 1136569 *** |
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