linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* About udev rule removal
@ 2012-06-29 20:23 Pacho Ramos
  2012-06-30 18:15 ` Pacho Ramos
  0 siblings, 1 reply; 4+ messages in thread
From: Pacho Ramos @ 2012-06-29 20:23 UTC (permalink / raw)
  To: BlueZ development

[-- Attachment #1: Type: text/plain, Size: 431 bytes --]

I would like to know what distributions not relying on systemd are
supposed to get bluetoothd autostarted now that udev rule was dropped:
http://git.kernel.org/?p=bluetooth/bluez.git;a=commit;h=2ea98a6a043710ad4958355b62c682b4767f292e

Looks like we go back from udev rule to manually starting bluetoothd all
the time, even if bluetooth device is not connected? Why are we going
back to old behavior?

Thanks for the info

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: About udev rule removal
  2012-06-29 20:23 About udev rule removal Pacho Ramos
@ 2012-06-30 18:15 ` Pacho Ramos
  2012-07-03 13:21   ` Lucas De Marchi
  0 siblings, 1 reply; 4+ messages in thread
From: Pacho Ramos @ 2012-06-30 18:15 UTC (permalink / raw)
  To: BlueZ development

[-- Attachment #1: Type: text/plain, Size: 694 bytes --]

El vie, 29-06-2012 a las 22:23 +0200, Pacho Ramos escribió:
> I would like to know what distributions not relying on systemd are
> supposed to get bluetoothd autostarted now that udev rule was dropped:
> http://git.kernel.org/?p=bluetooth/bluez.git;a=commit;h=2ea98a6a043710ad4958355b62c682b4767f292e
> 
> Looks like we go back from udev rule to manually starting bluetoothd all
> the time, even if bluetooth device is not connected? Why are we going
> back to old behavior?
> 
> Thanks for the info

Should we revert that change downstream if we are not going to rely on
systemd and until udev is changed to break that setup (forcing us to go
to old "always running" behavior)?

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: About udev rule removal
  2012-06-30 18:15 ` Pacho Ramos
@ 2012-07-03 13:21   ` Lucas De Marchi
  2012-07-06 18:36     ` Pacho Ramos
  0 siblings, 1 reply; 4+ messages in thread
From: Lucas De Marchi @ 2012-07-03 13:21 UTC (permalink / raw)
  To: Pacho Ramos; +Cc: BlueZ development

On Sat, Jun 30, 2012 at 3:15 PM, Pacho Ramos <pacho@gentoo.org> wrote:
> El vie, 29-06-2012 a las 22:23 +0200, Pacho Ramos escribió:
>> I would like to know what distributions not relying on systemd are
>> supposed to get bluetoothd autostarted now that udev rule was dropped:
>> http://git.kernel.org/?p=bluetooth/bluez.git;a=commit;h=2ea98a6a043710ad4958355b62c682b4767f292e
>>
>> Looks like we go back from udev rule to manually starting bluetoothd all
>> the time, even if bluetooth device is not connected? Why are we going
>> back to old behavior?
>>
>> Thanks for the info
>
> Should we revert that change downstream if we are not going to rely on
> systemd and until udev is changed to break that setup (forcing us to go
> to old "always running" behavior)?

Udev rules are not supposed to spawn daemons. It never was. And now if
you do that udev will kill your daemon after a certain timeout. You'd
need to a) maintain that rule by yourself and b) patch udev to not do
that.


Lucas De Marchi

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: About udev rule removal
  2012-07-03 13:21   ` Lucas De Marchi
@ 2012-07-06 18:36     ` Pacho Ramos
  0 siblings, 0 replies; 4+ messages in thread
From: Pacho Ramos @ 2012-07-06 18:36 UTC (permalink / raw)
  To: BlueZ development

[-- Attachment #1: Type: text/plain, Size: 1235 bytes --]

El mar, 03-07-2012 a las 10:21 -0300, Lucas De Marchi escribió:
> On Sat, Jun 30, 2012 at 3:15 PM, Pacho Ramos <pacho@gentoo.org> wrote:
> > El vie, 29-06-2012 a las 22:23 +0200, Pacho Ramos escribió:
> >> I would like to know what distributions not relying on systemd are
> >> supposed to get bluetoothd autostarted now that udev rule was dropped:
> >> http://git.kernel.org/?p=bluetooth/bluez.git;a=commit;h=2ea98a6a043710ad4958355b62c682b4767f292e
> >>
> >> Looks like we go back from udev rule to manually starting bluetoothd all
> >> the time, even if bluetooth device is not connected? Why are we going
> >> back to old behavior?
> >>
> >> Thanks for the info
> >
> > Should we revert that change downstream if we are not going to rely on
> > systemd and until udev is changed to break that setup (forcing us to go
> > to old "always running" behavior)?
> 
> Udev rules are not supposed to spawn daemons. It never was. And now if
> you do that udev will kill your daemon after a certain timeout. You'd
> need to a) maintain that rule by yourself and b) patch udev to not do
> that.
> 
> 
> Lucas De Marchi
> 

Will go with the old way of starting it with an init.d script then.
Thanks for the info.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-07-06 18:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-29 20:23 About udev rule removal Pacho Ramos
2012-06-30 18:15 ` Pacho Ramos
2012-07-03 13:21   ` Lucas De Marchi
2012-07-06 18:36     ` Pacho Ramos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).