xorg server should wait HAL if it's not avail during init

Tino Keitel tino.keitel+xorg at tikei.de
Tue Jan 20 11:38:30 PST 2009


On Tue, Jan 20, 2009 at 17:54:20 +0100, Rémi Cardona wrote:

[...]

> hald already has a pipe set up between the launcher process and the 
> daemon process. The launcher process exits when it receives a "message" 
> on the pipe from the daemon. Maybe that message could be delayed until 
> HAL is _really_ up and running.

If I got this right, this implies that HAL still detaches from the
terminal after startup, which is a bad design for a init system wich
tries to implement service dependencies (you loose controll over the
service if it detaches from the controlling terminal).  However, the
init system I use (runit) has the concept of a service specific check
script.  The service is reported as fully started if this check script
returns success.  After this, all other services that wait for this
service can be started.  So this is similar to that message to the
launching process, in a more application independent way.

Regards,
Tino




More information about the xorg mailing list