Bug#257180: marked as done (loses default answer to unseen question if it is fset seen)
Your message dated Mon, 16 May 2005 17:08:35 +0100
with message-id <20050516160834.GA31754@riva.ucam.org>
and subject line Bugs fixed by cdebconf 0.75 and 0.76
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 1 Jul 2004 18:49:25 +0000
>From joey@kitenet.net Thu Jul 01 11:49:25 2004
Return-path: <joey@kitenet.net>
Received: from kitenet.net [64.62.161.42] (postfix)
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1Bg6cf-0004gr-00; Thu, 01 Jul 2004 11:49:25 -0700
Received: from dragon.kitenet.net (unknown [66.168.94.147])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(Client CN "Joey Hess", Issuer "Joey Hess" (verified OK))
by kitenet.net (Postfix) with ESMTP id 3A25518338
for <submit@bugs.debian.org>; Thu, 1 Jul 2004 18:49:35 +0000 (GMT)
Received: by dragon.kitenet.net (Postfix, from userid 1000)
id A4A3C6E917; Thu, 1 Jul 2004 14:49:24 -0400 (EDT)
Date: Thu, 1 Jul 2004 14:49:23 -0400
From: Joey Hess <joeyh@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: loses default answer to unseen question if it is fset seen
Message-ID: <20040701184923.GA16903@kitenet.net>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature"; boundary="NzB8fVQJ5HfG6fxh"
Content-Disposition: inline
X-Reportbug-Version: 2.62
User-Agent: Mutt/1.5.6+20040523i
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level:
--NzB8fVQJ5HfG6fxh
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Package: cdebconf
Version: 0.66
Severity: important
Tags: d-i
hw-detect does the following:
INPUT medium hw-detect/start_pcmcia
GO
FSET hw-detect/start_pcmcia seen true
hw-detect/start_pcmcia is a boolean, with a default value of true. Due
to priority, the input defaults to not showing the question, so the
value is still inherited from the template. After the fset, cdebconf
incorrectly makes the stanza for this question in config.dat have an
empty value, like this:
Name: hw-detect/start_pcmcia
Template: hw-detect/start_pcmcia
Value:=20
Owners: d-i
Flags: seen
This plays havoc with stuff that expects to get a true/false from a
boolean. In this particular example, it utterly breaks pcmcia restarting
in d-i. It's out of spec for a boolean to have a value that is not true
or false.
The correct thing to do in this case is to either copy the Value from
the template, or not put in a Value field when the value is not set, and
inherit from the template still. debconf does the latter, which cdebconf
should do depends on its internal design, I suppose.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.4.26
Locale: LANG=3Den_US, LC_CTYPE=3Den_US
Versions of packages libdebconfclient0-dev depends on:
ii libc6-dev 2.3.2.ds1-13 GNU C Library: Development Lib=
rari
ii libdebconfclient0 0.66 Debian Configuration Managemen=
t Sy
-- no debconf information
--=20
see shy jo
--NzB8fVQJ5HfG6fxh
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFA5Fyyd8HHehbQuO8RAtRRAJ0cRmJ/8xRAwDI/SV6aIDWbc3Q1XACdFkWc
75AUhIdt4KxFizo0DqjmibQ=
=UBdZ
-----END PGP SIGNATURE-----
--NzB8fVQJ5HfG6fxh--
---------------------------------------
Received: (at 257180-done) by bugs.debian.org; 16 May 2005 16:08:38 +0000
>From cjwatson@flatline.org.uk Mon May 16 09:08:38 2005
Return-path: <cjwatson@flatline.org.uk>
Received: from chiark.greenend.org.uk [193.201.200.170] (mail)
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DXi8z-0002Wv-00; Mon, 16 May 2005 09:08:37 -0700
Received: from [192.168.124.112] (helo=riva.lab.dotat.at)
by chiark.greenend.org.uk (Debian Exim 3.35 #1) with esmtp
(return-path cjwatson@flatline.org.uk)
id 1DXi8x-00069o-00; Mon, 16 May 2005 17:08:35 +0100
Received: from cjwatson by riva.lab.dotat.at with local (Exim 3.36 #1 (Debian))
id 1DXi8x-0008Ih-00; Mon, 16 May 2005 17:08:35 +0100
Date: Mon, 16 May 2005 17:08:35 +0100
From: Colin Watson <cjwatson@debian.org>
To: 183541-done@bugs.debian.org, 213266-done@bugs.debian.org,
256557-done@bugs.debian.org, 257180-done@bugs.debian.org,
266898-done@bugs.debian.org, 271707-done@bugs.debian.org,
281395-done@bugs.debian.org
Subject: Bugs fixed by cdebconf 0.75 and 0.76
Message-ID: <20050516160834.GA31754@riva.ucam.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
Delivered-To: 257180-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-2.0 required=4.0 tests=BAYES_00,SORTED_RECIPS
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
X-CrossAssassin-Score: 4
All these bugs were fixed by cdebconf 0.75 and 0.76. cdebconf 0.77 is
now in unstable.
cdebconf (0.76) experimental; urgency=low
NOTE: Not for sarge.
* Colin Watson
- Add draft plugins specification.
- Append '\n' to debug messages automatically when printing to stderr,
so that they aren't needed in every string.
- Tidy up libdebconfclient namespace: rename debconf_commandf to
debconfclient_commandf and make it static. Doesn't seem to affect any
current users, and if it does, they should have been using
debconf->commandf() instead.
- Sync from debconf (closes: #266898):
+ Change the shell confmodule to not construct functions on the fly.
The new code is smaller, a bit faster, and simpler, but the
important thing is that it does not clobber $@. The old version
messed up $@ if parameters contained spaces.
- Add config instances for the standard debconf databases in /target, so
that we can do 'debconf-copydb -p foo/bar configdb target_configdb'
once the base system is installed.
- Remove src/cdebconf.conf-dist on distclean.
- Fix some of the build issues with the corba frontend, although it
still doesn't even remotely build or work.
- Fix compiler warning in slang frontend.
- Allocate choices, choices_translated, defaults, and selected
dynamically in slang frontend, fixing a crash bug.
- Set up slang select/multiselect windows so that the first selected
option is always visible (closes: #183541).
- Improve how titles are displayed in the text frontend: set titles off
with an underline, and only display a title if it's different from the
previous one (closes: #281395).
* Matthias Urlichs:
- Clarify ANS: lines in test.config output.
- Set _cmdline::frontend rather than frontend::default::driver in
response to 'debconf -f <frontend>', fixing that.
-- Colin Watson <cjwatson@debian.org> Thu, 21 Apr 2005 11:19:04 +1000
cdebconf (0.75) experimental; urgency=low
NOTE: Not for sarge.
* Colin Watson
- Add an INFO command, which may (depending on the frontend) display an
out-of-band informative message. Unlike inputting a note, this doesn't
require an acknowledgement from the user. Like PROGRESS INFO,
frontends should display the info persistently until some other info
comes along. In the newt frontend, this appears as text at the top
left-hand corner of the screen; no other frontends implement it yet.
- Fix text frontend segfault when encountering empty elements in Choices
field (closes: #256557).
- Fix memory leaks in METAGET, PROGRESS, and SETTITLE commands.
- Make the text frontend output a blank line before the first title in
go() if it was already displaying a progress bar (closes: #271707).
- If possible, clean source directory in 'debian/rules clean' so that
test builds don't make it into source packages.
- cdebconf-udeb provides debconf-2.0.
- Enable stack driver.
- Move answers to password questions out of
/var/lib/cdebconf/questions.dat to /var/lib/cdebconf/passwords.dat.
- Some const-correctness improvements.
- Add iterate methods to rfc822db, making debconf-copydb and
debconf-dumpdb work (closes: #213266). This uses a horrible
non-thread-safe technique involving building a temporary list with a
pointer to each node in order, which will of course use a fair amount
of memory, because the twalk() interface doesn't allow for anything
better. If we ever switch to a completely different cache mechanism,
this can go away.
- Fix option parsing in debconf-copydb, debconf-dumpdb, and
dpkg-reconfigure.
- Implement -p/--pattern option in debconf-copydb and debconf-dumpdb.
Note that, unlike Perl debconf, this takes an extended regular
expression rather than a Perl regular expression, but it should be
close enough for most uses.
- Make --without-syslog-logging (a) work and (b) be the default. (The
udeb build still uses syslog logging.)
* Joey Hess
- Apply patch from Denis to fix rfc822db to not output empty Value fields
if the value is not set. Closes: #257180
- Patch from mdz to support the DATA command, as used by the (perl)
debconf passthrough frontend (as patched by mdz to work as of debconf
1.4.42). This allows dpkg-reconfigure inside the chroot to communicate
with the user using the existing cdebconf d-i frontend.
* Matthias Urlichs
- Check for newtInit() in configure, and build the newt frontend if
found.
-- Colin Watson <cjwatson@debian.org> Tue, 19 Apr 2005 09:38:37 +1000
Cheers,
--
Colin Watson [cjwatson@debian.org]
Reply to: