Hide Forgot
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
You need to run restorecon # restorecon -R -v /var/run/ppp*