Rawhide, bluetooth and selinux

William John Murray W.J.Murray at rl.ac.uk
Wed Mar 15 14:45:18 UTC 2006


On Wed, 2006-03-15 at 08:41 -0500, fedora-test-list-request at redhat.com
wrote:
> Hi all,
> 
> I try to get some communication running with rawhide and bluetooth.
> Running "/etc/init.d/bluetooth start" won't start hcid, syslog says:
> Mar 15 14:07:38 rzm-hagen-lt hcid[14385]: Bluetooth HCI daemon
> Mar 15 14:07:38 rzm-hagen-lt hcid[14385]: Can't get system message
> bus 
> name: Connection ":1.18" is not allowed to own the service
> "org.bluez" 
> due to SELinux policy
> Mar 15 14:07:38 rzm-hagen-lt hcid[14385]: Unable to get on D-BUS
> 
> Manually running hcid results in
> Mar 15 14:08:38 rzm-hagen-lt hcid[14401]: Bluetooth HCI daemon
> Mar 15 14:08:38 rzm-hagen-lt hcid[14401]: Starting security manager 0
> 
> At least it is running now...
> Using nautilus I can send files to my cell-phone. Basically it is 
> working. :-)
> Trying to authenticated my cellphone to my desktop results in
> Mar 15 14:04:45 rzm-hagen-lt hcid[14248]: pin_code_request 
> (sba=00:10:C6:52:C1:CC, dba=00:15:B9:1F:77:A1)
> Mar 15 14:04:45 rzm-hagen-lt hcid[14248]: 
> org.freedesktop.DBus.Error.ServiceUnknown: The name
> org.bluez.PinAgent 
> was not provided by any .service files
> 
> gnome-bluetooth shows a symbol for my cell-phone and that's it. There 
> are some buttons like "properties" which seem to have no effect.
> 
> I tried at my desktop and my notebook, different bluetooth-hardware
> but 
> same results.
> 
> Can someone confirm or has someone better experience? Any advise how
> to 
> get bluetooth running?
> 
> So to me bluetooth seems to be partially broken, but I won't consider 
> this to be a blocker for FC5. ;-) However, IMHO it should be
> mentioned 
> in the release-documentation and perhaps the gnome-bluetooth-icons 
> should be removed from gnome-menu, since they are currently useless in
> a 
> standard-FC5-installation.
> 
> BTW, if /usr/share/doc/HTML/index.html is to be updated, in section 
> 9.5.2 graveman should IMHO not be mentioned, since at least here it
> is 
> useless, crashing regularly with pointer-errors (reported to bugzilla 
> several weeks ago).
> 
> -- 
> CU,
>     Patrick. 

   Hello Patrick,
         I think you have to disable the bluetooth in selinux, 
  (SElinux -> SELinux service protection -> bluetooth)

  The pin ID stuff is probably related to requiring a pin helper.
   I uncommented /usr/bin/bluepin in /etc/bluetooth/hcid.conf,
  and the error went away.
     There is still something wrong - when I rfcomm to my phone I 
get a 'do you want this connection' which instantly disappears,
and the connection is broken. But I can obex push from either end.

   The gnome-bluetooth-file-sharing works very nicely. The manager
really should have the 'properties' button removed, as it seems to do
nothing.
   Bill




More information about the fedora-test-list mailing list