Red Hat Bugzilla – Bug 454358
selinux denials to pppd when using Network Manager
Last modified: 2008-09-02 07:52:25 EDT
Description of problem:
I have network manager (NM) setup to use my bluetooth phone as a mobile
broadband modem. When I initiate a connection I get selinux failures about pppd
not be allowed to access "/var/run/pppd2.tdb".
I can sucessfully connect if I disable selinux or a I make a custom policy
(which is what I did). I'll attach the avc messages I got in the log and that I
used to make my local policy
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Setup a broadband connection needing ppp.
2. Try and connect using nm-applet
Connection fails and setroubleshooter emits failure warnings
Created attachment 311209 [details]
AVC messages about pppd denials
I tested following commands to allow this and it works at me:
# audit2allow -M mypol -l -i /var/log/audit/audit.log
# semodule -i mypol.pp
This issue should fix new release of selinux-policy.
I tested it with selinux-policy-3.3.1-87.fc9.noarch and it works fine.
*** This bug has been marked as a duplicate of bug 249152 ***