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

Attachment: signature.asc
Description: Digital signature

Reply via email to