* Michael Prokop <[EMAIL PROTECTED]> [080227 12:32]:
> it just hangs at the first ucf line:
> 
>   ucf /tmp/tmp.CaRdqK2653 /etc/powerdns/pdns.conf
> 
> When executing the same ucf command line *manually* it works fine,
> though inside the postinst script it reproducably just hangs.

The reason for this seams to be that pdns-server is calling db_stop
before calling ucf. Thus when ucf tries to contact debconf, it gets
no answer. (as it just calls confmodule which does not restart debconf
as all the environment variables are already there).

I don't know whether this is a bug in debconf (for db_stop not clearing
what confmodule looks at for determining what whether to start debconf)
in ucf (for not working around that or for using debconf)
and/or (most likely) in pdns-server (for calling db_stop before calling ucf).

> When I'm downgrading to ucf 3.004 from
> http://snapshot.debian.net/archive/2007/12/01/debian/pool/main/u/ucf/ucf_3.004_all.deb
> it just works fine in the postinst script as well,
> as it did before.

The reason the old version works seems to be that that is using
debconf-loadtemplate instead of dh_x_loadtemplate, thus not noticing
debconf is not responding in this case.

If that analysis is true, then even with the old ucf pdns-server's postinst 
should
hang when trying to ask a question, i.e. if the file changed.

Thus I'm suggesting to reassign this to pdns-server.

Hochachtungsvoll,
        Bernhard R. Link



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to