Hi Lukas.

[root@pepewin ~]# dnf list selinux*
Last metadata expiration check: 1:58:01 ago on Fri 18 May 2018 08:00:52 PM EST.
Installed Packages
selinux-policy.noarch                     3.13.1-283.34.fc27            @updates
selinux-policy-targeted.noarch            3.13.1-283.34.fc27            @updates

[root@pepewin ~]# uname -a
Linux pepewin.localdomain 4.16.7-200.fc27.x86_64 #1 SMP Wed May 2 20:33:31 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux


On Fri, May 18, 2018 at 2:11 AM, Lukas Vrabec <lvrabec@redhat.com> wrote:
On 05/18/2018 04:18 AM, Javier Perez wrote:
> Hi.
>
> I do not know what did I update, but now my bluetooth headphones do not
> work.
>
> When I go to bluetoothctl and try to connect them directly I get this
> message on the journal logs
>
> "bluetoothd[875]: a2dp-sink profile connect failed for
> 00:18:09:9B:A3:13: Protocol not available"
>
> When restart the bluetooth service I can see the following:
>
> May 17 21:10:44 pepewin.localdomain audit[1]: SERVICE_START pid=1 uid=0
> auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0
> msg='unit=bluetooth comm="systemd" exe="/usr/lib/systemd/systemd"
> hostname=? addr=? terminal=? res=success'
>
> May 17 21:10:44 pepewin.localdomain dbus-daemon[880]: [system] Rejected
> send message, 2 matched rules; type="method_call", sender=":1.50"
> (uid=1000 pid=2114 comm="/usr/bin/pulseaudio --start --log-target=syslog
> " label="unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023")
> interface="org.freedesktop.DBus.ObjectManager"
> member="GetManagedObjects" error name="(unset)" requested_reply="0"
> destination="org.bluez" (uid=0 pid=3910
> comm="/usr/libexec/bluetooth/bluetoothd "
> label="system_u:system_r:bluetooth_t:s0")
>
> May 17 21:10:44 pepewin.localdomain pulseaudio[2114]: [pulseaudio]
> bluez5-util.c: GetManagedObjects() failed:
> org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2
> matched rules; type="method_call", sender=":1.50" (uid=1000 pid=2114
> comm="/usr/bin/pulseaudio --start --log-target=syslog "
> label="unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023")
> interface="org.freedesktop.DBus.ObjectManager"
> member="GetManagedObjects" error name="(unset)" requested_reply="0"
> destination="org.bluez" (uid=0 pid=3910
> comm="/usr/libexec/bluetooth/bluetoothd "
> label="system_u:system_r:bluetooth_t:s0")
>
> And the Rejected send Message keeps repeating.
>
> What can I do?
> I saw a message from somene including the instruction to kill the
> suspend while idle at pulseaudio, I already did that and still getting
> the same problem
>

Hi,

What version of fedora and version of selinux-policy package you're
using? We had a bug in selinux-policy breaking this.

Please, update to the latest selinux-policy package:
# dnf update selinux-policy -y

Lukas.


> Thanks
>
> --
> ------------------------------
>  /\_/\  
>  |O O|  pepebuho@gmail.com <mailto:pepebuho@gmail.com>
>  ~~~~     Javier Perez
>  ~~~~          While the night runs
>  ~~~~          toward the day...
>   m m       Pepebuho watches
>                 from his high perch.
>
>
> _______________________________________________
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-leave@lists.fedoraproject.org
> Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org/message/XUPC7KDCD6B2RKMDHS44KKDD4UWN3MAO/
>


--
Lukas Vrabec
Software Engineer, Security Technologies
Red Hat, Inc.


_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org/message/NUQ67VRS7A7YRN6LHH42MVACG4JKDMAU/




--
------------------------------
 /\_/\  
 |O O|  pepebuho@gmail.com
 ~~~~     Javier Perez
 ~~~~          While the night runs
 ~~~~          toward the day...
  m m       Pepebuho watches
                from his high perch.