Description of problem: I have a Huawei E160 USB dongle and tried to enable a connection but Network Manager just throws an error saying the activation failed. There are several entries in audit.log relating to pppd: type=AVC msg=audit(1636745917.291:337): avc: denied { create } for pid=7745 comm="pppd" name="LCK..ttyUSB0" scontext=system_u:system_r:pppd_t:s0 tcontext=system_u:object_r:var_lock_t:s0 tclass=file permissive=0 type=AVC msg=audit(1636746093.459:354): avc: denied { open } for pid=7857 comm="pppd" path="/run/lock/LCK..ttyUSB0" dev="tmpfs" ino=2136 scontext=system_u:system_r:pppd_t:s0 tcontext=system_u:object_r:var_lock_t:s0 tclass=file permissive=0 I've tried creating a policy for these with audit2allow, which although did stop any further notices appearing in audit.log didn't fix the issue. With the custom policies applied, the connection was failing with this error: pppd[1672]: Can't open existing lock file /var/lock/LCK..ttyUSB0: Permission denied There's nothing in audit.log relating to that. I finally give setenforce 0 a try, and it has started working perfectly. Something in F35's default policy is preventing pppd from accessing those lock files. It works out of the box on Fedora 34.
(In reply to Philip Heron from comment #0) > Something in F35's default policy is preventing pppd from accessing those > lock files. It works out of the box on Fedora 34. Probably a change in pppd as selinux-policy only had a rule for a directory in /run/lock.
*** Bug 2074239 has been marked as a duplicate of this bug. ***
*** Bug 2074238 has been marked as a duplicate of this bug. ***
FEDORA-2022-9e53cb5027 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-9e53cb5027
FEDORA-2022-9e53cb5027 has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-9e53cb5027` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-9e53cb5027 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-9e53cb5027 has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.