| Summary: | SELinux is preventing pppd from 'write' accesses on the file ppp0.pid. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Anton <antonvinny+red> |
| Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 23 | CC: | dominick.grift, dwalsh, lvrabec, mgrepl, plautrba |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:07b685b0d8516da8c78b9f79fd47a633442806c77a4f1808d849daf18d9f8210;VARIANT_ID=workstation; | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-03-21 13:02:13 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
You need to run restorecon # restorecon -R -v /var/run/ppp* |
Description of problem: When I try to connect to a mobile broadband. it doesn't connect instead gives this error. SELinux is preventing pppd from 'write' accesses on the file ppp0.pid. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that pppd should be allowed write access on the ppp0.pid 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 unconfined_u:object_r:var_run_t:s0 Target Objects ppp0.pid [ file ] Source pppd Source Path pppd Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.13.1-158.9.fc23.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.4.4-301.fc23.x86_64 #1 SMP Fri Mar 4 17:42:42 UTC 2016 x86_64 x86_64 Alert Count 1 First Seen 2016-03-18 13:34:36 IST Last Seen 2016-03-18 13:34:36 IST Local ID 4a4d3d90-f189-426f-8cbb-1c072d380edc Raw Audit Messages type=AVC msg=audit(1458288276.534:2115): avc: denied { write } for pid=30473 comm="pppd" name="ppp0.pid" dev="tmpfs" ino=2522138 scontext=system_u:system_r:pppd_t:s0 tcontext=unconfined_u:object_r:var_run_t:s0 tclass=file permissive=0 Hash: pppd,pppd_t,var_run_t,file,write Version-Release number of selected component: selinux-policy-3.13.1-158.9.fc23.noarch Additional info: reporter: libreport-2.6.4 hashmarkername: setroubleshoot kernel: 4.4.4-301.fc23.x86_64 type: libreport Potential duplicate: bug 700656