fixunix
Tags Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read

Bug#486892: different behavior from debconf when noninteractively asking a select question with a default not in the select list - Debian

This is a discussion on Bug#486892: different behavior from debconf when noninteractively asking a select question with a default not in the select list - Debian ; This bug is even more severe than it first looked. The Choices list is completely ignored by cdebconf when a db_get is done immediately after a db_subst that sets a variable used in Choices (or with a db_input in between ...


Fix Unix > Linux > Debian > Bug#486892: different behavior from debconf when noninteractively asking a select question with a default not in the select list

Reply
 
LinkBack Tools
  #1  
Old 06-19-2008, 08:30 AM
Junior Member
 
Join Date: Sep 2009
Posts: 0
Default Bug#486892: different behavior from debconf when noninteractively asking a select question with a default not in the select list

This bug is even more severe than it first looked. The Choices list is
completely ignored by cdebconf when a db_get is done immediately after a
db_subst that sets a variable used in Choices (or with a db_input in
between that gets skipped because of priority).

From a trace in #486558:

debconf: --> SUBST mirror/http/mirror mirrors ftp.us.debian.org, ftp.egr.msu.edu, [...]
debconf: Adding [mirrors] -> [ftp.us.debian.org, ftp.egr.msu.edu, mirrors.kernel.org, [...]
debconf: rfc822db_question_set(db,q=mirror/http/mirror,q=0x8076ed8)
debconf: <-- 0
debconf: --> INPUT high mirror/http/mirror
debconf: Comparing priorities high (2) with critical (3)
debconf: <-- 30 question skipped
debconf: --> GO
debconf: <-- 0 ok
[...]
debconf: --> GET mirror/http/mirror
debconf: <-- 0

I tried if displaying the question but not confirming an answer (by
backing up when the question is displayed) helped, but that does not
change anything.

From template.dat:
Name: mirror/http/mirror
Type: select
Choices: ${mirrors}
Description: [...]

From questions.dat:
Name: mirror/http/mirror
Template: mirror/http/mirror
Owners: d-i
Variables:
mirrors = ftp.us.debian.org, [...]



--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply With Quote
Reply

Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bug#247744: marked as done (diverges from debconf for select questions that are asked and not displayed) unix Debian 0 07-16-2008 04:00 PM
Will SA_RESTART affect behavior of select(2) ? unix Unix 9 05-26-2008 12:52 PM
Behavior of select() unix Unix 3 04-12-2008 11:49 AM
[RFC] Support column alignment in (multi)select debconf questions unix Debian 10 10-17-2007 06:00 PM
Select system call behavior with pipes unix HP UX 0 10-07-2007 03:08 PM


All times are GMT. The time now is 10:08 AM.