summaryrefslogtreecommitdiff
path: root/HACKING
diff options
context:
space:
mode:
authorRafael Ávila de Espíndola <rafael@espindo.la>2020-05-12 02:36:39 +0000
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2020-05-19 10:54:53 -0700
commite5bb5fa89ce3b3d28b6ab4120ef56c5f5591ae69 (patch)
tree9f794008f4face78d8f92c161c4c177bc655285b /HACKING
parenta106a3ae3b074579839b43ffa4cf876798a2fed0 (diff)
downloadbluez-e5bb5fa89ce3b3d28b6ab4120ef56c5f5591ae69.tar.gz
HACKING: Mention disabling SELinux
Running bluetoothd from the build directory I noticed that as soon as a bluetooth audio device was connect, bluetoothd would be disconnected from dbus and print Disconnected from D-Bus. Exiting. Luiz Augusto von Dentz suggested trying with SELinux disabled and that solved the problem. This patch just documents how to disable SELinux before running bluetoothd from the build directory. I would love to say more about why that is needed, but could not find anything on the audit log.
Diffstat (limited to 'HACKING')
-rw-r--r--HACKING3
1 files changed, 3 insertions, 0 deletions
diff --git a/HACKING b/HACKING
index e10986fcb..29b136b34 100644
--- a/HACKING
+++ b/HACKING
@@ -76,6 +76,9 @@ automatically includes this option.
Copy configuration file which specifies the required security policies
# sudo cp ./src/bluetooth.conf /etc/dbus-1/system.d/
+ Disable SELinux
+ # sudo setenforce 0
+
Run daemon in foreground with debugging
# sudo ./src/bluetoothd -n -d -f ./src/main.conf