[Debconf-devel] Bug#631769: Bug#631769: New Kde frontend based on debconf-kde-helper

Modestas Vainius modax at debian.org
Tue Jun 28 18:21:29 UTC 2011


Hello,

On antradienis 28 Birželis 2011 20:13:21 Joey Hess wrote:
> 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.

Yeah. Quoting my original mail:

> However, I'm wondering what name of the ping command should be: PING or
> maybe X_PING? Please note that this command does not have to be a proper
> debconf protocol command. It may be Passthrough-only and not so widely
> documented on the same level as DATA command is. What do you think?

So I will use X_PING as name. Thanks.


-- 
Modestas Vainius <modax at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/debconf-devel/attachments/20110628/40aed853/attachment.pgp>


More information about the Debconf-devel mailing list