* Pierre Chifflier <[EMAIL PROTECTED]> [20080313 12:00]: > On Wed, Feb 27, 2008 at 11:13:08PM +0100, Michael Prokop wrote:
> > I'm bootstrapping a system based on FAI, when nufw is being > > installed it just fails with "subprocess post-installation script > > returned error exit status 10". When running with 'set -x' in > > /var/lib/dpkg/info/nufw.postinst I get: > I do not have the same problem here. Here is an example of a completely > automatic installation I have tested: > piche:~# debconf-get-selections | grep make-ssl > piche:~# apt-get install ssl-cert > .. > piche:~# debconf-get-selections | grep make-ssl > ssl-cert make-ssl-cert/hostname string localhost > piche:~# cat selections.nufw > # debconf-get-selections | grep make-ssl > ssl-cert make-ssl-cert/ouname string Certificates > ssl-cert make-ssl-cert/hostname string localhost > ssl-cert make-ssl-cert/organisationname string INL > ssl-cert make-ssl-cert/statename string France > ssl-cert make-ssl-cert/localityname string Paris > ssl-cert make-ssl-cert/countryname string FR > ssl-cert make-ssl-cert/email string [EMAIL PROTECTED] > piche:~# debconf-set-selections selections.nufw > piche:~# apt-get install nufw > [no question] > Unpacking nufw (from .../nufw_2.2.11-2_amd64.deb) ... > Setting up nufw (2.2.11-2) ... > Starting nufw: nufw. > piche:~# debconf-get-selections | grep make-ssl > ssl-cert make-ssl-cert/ouname string Certificates > ssl-cert make-ssl-cert/hostname string localhost > ssl-cert make-ssl-cert/organisationname string INL > ssl-cert make-ssl-cert/statename string France > ssl-cert make-ssl-cert/localityname string Paris > ssl-cert make-ssl-cert/countryname string FR > ssl-cert make-ssl-cert/email string [EMAIL PROTECTED] Yeah, on an "existing" system I couldn't notice/reproduce the problem as well so gar. I guess it might have something to do either with some debconf settings or with the stage of bootstrapping. Can you help me in finding out where the value for example of "make-ssl-cert/countryname" comes from? Cause it looks like the "db_input high make-ssl-cert/$i || true" is never being executed in the postinst script on my FAI setup. thx && regards, -mika-
signature.asc
Description: Digital signature