retitle 530395 dbus init script should make reimplement a dependency based init
thanks

Ralph Ulrich wrote:
> Package: dbus
> Version: 1.2.14-2
> Severity: minor
> 
> 
> This is ugly:
> 
> Every start of "/etc/init.d/dbus" does:
> ---
>      services=$(grep -s -l "^# Required-Start:.*dbus" /etc/rc${r}.d/S??*
> .
> .
> .
>   for i in $services ; do
>      service=$(basename $i)
>      service=${service#S??}
>      invoke-rc.d $service $action || true
>    done
> ---
> 
> what is exactly what insserv does! If we want a fast boot we should not 

No it isn't really.
insserv can only statically calculate start up priorities upon installation. It
doesn't handle dependencies during runtime, which is what we need here.
We want to restart all services dependending on D-Bus whenever dbus-daemon is
restarted. That is not doable within insserv (or our sysv-rc for that matter).

The only real solution whould be to switch to a really dynamic, dependency based
system or an event based one, like upstart.

Until that happens, there is unfortunately no better solution.

Michael


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

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to