[Pkg-systemd-maintainers] Bug#730369: systemd: bluetooth daemon not starting

Alessandro Ghedini ghedo at debian.org
Tue Nov 26 20:15:28 GMT 2013


On dom, nov 24, 2013 at 04:59:33 +0200, Andrei POPESCU wrote:
> Package: systemd
> Version: 204-5
> Severity: normal
> 
> Hi,

Hi,

> Using init=/bin/systemd the bluetooth daemon (bluetoothd, 
> /etc/init.d/bluetooth, package bluez) does not start automatically.

bluez provides its own service file (/lib/systemd/system/bluetooth.service).

The problem here appears to be that the bluetooth.service doesn't get enabled
on package installation:

> % systemctl status bluetooth.service
> bluetooth.service - Bluetooth service
>    Loaded: loaded (/lib/systemd/system/bluetooth.service; disabled)
>    Active: inactive (dead)

So the dumb solution would simply be to manually enable the service by running
"systemctl enable bluetooth.service".

As for the long-term solution, if I understand things correctly, it's the
package's duty to enable whatever service it installed (and not systemd's), so
if the bluez maintainer wants to have the bluetooth service enabled on package
installation he should start using the dh_systemd_enable script provided by
the dh-systemd package in bluez' debian/rules (for the short form dh thingy it
should be enough to simply pass --with=systemd to dh and add dh-systemd to
Build-Depends).

At this point, I guess this bug should be reassigned to bluez, though I leave
that decision to the systemd maintainers or the bug submitter.

Cheers
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20131126/3f077c2a/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list