Bug 714624

Summary: Bluetooth DUN does not work
Product: [Fedora] Fedora Reporter: Tim Niemueller <tim>
Component: selinux-policy-targetedAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Ben Levenson <benl>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: dwalsh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-11 22:32:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Tim Niemueller 2011-06-20 09:40:59 UTC
Description of problem:
When trying to connect via Bluetooth DUN with SELinux enabled I get the following AVC error:
type=AVC msg=audit(1308561951.752:110): avc:  denied  { read } for  pid=3062 comm="pppd" name="lock" dev=dm-2 ino=263438 scon
text=system_u:system_r:pppd_t:s0 tcontext=system_u:object_r:var_t:s0 tclass=lnk_file


Version-Release number of selected component (if applicable):
$ rpm -q selinux-policy-targeted
selinux-policy-targeted-3.9.16-26.fc15.noarch


How reproducible:
Always

Steps to Reproduce:
1. Fresh install of F-15 with all updates (not updates-testing)
2. Use bluetooth widget to configure phone and setup DUN connection (using N900 with T-Mobile Germany here)
3. Click on the connection in the NetworkManager applet
  
Actual results:
Error notification with AVC error, NM status stays "connecting" until I disable Bluetooth.

Expected results:
Established connection

Comment 1 Miroslav Grepl 2011-06-20 11:11:42 UTC
This is fixed in the latest policy which is available from updates-testing

execute

# yum update selinux-policy --enablerepo=updates-testing

Comment 2 Tim Niemueller 2011-10-11 22:32:57 UTC
Closing, should work by now.