Bug 1474691 - selinux error on startup
Summary: selinux error on startup
Keywords:
Status: CLOSED DUPLICATE of bug 1441920
Alias: None
Product: Fedora
Classification: Fedora
Component: xfce-bluetooth
Version: 26
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Raphael Groner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-25 07:30 UTC by Niklas Fischer
Modified: 2017-08-02 07:01 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-02 07:01:35 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
screenshot of error window (1.39 MB, image/png)
2017-07-25 07:30 UTC, Niklas Fischer
no flags Details

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 ***


Note You need to log in before you can comment on or make changes to this bug.