It still isn't working. I now get an immediate "bad mirror". db_get on mirror/http/mirror is empty, so mirror_root is still null.
Below a debconf trace with the new code (no default) and two debug log statements added by me. Boot in "auto" mode. It clearly shows mirror/http/mirror getting its variable 'mirrors' set, and just as clearly shows the following db_get not returning anything. At the very beginning the same happens for mirror/protocol and that does work, but that still has a default so we just see the preset default being returned. Guess this makes the earlier cloned bug to debconf more severe. Jun 19 09:46:52 debconf: --> SUBST mirror/protocol protocols http, ftp Jun 19 09:46:52 debconf: Adding [protocols] -> [http, ftp] Jun 19 09:46:52 debconf: rfc822db_question_set(db,q=mirror/protocol,q=0x8077058) Jun 19 09:46:52 debconf: <-- 0 Jun 19 09:46:52 debconf: --> INPUT medium mirror/protocol Jun 19 09:46:52 debconf: Comparing priorities medium (1) with critical (3) Jun 19 09:46:52 debconf: <-- 30 question skipped Jun 19 09:46:52 debconf: --> GO Jun 19 09:46:52 debconf: <-- 0 ok Jun 19 09:46:52 debconf: --> GET mirror/protocol Jun 19 09:46:52 debconf: <-- 0 http Jun 19 09:46:52 debconf: --> GO Jun 19 09:46:52 debconf: <-- 0 ok Jun 19 09:46:52 debconf: --> GET mirror/country Jun 19 09:46:52 debconf: <-- 0 Jun 19 09:46:52 debconf: --> GET debian-installer/country Jun 19 09:46:52 debconf: <-- 0 US Jun 19 09:46:52 debconf: --> SET mirror/country US Jun 19 09:46:52 debconf: rfc822db_question_set(db,q=mirror/country,q=0x80528a0) Jun 19 09:46:52 debconf: <-- 0 value set Jun 19 09:46:52 debconf: --> SET mirror/http/countries US Jun 19 09:46:52 debconf: rfc822db_question_set(db,q=mirror/http/countries,q=0x8052300) Jun 19 09:46:52 debconf: <-- 0 value set Jun 19 09:46:52 debconf: --> FGET mirror/country seen Jun 19 09:46:52 debconf: <-- 0 false Jun 19 09:46:52 debconf: --> FSET mirror/http/countries seen false Jun 19 09:46:52 debconf: <-- 0 false Jun 19 09:46:52 debconf: --> INPUT high mirror/http/countries Jun 19 09:46:52 debconf: Comparing priorities high (2) with critical (3) Jun 19 09:46:52 debconf: <-- 30 question skipped Jun 19 09:46:52 debconf: --> GO Jun 19 09:46:52 debconf: <-- 0 ok Jun 19 09:46:52 debconf: --> GET mirror/http/countries Jun 19 09:46:52 debconf: <-- 0 US Jun 19 09:46:52 debconf: --> SET mirror/country US Jun 19 09:46:52 debconf: rfc822db_question_set(db,q=mirror/country,q=0x80528a0) Jun 19 09:46:52 debconf: <-- 0 value set Jun 19 09:46:52 debconf: --> GO Jun 19 09:46:52 debconf: <-- 0 ok Jun 19 09:46:52 debconf: --> GET mirror/country Jun 19 09:46:52 debconf: <-- 0 US Jun 19 09:46:52 debconf: --> SUBST mirror/http/mirror mirrors ftp.us.debian.org, ftp.egr.msu.edu, mirrors.kernel.org, debian.lcs.mit.edu, debian.osuosl.org, debian.crosslink.net, ftp.gtlib.gatech.edu, distro.ibiblio.org, ftp-mirror.internap.com, ftp.c Jun 19 09:46:52 debconf: Adding [mirrors] -> [ftp.us.debian.org, ftp.egr.msu.edu, mirrors.kernel.org, debian.lcs.mit.edu, debian.osuosl.org, debian.crosslink.net, ftp.gtlib.gatech.edu, distro.ibiblio.org, ftp-mirror.internap.com, ftp.cerias.purdue.edu Jun 19 09:46:52 debconf: rfc822db_question_set(db,q=mirror/http/mirror,q=0x8076ed8) Jun 19 09:46:52 debconf: <-- 0 Jun 19 09:46:52 debconf: --> INPUT high mirror/http/mirror Jun 19 09:46:52 debconf: Comparing priorities high (2) with critical (3) Jun 19 09:46:52 debconf: <-- 30 question skipped Jun 19 09:46:52 debconf: --> GO Jun 19 09:46:52 debconf: <-- 0 ok Jun 19 09:46:52 debconf: --> INPUT high mirror/http/proxy Jun 19 09:46:52 debconf: Comparing priorities high (2) with critical (3) Jun 19 09:46:52 debconf: <-- 30 question skipped Jun 19 09:46:52 debconf: --> GO Jun 19 09:46:52 debconf: <-- 0 ok Jun 19 09:46:52 debconf: --> GET mirror/http/proxy Jun 19 09:46:52 debconf: <-- 0 Jun 19 09:46:52 debconf: --> GO Jun 19 09:46:52 debconf: <-- 0 ok Jun 19 09:46:52 debconf: --> GET mirror/http/mirror Jun 19 09:46:52 debconf: <-- 0 Jun 19 09:46:52 choose-mirror[2582]: INFO: mirror: Jun 19 09:46:52 debconf: --> SET mirror/http/hostname Jun 19 09:46:52 debconf: rfc822db_question_set(db,q=mirror/http/hostname,q=0x80523e0) Jun 19 09:46:52 debconf: <-- 0 value set Jun 19 09:46:52 choose-mirror[2582]: INFO: root: (null) Jun 19 09:46:52 debconf: --> INPUT critical mirror/bad Jun 19 09:46:52 debconf: <-- 0 question will be asked Jun 19 09:46:52 debconf: --> GO Jun 19 09:46:54 debconf: <-- 30 backup Jun 19 09:46:54 debconf: --> GET debconf/priority Jun 19 09:46:54 debconf: <-- 0 critical
signature.asc
Description: This is a digitally signed message part.