[Pkg-bluetooth-maintainers] Bug#700064: systemd: Don't run 97-bluetooth.rules under systemd

Vincent Bernat bernat at debian.org
Fri Dec 5 07:07:26 UTC 2014


Control: fixed -1 5.23-1
Control: fixed -1 5.23-2

 ❦  8 février 2013 01:48 +0100, Michael Biebl <biebl at debian.org> :

> under systemd, starting long-running processes, like bluetoothd, from
> udev rules is not recommended.
> Instead, devices should be tagged instead and the service started from
> the corresponding target.
>
> 99-systemd.rules contains
> SUBSYSTEM=="bluetooth", TAG+="systemd",
> ENV{SYSTEMD_WANTS}="bluetooth.target"
>
> and the systemd service file shipped in the bluetooth package has a
>  
>  [Install]
>  WantedBy=bluetooth.target
>
> section. By hooking up the service in bluetooth.target, it will be
> started automatically when bluetooth hardware is attached.
>
> This means, starting the bluetooth daemon in 97-bluetooth.rules is not
> recommended under systemd. The best way is to simply skip those rules.

This rule file is no longer shipped in bluez.
-- 
 /*
  * We used to try various strange things. Let's not.
  */
	2.2.16 /usr/src/linux/fs/buffer.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-bluetooth-maintainers/attachments/20141205/e0288e64/attachment.sig>


More information about the Pkg-bluetooth-maintainers mailing list