On 17.11.2012 05:28, Michael Biebl wrote: > On 02.11.2012 22:47, Julien Puydt wrote: >> Le 02/11/2012 20:50, Michael Biebl a écrit : >>> On 02.11.2012 18:53, Julien Puydt wrote: >>>> Package: systemd >>>> Version: 44-5 >>>> >>>> After entering my xfce session, I noticed that the blueman applet was >>>> missing. A "service bluetooth start" made the applet appear, so systemd >>>> should probably have started that service sooner. >>>> >>>> Perhaps the problem is due to my bluetooth adapter being an usb one? >>> >>> Can't reproduce the problem. Bluetooth works fine here. >>> Can you attach the output of >>> systemctl status bluetooth.service >>> after the boot? >> >> After the boot, that command says that bluetooth.service is loaded but >> disabled, and inactive dead... and indeed, I have to "service bluetooth >> start" by hand. > > > There is a udev rule > /lib/udev/rules.d/97-bluetooth.rules which runs /lib/udev/bluez-udev, so > you should have a "bluetoothd --udev" process. Can you check if you have > such a process after you have plugged in the bt adapter. > > What's the status of bluetooth.target after boot resp. before/after you > plugin the usb adapter? > > > That said, there might also be a problem of the bluez systemd > integration, i.e. it ships the service disabled by default.
Fwiw, this a more far reaching problem. Basically every package which ships a systemd service file and a sysv init script of the same name will run into that if it doesn't enable the systemd service file. Native systemd service files take precedence over sysv init scripts. I tried to analyse the 55 packages we currently ship in systemd. The result is at http://titanpad.com/qcJ193mypd If I counted correctly, there are potentially 38 packages affected by this. I've been discussing with Tollef, to automatically enable native systemd units in postinst upon first installation and possibly also installing a file trigger to keep that updated as a workaround for wheezy. Not sure yet, if I like this idea, I'm just putting it out there. Ideally, packages would do that themselves. Unfortunately, we haven't written a packaging policy yet for shipping native systemd units nor provide helper tools to handle that in a more automated manner. Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature