Bug 1474691

Summary: selinux error on startup
Product: [Fedora] Fedora Reporter: Niklas Fischer <cdf481f6>
Component: xfce-bluetoothAssignee: Raphael Groner <projects.rg>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 26CC: cdf481f6, luca.giuzzi, projects.rg
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-02 07:01:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screenshot of error window none

Description Niklas Fischer 2017-07-25 07:30:40 UTC
Created attachment 1304066 [details]
screenshot of error window

Description of problem: When booting fedora 26 with the xfce desktop environment, a popup appears with the following contents:

Failed to apply network settings

You might not be able to connect to the Bluetooth network via this machine

Exception:
g-io-error-quark: GDBus.Error:org.freedesktop.DBus.Python.GLib.Error: Traceback (most recent call last):
  File "/usr/lib64/python3.6/site-packages/dbus/service.py", line 707, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/lib/python3.6/site-packages/blueman/main/DbusService.py", line 38, in wrapper
    return method(*args[1:], **kwargs)
  File "/usr/lib/python3.6/site-packages/blueman/plugins/mechanism/Network.py", line 56, in ReloadNetwork
    self.confirm_authorization(caller, "org.blueman.network.setup")
  File "/usr/libexec/blueman-mechanism", line 166, in confirm_authorization
    action_id, {}, 1, "")
  File "/usr/lib64/python3.6/site-packages/gi/overrides/Gio.py", line 172, in __call__
    None)
GLib.GError: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An SELinux policy prevents this sender from sending this message to this recipient, 0 matched rules; type="method_call", sender=":1.68" (uid=0 pid=2217 comm="python3 /usr/libexec/blueman-mechanism " label="system_u:system_r:blueman_t:s0") interface="org.freedesktop.PolicyKit1.Authority" member="CheckAuthorization" error name="(unset)" requested_reply="0" destination=":1.9" (uid=998 pid=843 comm="/usr/lib/polkit-1/polkitd --no-debug " label="system_u:system_r:policykit_t:s0") (9)
 (36)

The journal contains the following line:

Jul 25 09:24:56 guest-fedora dbus-daemon[793]: [system] Rejected send message, 0 matched rules; type="method_return", sender=":1.3" (uid=0 pid=780 comm="/usr/libexec/bluetooth/bluetoothd " label="system_u:system_r:bluetooth_t:s0") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.54" (uid=1000 pid=1908 comm="python3 /usr/bin/blueman-applet " label="unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023")


Version-Release number of selected component (if applicable): current version from fedora 26 repos as of 7/25/2017


How reproducible: 100%. Upgraded multiple VMWare machines, of which all displayed the described behaviour.


Steps to Reproduce:
1. Upgrade Fedora 25->26
2. Select xfce in gdm
3. Log on

Actual results:
Error message appears

Expected results:
No error message, everything works

Additional info:
My VMWare VM does not have a bluetooth adapter configured.

Comment 1 Niklas Fischer 2017-07-25 07:58:53 UTC
p.s. as after reading it another time it seems I did not make this clear: The error message not only appears on the first startup after upgrading, but every time the user loggs in.

Comment 2 Luca Giuzzi 2017-08-01 10:28:09 UTC
This bug appears to be a clone of 1441920

Comment 3 Niklas Fischer 2017-08-02 07:01:35 UTC

*** This bug has been marked as a duplicate of bug 1441920 ***