[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to preseed install via pppoe (for A-DSL)?



On Wed, Nov 28, 2007 at 02:01:31AM +0200, Eddy Petrișor wrote:

> Did you try a regular image without any preseeding?

I could now test regular images.  And they both (debian-40r1 and
ubuntu-7.10 alternate) work as expected.

> There is the possiblity to set the debugging level of debconf to
> DEBCONF_DEBUG=5 (in debconf-devel the value is a string, but in D-I
> is a number) by passing DEBCONF_DEBUG=5 to the kernel command line.
> The syslog should be more verbose this time.

Ideed, it is:

[ ... ]
Nov 28 17:06:28 debconf: --> INPUT high ppp/password
Nov 28 17:06:28 debconf: <-- 0 question will be asked
Nov 28 17:06:28 debconf: --> GO
Nov 28 17:06:34 debconf: <-- 0 ok
Nov 28 17:06:34 debconf: --> GET ppp/password
Nov 28 17:06:34 debconf: <-- 0 xxxxxxxxxxxxx
Nov 28 17:06:34 debconf: --> UNREGISTER ppp/password
Nov 28 17:06:34 debconf: <-- 0
Nov 28 17:06:34 debconf: --> UNREGISTER ppp/username
Nov 28 17:06:34 debconf: <-- 0
Nov 28 17:06:34 debconf: --> INPUT high netcfg/get_hostname
Nov 28 17:06:34 debconf: <-- 30 question skipped
Nov 28 17:06:34 main-menu[2964]: (process:13076): Terminated 
Nov 28 17:06:34 main-menu[2964]: (process:13076): Terminated 
Nov 28 17:06:34 main-menu[2964]: WARNING **: Configuring 'ppp-udeb' failed with error code 30 

Well, here's the reason why postinst returns error code 30.  According to
debconf-devel(7),  error code 30 from "dh_input high netcfg/get_hostname"
means that debconf will not present the question to the user.  There's no
reason to present the question, because it is preseeded and the answer is
already known.  But there's no explicit exit in the postinst, so why does
postinst exit here? Is confmodule terminating the postinst script?



Reply to: