Description of problem: dund isn't able to start a pppd conection over bluetooth. I get an error that he isn't able to open /dev/rfcomm0 From the syslog: pppd[...]: Couldn't stat /dev/rfcomm0: Permission denied Version-Release number of selected component (if applicable): bluez-utils-2.15-7 selinux-policy-targeted-1.27.1-2.1 How reproducible: Steps to Reproduce: 1. Configure bluetooth and dund as server 2. Use enforcement in selinux 3. Setup a "dund" connection Actual results: You get the following error in syslog: pppd[...]: Couldn't stat /dev/rfcomm0: Permission denied Expected results: ppp should start and you should be able to use ip on the other device Additional info: The problem is the selinux permisions on "/dev/rfcomm0". The default permisions are: # ls -lZ /dev/rfcomm0 crw-rw---- root root system_u:object_r:device_t /dev/rfcomm0 I have changed "/etc/selinux/targeted/contexts/files/file_contexts". I added the folling line (i copied the "/dev/ircomm" line): /dev/rfcomm[0-9]+ -c system_u:object_r:tty_device_t That changes the permisions for "/dev/rfcomm0" to: # ls -lZ /dev/rfcomm0 crw-rw---- root root system_u:object_r:tty_device_t /dev/rfcomm0 With this setup it works. Ofcourse it also works when you disable selinux!
Fixed in selinux-policy-targeted-1.27.1-2.3