From: Rafael Ávila de Espíndola Date: Tue, 12 May 2020 02:36:39 +0000 (+0000) Subject: HACKING: Mention disabling SELinux X-Git-Tag: submit/tizen/20210606.232858~127 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=64cf49d3a6845e7c34b6342f079eb1091d82ee4b;p=platform%2Fupstream%2Fbluez.git 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. Signed-off-by: Anuj Jain Signed-off-by: Ayush Garg --- diff --git a/HACKING b/HACKING index e10986fc..29b136b3 100755 --- 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