[Pkg-utopia-maintainers] Moving dbus / avahi earlier in the boot process

Michael Biebl biebl at debian.org
Wed Jan 16 13:15:39 UTC 2008


Loïc Minier wrote:
>         Heya!
> 
>  We have a discussion with sjoerd on moving dbus / avahi earlier in the
>  boot process, before 20 is the goal and naturally avahi should be
>  started after dbus.  The idea originates from changes done in Ubuntu to
>  allow cupsys (started at 20) to see mdns printers.
>     <https://launchpad.net/bugs/173470>
> 
>  Naturally, it would be best if services wouldn't rely on the startup
>  order to offer this or that functionality, but since cupsys uses
>  libdnssd, I understood there's no easy async interface to get info when
>  avahi starts up.  (This interface might not be the ideal one, and it is
>  probably possible to poll it to get similar results, but I'm not sure
>  cupsys upstream's would want that, and this requires extra work.)
> 
>  Also, more and more services are relying on dbus and to some extend on
>  avahi; dbus effectively became some piece of "system infrastructure",
>  just like networking (IMO).
> 
>  Furthermore, we should aim for a purely dependency based init sequence;
>  this is being addressed in many different ways, but the current method
>  still has to be supported and the numbering of init scripts should
>  reflect in which order they have to be started.
> 
> 
>  Would you mind if I start moving dbus earlier in the boot sequence, and
>  later on avahi?  Ubuntu picked and tested dbus at level 12 and avahi at
>  level 18, so these are the levels I would be targetting.  I'd also add
>  a conflict between early avahi and late dbus.
> 
>  Sjoerd gave me is ok on the above (which is a summary of our
>  discussion), but you have of course the final say -- sjoerd classified
>  you "local init script magician"!  :)

I had discussed this with sjoerd some time ago and my initial thought 
was, that it should be the cupsys package, that should be adapted (to 
start at S26 e.g).
If we start to shuffle around dbus' initscripts, it would probably also 
make sense to change the stop level, something like S10 and K90. This 
would also allow to stop NetworkManager later during shutdown.
So, before we go on with this, I think we need a clear strategy what we 
want to achieve and what not.

I CCed the pkg-utopia m-l to (hopefully) get more feedback.

Cheers,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20080116/b7e1384a/attachment.pgp 


More information about the Pkg-utopia-maintainers mailing list