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

Loïc Minier lool at dooz.org
Wed Jan 16 14:22:45 UTC 2008


On Wed, Jan 16, 2008, Michael Biebl wrote:
> 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).

 I can agree that this is a way to fix it; however, I think it makes
 sense to do it the other way around as:
 - dbus (and avahi to some extent) is now some expected piece of system
   infrastructure; just an IPC mechanism that is required by more and
   more programs to be up, just like networking
 - the default update-rc.d level is 20
 - it represents well the fact that dbus has to be started before
   actual services

> 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.

 Indeed; good point

> So, before we go on with this, I think we need a clear strategy what we  
> want to achieve and what not.

 I think it makes sense to have the central pieces have a special
 configuration (dbus moving from the default level to an early level)
 instead of all rdependencies have a special configuration (start in a
 special level after dbus).  Or do you ask about a patch exposing how to
 the actual shuffling, updating symlinks etc.?

 The dbus init deps are quite limited (local_fs and syslog), so I think
 it's not too risky to move it earlier, but perhaps there are risks I
 don't see.

-- 
Loïc Minier



More information about the Pkg-utopia-maintainers mailing list