Modestas Vainius wrote: > But if something does wrong, debconf might block indefinitely. For example, > if > old version of debconf-kde-helper did not know anything about pipes, they > would stay open until the process terminates and would hang debconf as a > result. To be precise, I want to implement this ping-pong in > Debconf::FrontEnd::Kde::init() with timeout of 15 seconds so if something > goes > wrong and there is no answer from the helper in that period of time, debconf > would still fallback to Dialog frontend. I could get away without this but > fault tolerance would not be that good then IMHO. ping command would be > pretty > cheap and trivial way, wouldn't it?
Sounds like you could just send X_PING and this would not need to be in the main protocol at all. -- see shy jo
signature.asc
Description: Digital signature