#756961 bluetooth service not starting on boot

#756961#5
Date:
2014-08-03 23:20:38 UTC
From:
To:
The bluetooth service is not started on boot. The issue is very similar to
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734548, but the
bluetooth.target is active while the bluetooth.service is not.

I've enabled debug logs on systemd, and found a single line that seems wrong:
"systemd[1]: Trying to enqueue job bluetooth.target/start/fail". No reason
specified though (or I couldn't find one).

If I start the service manually (i.e. systemctl start bluetooth.service) then
everything starts working as expected.
Calling systemctl enable bluetooth.service doesn't seem to do anything (it
outputs 3 lines, as in [1])

Please let me know if I can provide any further output or feedback.

Thanks.

[1] output of systemctl enable bluetooth.service:
Synchronizing state for bluetooth.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d bluetooth defaults
Executing /usr/sbin/update-rc.d bluetooth enable



- -- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bluetooth depends on:
ii  bluez  5.21-2

bluetooth recommends no packages.

Versions of packages bluetooth suggests:
ii  bluez-cups   5.21-2
pn  bluez-obexd  <none>

- -- no debconf information
iQFWBAEBCABABQJT3sPAORpodHRwOi8vd3d3LmdvbnowLmNvbS5hci9ncGcvc2ln
bmF0dXJlLXBvbGljeS0yMDEzXzEuaHRtbAAKCRAv/PnkCiZyOP5JB/90J+ldvh8a
WkXnUZp50EgaJqySTnI2bvwxjQ+CV2c9JQI6Y9+SSVDjZslk6QLCOKuB4tlR7XNJ
VulMXHqmhpTwyhZxR8wQFFRfIwj2hZY7HhnFX5GTmeXb3fA1t6bAW7xox3mlzjiX
prd6At3/MahNWOVEDgmXYhn+t1ZWcAOnIRXgCq+Q2W5dxVO5QP1wUse7NvSyeDCo
3/dT6YtFSX+9gfKZfk+B+dN2lB3uBUspTXDPQQS/w16+22qFswk8Ct3Avp6uGK6n
z+QKOd8JEsBOvIV41tIMiCbhMkgRqUEVuN7XJYLYVO9LId1Cm1p8jb4wtAE1eUqF
kYrORWYheJdT
=9MfG
-----END PGP SIGNATURE-----

#756961#10
Date:
2014-08-15 13:43:24 UTC
From:
To:
This was happening because of a dependency cycle in my system. Removing rpcbind
and nfs-common solved the issue.

#756961#15
Date:
2014-08-18 16:58:09 UTC
From:
To:
Hi,

Thanks for your report.

I was confirmed in the Debian system minimal, but the problem you've
reported did not occur.

I installed these packages. However, bluetooth daemon has started successfully.

Best regards,
  Nobuhiro

2014-08-04 8:20 GMT+09:00 Gonzalo Bermúdez <gonzalob@gonz0.com.ar>:

#756961#20
Date:
2015-12-20 17:00:56 UTC
From:
To:
Hi,

I had exactly the same problem ("bluetooth.service" dead after boot
although enabled, manual start of "bluetooth.service" is successful).
The dependency cycle might be caused by enabling
"|NetworkManager-wait-online.service|" (ref:
http://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/, "How do
I make network.target work for me?").
After removal|("systemctl disable NetworkManager-wait-online.service|"),
"bluetooth.service" starts ok while booting.

Regards,
   Tilmann