Package: ppp-udeb
Version: ppp_2.4.4rel-9

ppp-udeb fails when the hostname is preseeded.

The problem is that debconf's db_input returns error code 30 when the
asked value is preseeded.  ppp-udeb.postinst bails out on this.

Please check out the thread staring with
http://lists.debian.org/debian-boot/2007/11/thrd2.html#00625
for the gory details.

In this thread, Eddy Petrisor suggested a patch (attached below) which
turned out to solve the problem.

diff -ruw ppp-2.4.4rel.orig/debian/ppp-udeb.postinst 
ppp-2.4.4rel/debian/ppp-udeb.postinst
--- ppp-2.4.4rel.orig/debian/ppp-udeb.postinst  2007-11-29 15:56:19.000000000 
+0100
+++ ppp-2.4.4rel/debian/ppp-udeb.postinst       2007-11-29 21:52:41.000000000 
+0100
@@ -169,7 +169,7 @@

 # Ask for the hostname to use for the system (using the netcfg template!)
 while true; do
-       db_input high netcfg/get_hostname
+       db_input high netcfg/get_hostname || [ $? -eq 30 ]
        db_go || exit 10
        db_get netcfg/get_hostname
        HOSTNAME="$RET"



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

Reply via email to