[Pkg-bluetooth-maintainers] Bug#853207: bluez: bluetooth.service doesn't start with systemd

Nobuhiro Iwamatsu iwamatsu at nigauri.org
Sat Feb 11 04:08:23 UTC 2017


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Control: tags 853207 + moreinfo

Hi,

> Most likely the bluetooth support for your laptop is broken under linux.
> 
> The bluetooth.service file contains
> 
> ConditionPathIsDirectory=/sys/class/bluetooth
> 
> which means that systemd only tries to start the bluetooth daemon when
> the bluetooth module from the kernel is loaded which creates the above
> directory in sysfs. The bluetooth module is in turn only loaded by the
> kernel/udev when bluetooth hardware is detected. So the .service file
> behaves correctly as to only start the daemon when there is actual
> bluetooth hardware available.
> 
> Could you check if the above reasoning is correct by first directly
> loading the bluetooth kernel module (modprobe bluetooth), which should
> create /sys/class/bluetooth and then trying to start the bluetooth
> daemon (systemctl restart bluetooth.service)?
> 
> If that is the case the bug should be reassigned as a wishlist bug to
> systemd. If a condition for starting a service is not satisfied when a
> user explicitly tries to explicitly start it on the command line, it
> would be useful to report the reason for the startup failure to the
> user. This would significantly help a user to debug such an issue.
> 

Matthias, thanks for your support.
I confirmed this bug with stretch, but the same problem did not happen.

Russell, could you confirm again with Matthias's comment?

Best regards,
  Nobuhiro


- -- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEXmKe5SMhlzV7hM9DMiR/u0CtH6YFAliejjcACgkQMiR/u0Ct
H6Zs1w//eauQhMbpchGdHoeinQXqjvoV3BfFew6bYZlRPInbaKWa+HT2lGnyshA8
8Nde12OWLuJr7EOSAwt6fH56kNZl0ClWdh+1aMnyCaqys5hpycZw39PYfHTiYT2f
w3jXGtJE9Xk1FtVrJSmOb8FGmgtYuHygr42VThpPv9M0ANveVLNCdq8ofoEKLLKI
1Js5mXHo4ASgNXckBiX4+yLz4v3SB/OrCZMfpuEihU3H3iugg8hv2Z6mrn7fBw1c
61VzUg2YhLBSyR8vNe+yHw6mSJ0BSGp3kxbyn/LY67OVf4iJTLwCSQmOefBr7wTv
UBew1QBiI9z4h6vdY+p+dxFEhOHSokr8FPZgaA4JD7c7IHiVtBqEVBdu9alvBzkf
MmRBWcE4z4S2TYDfA/O6vfPywsr4RWTWt9fi7iuwAnuFrHK6e0YYK8PmIqbWEE4x
umntGaqd9dOKDv/UwbHfHduBZYazywrwlad4z+Fkn7A/q1ce8wDrM7YaeqKQvq5i
HUqrDUI2/Ayqy/4rx7WPPjkfhJDmciiXfiJOwldRtuAKYHfnDsc4RJjiiQRitsjx
RmgCzW8SH3SH0kaiCYy5k6/NGl7HXXJA3ht1bjy+nmgksqg67hL6NhQzbBPoAZxn
SA9X1C8y0RjBJUqK0NZt7CNyGYP5YPMLZhk9ll9KImcXZxuUcY4=
=Hon7
-----END PGP SIGNATURE-----



More information about the Pkg-bluetooth-maintainers mailing list