After installer has run many debconf questions are not seeded

Bug #8526 reported by Debian Bug Importer
22
Affects Status Importance Assigned to Milestone
debconf (Debian)
Fix Released
Unknown
debconf (Ubuntu)
Fix Released
High
Colin Watson
debconf (Unity Linux)
Invalid
Undecided
Unassigned

Bug Description

Automatically imported from Debian bug report #238301 http://bugs.debian.org/238301

Revision history for this message
In , Joey Hess (joeyh) wrote : Re: Bug#238301: After installer has run many debconf questions are not seeded

Mark Brown wrote:
> During the installer run many packages (for example, setserial) appear
> to get installed without their debconf configuration scripts being run.
> This means that when the packages get upgraded they prompt for
> configuration.

Incorrect, they are installed in the normal way but with the
noninteractive debconf frontend. The config scripts run. Any package
that behaves as you describe when installed this way is broken; this is
doubly true for packages in the base system which have all been
installed in this way since before the release of woody.

Please clone and/or reassign this bug to the broken packages.

--
see shy jo

Revision history for this message
In , Mark Brown (broonie) wrote :

On Tue, Mar 16, 2004 at 01:14:19PM -0500, Joey Hess wrote:
> Mark Brown wrote:

> > During the installer run many packages (for example, setserial) appear
> > to get installed without their debconf configuration scripts being run.
> > This means that when the packages get upgraded they prompt for
> > configuration.

> Incorrect, they are installed in the normal way but with the
> noninteractive debconf frontend. The config scripts run. Any package
> that behaves as you describe when installed this way is broken; this is

It seems to be happening an awful lot - I'd suggest including some kind
of automated reinstall of all the packages in the testing of the
installer (next time I do an install I'll probably give this a whirl).

--
"You grabbed my hand and we fell into it, like a daydream - or a fever."

Revision history for this message
In , Mark Brown (broonie) wrote :

clone 238301 -1
reassign -1 setserial
thanks

On Tue, Mar 16, 2004 at 01:14:19PM -0500, Joey Hess wrote:
> Mark Brown wrote:
> > During the installer run many packages (for example, setserial) appear
> > to get installed without their debconf configuration scripts being run.
> > This means that when the packages get upgraded they prompt for
> > configuration.

> Incorrect, they are installed in the normal way but with the
> noninteractive debconf frontend. The config scripts run. Any package
> that behaves as you describe when installed this way is broken; this is

setserial is one of the packages I remember doing this to me on upgrade
- it prompted me for autosave-types.

--
"You grabbed my hand and we fell into it, like a daydream - or a fever."

Revision history for this message
In , Joey Hess (joeyh) wrote :

Mark Brown wrote:
> On Tue, Mar 16, 2004 at 01:14:19PM -0500, Joey Hess wrote:
> > Mark Brown wrote:
>
> > > During the installer run many packages (for example, setserial) appear
> > > to get installed without their debconf configuration scripts being run.
> > > This means that when the packages get upgraded they prompt for
> > > configuration.
>
> > Incorrect, they are installed in the normal way but with the
> > noninteractive debconf frontend. The config scripts run. Any package
> > that behaves as you describe when installed this way is broken; this is
>
> It seems to be happening an awful lot - I'd suggest including some kind
> of automated reinstall of all the packages in the testing of the
> installer (next time I do an install I'll probably give this a whirl).

I can't imagine how it could happen at all without some great care being
taken to make debconf behave in a way it truely does not want to, or a
debconf behavior I am not anticipating. Can you provide an example of a
debconf database before the upgrade, plus the upgrade with
DEBCONF_DEBUG='.*' ?

--
see shy jo

Revision history for this message
In , Mark Brown (broonie) wrote :

On Tue, Mar 16, 2004 at 10:56:22PM -0500, Joey Hess wrote:

> I can't imagine how it could happen at all without some great care being
> taken to make debconf behave in a way it truely does not want to, or a
> debconf behavior I am not anticipating. Can you provide an example of a
> debconf database before the upgrade, plus the upgrade with
> DEBCONF_DEBUG='.*' ?

I'll try to find another machine to do an install on but I don't know
when that'll be.

--
"You grabbed my hand and we fell into it, like a daydream - or a fever."

Revision history for this message
In , Joey Hess (joeyh) wrote : tagging 238301

# Automatically generated email from bts, devscripts version 2.7.95.1
tags 238301 moreinfo

Revision history for this message
In , Mark Brown (broonie) wrote : Re: Bug#238301: After installer has run many debconf questions are not seeded

On Tue, Mar 16, 2004 at 10:56:22PM -0500, Joey Hess wrote:
> Mark Brown wrote:

> > It seems to be happening an awful lot - I'd suggest including some kind
> > of automated reinstall of all the packages in the testing of the
> > installer (next time I do an install I'll probably give this a whirl).

> I can't imagine how it could happen at all without some great care being
> taken to make debconf behave in a way it truely does not want to, or a
> debconf behavior I am not anticipating. Can you provide an example of a
> debconf database before the upgrade, plus the upgrade with
> DEBCONF_DEBUG='.*' ?

I've found some more instances of this problem. I managed to catch a
diff of the config files before and after the upgrade, though I didn't
remember to rerun the upgrade or cache the entire database:

--- config.dat-old 2004-07-23 20:09:40.000000000 +0100
+++ config.dat 2004-07-25 21:43:15.207208392 +0100
@@ -3,6 +3,12 @@
 Value: true
 Owners: adduser

+Name: alsa-base/alsactl_store_on_shutdown
+Template: alsa-base/alsactl_store_on_shutdown
+Value: autosave always
+Owners: alsa-base
+Flags: seen
+
 Name: anacron/jobs_in_crontab
 Template: anacron/jobs_in_crontab
 Owners: anacron
@@ -1060,11 +1066,13 @@
 Template: debconf/frontend
 Value: Dialog
 Owners: debconf
+Flags: seen

 Name: debconf/priority
 Template: debconf/priority
-Value: medium
+Value: low
 Owners: d-i, debconf
+Flags: seen

 Name: debian-installer/country
 Template: debian-installer/country
@@ -1085,6 +1093,7 @@
 Template: debsums/apt-autogen
 Value: true
 Owners: debsums
+Flags: seen

 Name: dictionaries-common/default-ispell
 Template: dictionaries-common/default-ispell
@@ -1423,6 +1432,7 @@
 Template: mozilla/locale_auto
 Value: true
 Owners: mozilla-browser
+Flags: seen

 Name: mozilla/prefs_note
 Template: mozilla/prefs_note

--
"You grabbed my hand and we fell into it, like a daydream - or a fever."

Revision history for this message
In , Joey Hess (joeyh) wrote :

Mark Brown wrote:
> I've found some more instances of this problem. I managed to catch a
> diff of the config files before and after the upgrade, though I didn't
> remember to rerun the upgrade or cache the entire database:

Now I understand. This is because debootstrap installs packages using
the noninteractive frontend which does not set questions to seen as the
user has indeed not seen them. It's true that this could lead to some
questions that have already set and presumably working values being asked
on upgrade.

I don't know of a good way to avoid this at this time; debconf's
handling of the seen flag for the noninteractive frontend is basically
correct; debootstrap's use of the noninteractive frontend is correct,
and there's no way d-i can go back after the fact and mark questions as
seen.

--
see shy jo

Revision history for this message
In , Mark Brown (broonie) wrote :

On Thu, Jul 29, 2004 at 02:32:58PM -0400, Joey Hess wrote:

> I don't know of a good way to avoid this at this time; debconf's
> handling of the seen flag for the noninteractive frontend is basically
> correct; debootstrap's use of the noninteractive frontend is correct,
> and there's no way d-i can go back after the fact and mark questions as
> seen.

Perhaps it would help if when changing an option that would change what
you see Debconf should offer to rerun config scripts so that being
prompted for unseen options happens then (when you know why) rather than
randomly later? It's pretty gross but it's fairly non-invasive and I
guess some people might find it useful.

--
"You grabbed my hand and we fell into it, like a daydream - or a fever."

Revision history for this message
In , Mark Brown (broonie) wrote :

tag 238301 - moreinfo
reassign 238390 debconf
merge 238301 238390

Revision history for this message
In , Mark Brown (broonie) wrote :

reassign 238390 debian-installer
merge 238301 238390

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #238301 http://bugs.debian.org/238301

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Tue, 16 Mar 2004 11:20:53 +0000
From: Mark Brown <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: After installer has run many debconf questions are not seeded

Package: debian-installer
Version: As of 20040412
Severity: normal

During the installer run many packages (for example, setserial) appear
to get installed without their debconf configuration scripts being run.
This means that when the packages get upgraded they prompt for
configuration.

While this is probably mostly OK for a stable release since upgrades are
infrequent I can see this creating problems with security updates and
point releases as well which is probably undesirable.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: powerpc (ppc)
Kernel: Linux 2.4.22-powerpc
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Tue, 16 Mar 2004 13:14:19 -0500
From: Joey Hess <email address hidden>
To: Mark Brown <email address hidden>, <email address hidden>
Subject: Re: Bug#238301: After installer has run many debconf questions are not seeded

--MfFXiAuoTsnnDAfZ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Mark Brown wrote:
> During the installer run many packages (for example, setserial) appear
> to get installed without their debconf configuration scripts being run.
> This means that when the packages get upgraded they prompt for
> configuration.

Incorrect, they are installed in the normal way but with the
noninteractive debconf frontend. The config scripts run. Any package
that behaves as you describe when installed this way is broken; this is
doubly true for packages in the base system which have all been
installed in this way since before the release of woody.

Please clone and/or reassign this bug to the broken packages.

--=20
see shy jo

--MfFXiAuoTsnnDAfZ
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)

iD8DBQFAV0P7d8HHehbQuO8RAs3AAKC5aVj2n4d8n9XM/l0gVCLAvvYHmgCdE0Rs
LHbawr8qeJGtuwVA6EISOUU=
=Du8P
-----END PGP SIGNATURE-----

--MfFXiAuoTsnnDAfZ--

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Tue, 16 Mar 2004 20:38:26 +0000
From: Mark Brown <email address hidden>
To: <email address hidden>
Subject: Re: Bug#238301: After installer has run many debconf questions are not seeded

On Tue, Mar 16, 2004 at 01:14:19PM -0500, Joey Hess wrote:
> Mark Brown wrote:

> > During the installer run many packages (for example, setserial) appear
> > to get installed without their debconf configuration scripts being run.
> > This means that when the packages get upgraded they prompt for
> > configuration.

> Incorrect, they are installed in the normal way but with the
> noninteractive debconf frontend. The config scripts run. Any package
> that behaves as you describe when installed this way is broken; this is

It seems to be happening an awful lot - I'd suggest including some kind
of automated reinstall of all the packages in the testing of the
installer (next time I do an install I'll probably give this a whirl).

--
"You grabbed my hand and we fell into it, like a daydream - or a fever."

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Tue, 16 Mar 2004 20:40:14 +0000
From: Mark Brown <email address hidden>
To: <email address hidden>, <email address hidden>
Subject: Re: Bug#238301: After installer has run many debconf questions are not seeded

clone 238301 -1
reassign -1 setserial
thanks

On Tue, Mar 16, 2004 at 01:14:19PM -0500, Joey Hess wrote:
> Mark Brown wrote:
> > During the installer run many packages (for example, setserial) appear
> > to get installed without their debconf configuration scripts being run.
> > This means that when the packages get upgraded they prompt for
> > configuration.

> Incorrect, they are installed in the normal way but with the
> noninteractive debconf frontend. The config scripts run. Any package
> that behaves as you describe when installed this way is broken; this is

setserial is one of the packages I remember doing this to me on upgrade
- it prompted me for autosave-types.

--
"You grabbed my hand and we fell into it, like a daydream - or a fever."

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Tue, 16 Mar 2004 22:56:22 -0500
From: Joey Hess <email address hidden>
To: Mark Brown <email address hidden>, <email address hidden>
Subject: Re: Bug#238301: After installer has run many debconf questions are not seeded

--H4SyuGOnfnj3aJqJ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Mark Brown wrote:
> On Tue, Mar 16, 2004 at 01:14:19PM -0500, Joey Hess wrote:
> > Mark Brown wrote:
>=20
> > > During the installer run many packages (for example, setserial) appear
> > > to get installed without their debconf configuration scripts being ru=
n.
> > > This means that when the packages get upgraded they prompt for
> > > configuration.
>=20
> > Incorrect, they are installed in the normal way but with the
> > noninteractive debconf frontend. The config scripts run. Any package
> > that behaves as you describe when installed this way is broken; this is
>=20
> It seems to be happening an awful lot - I'd suggest including some kind
> of automated reinstall of all the packages in the testing of the
> installer (next time I do an install I'll probably give this a whirl).

I can't imagine how it could happen at all without some great care being
taken to make debconf behave in a way it truely does not want to, or a
debconf behavior I am not anticipating. Can you provide an example of a
debconf database before the upgrade, plus the upgrade with
DEBCONF_DEBUG=3D'.*' ?

--=20
see shy jo

--H4SyuGOnfnj3aJqJ
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)

iD8DBQFAV8xld8HHehbQuO8RAq35AJ9r6Eu4aYVtuvLe7Ze/hnM97SkACgCeNzSE
vSy8i8klwvzglfTm3rbrRMI=
=a9it
-----END PGP SIGNATURE-----

--H4SyuGOnfnj3aJqJ--

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Wed, 17 Mar 2004 09:30:32 +0000
From: Mark Brown <email address hidden>
To: <email address hidden>
Subject: Re: Bug#238301: After installer has run many debconf questions are not seeded

On Tue, Mar 16, 2004 at 10:56:22PM -0500, Joey Hess wrote:

> I can't imagine how it could happen at all without some great care being
> taken to make debconf behave in a way it truely does not want to, or a
> debconf behavior I am not anticipating. Can you provide an example of a
> debconf database before the upgrade, plus the upgrade with
> DEBCONF_DEBUG='.*' ?

I'll try to find another machine to do an install on but I don't know
when that'll be.

--
"You grabbed my hand and we fell into it, like a daydream - or a fever."

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Fri, 11 Jun 2004 15:05:20 -0400
From: Joey Hess <email address hidden>
To: <email address hidden>
Subject: tagging 238301

# Automatically generated email from bts, devscripts version 2.7.95.1
tags 238301 moreinfo

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sun, 25 Jul 2004 21:55:03 +0100
From: Mark Brown <email address hidden>
To: Joey Hess <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#238301: After installer has run many debconf questions are not seeded

On Tue, Mar 16, 2004 at 10:56:22PM -0500, Joey Hess wrote:
> Mark Brown wrote:

> > It seems to be happening an awful lot - I'd suggest including some kind
> > of automated reinstall of all the packages in the testing of the
> > installer (next time I do an install I'll probably give this a whirl).

> I can't imagine how it could happen at all without some great care being
> taken to make debconf behave in a way it truely does not want to, or a
> debconf behavior I am not anticipating. Can you provide an example of a
> debconf database before the upgrade, plus the upgrade with
> DEBCONF_DEBUG='.*' ?

I've found some more instances of this problem. I managed to catch a
diff of the config files before and after the upgrade, though I didn't
remember to rerun the upgrade or cache the entire database:

--- config.dat-old 2004-07-23 20:09:40.000000000 +0100
+++ config.dat 2004-07-25 21:43:15.207208392 +0100
@@ -3,6 +3,12 @@
 Value: true
 Owners: adduser

+Name: alsa-base/alsactl_store_on_shutdown
+Template: alsa-base/alsactl_store_on_shutdown
+Value: autosave always
+Owners: alsa-base
+Flags: seen
+
 Name: anacron/jobs_in_crontab
 Template: anacron/jobs_in_crontab
 Owners: anacron
@@ -1060,11 +1066,13 @@
 Template: debconf/frontend
 Value: Dialog
 Owners: debconf
+Flags: seen

 Name: debconf/priority
 Template: debconf/priority
-Value: medium
+Value: low
 Owners: d-i, debconf
+Flags: seen

 Name: debian-installer/country
 Template: debian-installer/country
@@ -1085,6 +1093,7 @@
 Template: debsums/apt-autogen
 Value: true
 Owners: debsums
+Flags: seen

 Name: dictionaries-common/default-ispell
 Template: dictionaries-common/default-ispell
@@ -1423,6 +1432,7 @@
 Template: mozilla/locale_auto
 Value: true
 Owners: mozilla-browser
+Flags: seen

 Name: mozilla/prefs_note
 Template: mozilla/prefs_note

--
"You grabbed my hand and we fell into it, like a daydream - or a fever."

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Thu, 29 Jul 2004 14:32:58 -0400
From: Joey Hess <email address hidden>
To: Mark Brown <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#238301: After installer has run many debconf questions are not seeded

--24zk1gE8NUlDmwG9
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Mark Brown wrote:
> I've found some more instances of this problem. I managed to catch a
> diff of the config files before and after the upgrade, though I didn't
> remember to rerun the upgrade or cache the entire database:

Now I understand. This is because debootstrap installs packages using
the noninteractive frontend which does not set questions to seen as the
user has indeed not seen them. It's true that this could lead to some
questions that have already set and presumably working values being asked
on upgrade.=20

I don't know of a good way to avoid this at this time; debconf's
handling of the seen flag for the noninteractive frontend is basically
correct; debootstrap's use of the noninteractive frontend is correct,
and there's no way d-i can go back after the fact and mark questions as
seen.

--=20
see shy jo

--24zk1gE8NUlDmwG9
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)

iD8DBQFBCULad8HHehbQuO8RAuEQAKDgIwl1phkJVcBytHt2cHMlEvztOACghsh3
dYZIoAg99yCj9bwAuHU3NbE=
=tWGp
-----END PGP SIGNATURE-----

--24zk1gE8NUlDmwG9--

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Fri, 30 Jul 2004 10:37:00 +0100
From: Mark Brown <email address hidden>
To: Joey Hess <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#238301: After installer has run many debconf questions are not seeded

On Thu, Jul 29, 2004 at 02:32:58PM -0400, Joey Hess wrote:

> I don't know of a good way to avoid this at this time; debconf's
> handling of the seen flag for the noninteractive frontend is basically
> correct; debootstrap's use of the noninteractive frontend is correct,
> and there's no way d-i can go back after the fact and mark questions as
> seen.

Perhaps it would help if when changing an option that would change what
you see Debconf should offer to rerun config scripts so that being
prompted for unseen options happens then (when you know why) rather than
randomly later? It's pretty gross but it's fairly non-invasive and I
guess some people might find it useful.

--
"You grabbed my hand and we fell into it, like a daydream - or a fever."

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Fri, 20 Aug 2004 12:01:27 +0100 (BST)
From: <email address hidden> (Mark Brown)
To: <email address hidden>
Subject:

tag 238301 - moreinfo
reassign 238390 debconf
merge 238301 238390

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Fri, 20 Aug 2004 12:21:54 +0100 (BST)
From: <email address hidden> (Mark Brown)
To: <email address hidden>
Subject:

reassign 238390 debian-installer
merge 238301 238390

Revision history for this message
Matt Zimmerman (mdz) wrote :

*** Bug 8144 has been marked as a duplicate of this bug. ***

Revision history for this message
Colin Watson (cjwatson) wrote :

This is http://bugs.debian.org/238301; I talked to Joey about it today, who's
concerned that there may be some uses of the noninteractive frontend that will
have problems with this behaviour. It's possible that we could make the
noninteractive frontend set the seen flag if some magic environment variable is
set, and set that variable in debootstrap. Joey says he can't think of anything
better for now.

Revision history for this message
Colin Watson (cjwatson) wrote :

Created an attachment (id=238)
implement DEBCONF_NONINTERACTIVE_SEEN

Revision history for this message
Colin Watson (cjwatson) wrote :

Created an attachment (id=239)
set DEBCONF_ADMIN_EMAIL and DEBCONF_NONINTERACTIVE_SEEN in debootstrap

Revision history for this message
Colin Watson (cjwatson) wrote :

Created an attachment (id=240)
before/after diff between /var/cache/debconf/config.dat after debootstrap

Revision history for this message
Colin Watson (cjwatson) wrote :

Jeff/Matt, OK to upload this pair of patches? I've attached a diff of
/var/cache/debconf/config.dat between a warty debootstrap without this change
and a warty debootstrap with it. The results look sane to me.

Revision history for this message
In , Colin Watson (cjwatson) wrote : Re: Bug#238301: After installer has run many debconf questions are not seeded

On Thu, Jul 29, 2004 at 02:32:58PM -0400, Joey Hess wrote:
> Mark Brown wrote:
> > I've found some more instances of this problem. I managed to catch a
> > diff of the config files before and after the upgrade, though I didn't
> > remember to rerun the upgrade or cache the entire database:
>
> Now I understand. This is because debootstrap installs packages using
> the noninteractive frontend which does not set questions to seen as the
> user has indeed not seen them. It's true that this could lead to some
> questions that have already set and presumably working values being asked
> on upgrade.
>
> I don't know of a good way to avoid this at this time; debconf's
> handling of the seen flag for the noninteractive frontend is basically
> correct; debootstrap's use of the noninteractive frontend is correct,
> and there's no way d-i can go back after the fact and mark questions as
> seen.

This patch implements a DEBCONF_NONINTERACTIVE_SEEN environment variable
that debootstrap can set to make the noninteractive frontend behave a
little differently, without risking breaking other uses of the
noninteractive frontend. What do you think?

  http://patches.ubuntulinux.org/patches/debconf.238301.diff

--
Colin Watson [<email address hidden>]

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Wed, 29 Sep 2004 21:33:45 +0100
From: Colin Watson <email address hidden>
To: <email address hidden>
Cc: Mark Brown <email address hidden>
Subject: Re: Bug#238301: After installer has run many debconf questions are not seeded

On Thu, Jul 29, 2004 at 02:32:58PM -0400, Joey Hess wrote:
> Mark Brown wrote:
> > I've found some more instances of this problem. I managed to catch a
> > diff of the config files before and after the upgrade, though I didn't
> > remember to rerun the upgrade or cache the entire database:
>
> Now I understand. This is because debootstrap installs packages using
> the noninteractive frontend which does not set questions to seen as the
> user has indeed not seen them. It's true that this could lead to some
> questions that have already set and presumably working values being asked
> on upgrade.
>
> I don't know of a good way to avoid this at this time; debconf's
> handling of the seen flag for the noninteractive frontend is basically
> correct; debootstrap's use of the noninteractive frontend is correct,
> and there's no way d-i can go back after the fact and mark questions as
> seen.

This patch implements a DEBCONF_NONINTERACTIVE_SEEN environment variable
that debootstrap can set to make the noninteractive frontend behave a
little differently, without risking breaking other uses of the
noninteractive frontend. What do you think?

  http://patches.ubuntulinux.org/patches/debconf.238301.diff

--
Colin Watson [<email address hidden>]

Revision history for this message
In , Joey Hess (joeyh) wrote :

Colin Watson wrote:
> This patch implements a DEBCONF_NONINTERACTIVE_SEEN environment variable
> that debootstrap can set to make the noninteractive frontend behave a
> little differently, without risking breaking other uses of the
> noninteractive frontend. What do you think?

This looks reasonable, I think you could have avoided the duplication of
near-identical new classes.

I guess you've tested it and verified it has no other effects to a
debcootrstrapped system?

--
see shy jo

Revision history for this message
In , Colin Watson (cjwatson) wrote :

On Wed, Sep 29, 2004 at 06:25:06PM -0400, Joey Hess wrote:
> Colin Watson wrote:
> > This patch implements a DEBCONF_NONINTERACTIVE_SEEN environment variable
> > that debootstrap can set to make the noninteractive frontend behave a
> > little differently, without risking breaking other uses of the
> > noninteractive frontend. What do you think?
>
> This looks reasonable, I think you could have avoided the duplication of
> near-identical new classes.

That's possible ... suggestions for naming of the common class? I'd been
thinking the new classes were small enough not to matter too much.

Maybe some magic could go into Debconf::Element::Noninteractive.

> I guess you've tested it and verified it has no other effects to a
> debcootrstrapped system?

/var/cache/debconf/config.dat diff attached (for Ubuntu rather than
Debian, but hey); /etc is identical except for a popularity-contest
configuration file that has the output of uuidgen in it.

--
Colin Watson [<email address hidden>]

Revision history for this message
In , Joey Hess (joeyh) wrote :

Colin Watson wrote:
> That's possible ... suggestions for naming of the common class? I'd been
> thinking the new classes were small enough not to matter too much.
>
> Maybe some magic could go into Debconf::Element::Noninteractive.

Yes, it seems to me most noninteractive elemenets could just derive from
that class though making it work may be too much work/code.

> /var/cache/debconf/config.dat diff attached (for Ubuntu rather than
> Debian, but hey); /etc is identical except for a popularity-contest
> configuration file that has the output of uuidgen in it.

I guess the couple of Value sets are harmless, since it's just taking
the default value from the templates.

--
see shy jo

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Wed, 29 Sep 2004 18:25:06 -0400
From: Joey Hess <email address hidden>
To: Colin Watson <email address hidden>, <email address hidden>
Subject: Re: Bug#238301: After installer has run many debconf questions are not seeded

--lrZ03NoBR/3+SXJZ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Colin Watson wrote:
> This patch implements a DEBCONF_NONINTERACTIVE_SEEN environment variable
> that debootstrap can set to make the noninteractive frontend behave a
> little differently, without risking breaking other uses of the
> noninteractive frontend. What do you think?

This looks reasonable, I think you could have avoided the duplication of
near-identical new classes.

I guess you've tested it and verified it has no other effects to a
debcootrstrapped system?

--=20
see shy jo

--lrZ03NoBR/3+SXJZ
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBWzZCd8HHehbQuO8RAjSDAJ4u323NyIhFoEjH6sWz+J1Fx7PYAQCghEDK
mVsKo7esMNt5rWdvp+32TiI=
=ruvV
-----END PGP SIGNATURE-----

--lrZ03NoBR/3+SXJZ--

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (10.6 KiB)

Message-ID: <email address hidden>
Date: Thu, 30 Sep 2004 00:02:35 +0100
From: Colin Watson <email address hidden>
To: Joey Hess <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#238301: After installer has run many debconf questions are not seeded

--Dxnq1zWXvFF0Q93v
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Wed, Sep 29, 2004 at 06:25:06PM -0400, Joey Hess wrote:
> Colin Watson wrote:
> > This patch implements a DEBCONF_NONINTERACTIVE_SEEN environment variable
> > that debootstrap can set to make the noninteractive frontend behave a
> > little differently, without risking breaking other uses of the
> > noninteractive frontend. What do you think?
>
> This looks reasonable, I think you could have avoided the duplication of
> near-identical new classes.

That's possible ... suggestions for naming of the common class? I'd been
thinking the new classes were small enough not to matter too much.

Maybe some magic could go into Debconf::Element::Noninteractive.

> I guess you've tested it and verified it has no other effects to a
> debcootrstrapped system?

/var/cache/debconf/config.dat diff attached (for Ubuntu rather than
Debian, but hey); /etc is identical except for a popularity-contest
configuration file that has the output of uuidgen in it.

--
Colin Watson [<email address hidden>]

--Dxnq1zWXvFF0Q93v
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="config.dat.diff"
Content-Transfer-Encoding: quoted-printable

--- /home/cjwatson/warty-chroot-1/var/cache/debconf/config.dat 2004-09-29 1=
5:38:40.440025160 +0100
+++ /home/cjwatson/warty-chroot-2/var/cache/debconf/config.dat 2004-09-29 1=
7:01:29.619595040 +0100
@@ -314,6 +314,7 @@
 Template: console-data/keymap/policy
 Value: Don't touch keymap
 Owners: console-common, console-data
+Flags: seen
=20
 Name: console-data/keymap/powerpcadb
 Template: console-data/keymap/powerpcadb
@@ -897,6 +898,7 @@
=20
 Name: dash/sh
 Template: dash/sh
+Value: false
 Owners: dash
=20
 Name: debconf/frontend
@@ -931,10 +933,12 @@
=20
 Name: discover/manage_cdrom_devices
 Template: discover/manage_cdrom_devices
+Value: true
 Owners: discover1
=20
 Name: hotplug/ignore_pci_class_display
 Template: hotplug/ignore_pci_class_display
+Value: true
 Owners: hotplug
=20
 Name: hotplug/net_agent_policy
@@ -944,6 +948,7 @@
=20
 Name: hotplug/static_module_list
 Template: hotplug/static_module_list
+Value:=20
 Owners: hotplug
 Variables:
  usbmodules =3D=20
@@ -983,6 +988,7 @@
=20
 Name: locales/locales_to_be_generated
 Template: locales/locales_to_be_generated
+Value:=20
 Owners: locales
 Variables:
  locales =3D aa_DJ ISO-8859-1, aa_ER UTF-8, aa_ER@saaho UTF-8, aa_ET UTF-8=
, af_ZA ISO-8859-1, am_ET UTF-8, an_ES ISO-8859-15, ar_AE ISO-8859-6, ar_AE=
.UTF-8 UTF-8, ar_BH ISO-8859-6, ar_BH.UTF-8 UTF-8, ar_DZ ISO-8859-6, ar_DZ.=
UTF-8 UTF-8, ar_EG ISO-8859-6, ar_EG.UTF-8 UTF-8, ar_IN UTF-8, ar_IQ ISO-88=
59-6, ar_IQ.UTF-8 UTF-8, ar_JO ISO-8859-6, ar_JO.UTF-8 UTF-8, ar_KW ISO-885=
9-6, ar_KW.UTF-8 UTF-8, ar_LB ISO-8859-6, ar_LB.UTF-8 UTF-8, ar_LY ISO-8859=
-6, ar_LY.UTF-8 UTF-8, ar_MA ISO-8859-6, a...

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Wed, 29 Sep 2004 19:13:56 -0400
From: Joey Hess <email address hidden>
To: Colin Watson <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#238301: After installer has run many debconf questions are not seeded

--SO98HVl1bnMOfKZd
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Colin Watson wrote:
> That's possible ... suggestions for naming of the common class? I'd been
> thinking the new classes were small enough not to matter too much.
>=20
> Maybe some magic could go into Debconf::Element::Noninteractive.

Yes, it seems to me most noninteractive elemenets could just derive from
that class though making it work may be too much work/code.

> /var/cache/debconf/config.dat diff attached (for Ubuntu rather than
> Debian, but hey); /etc is identical except for a popularity-contest
> configuration file that has the output of uuidgen in it.

I guess the couple of Value sets are harmless, since it's just taking
the default value from the templates.

--=20
see shy jo

--SO98HVl1bnMOfKZd
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBW0G0d8HHehbQuO8RArSPAKDDnxrorCQv8D4CVzPAy9bVOgzAnQCgh5pl
6YxISxxPZVzZAAR+tK72TgY=
=Yzwn
-----END PGP SIGNATURE-----

--SO98HVl1bnMOfKZd--

Revision history for this message
In , Colin Watson (cjwatson) wrote :

On Wed, Sep 29, 2004 at 07:13:56PM -0400, Joey Hess wrote:
> Colin Watson wrote:
> > That's possible ... suggestions for naming of the common class? I'd been
> > thinking the new classes were small enough not to matter too much.
> >
> > Maybe some magic could go into Debconf::Element::Noninteractive.
>
> Yes, it seems to me most noninteractive elemenets could just derive from
> that class though making it work may be too much work/code.

OK, let's try this, moving the common show() code into
Debconf::Element::Noninteractive:

  http://patches.ubuntulinux.org/patches/debconf.238301.v2.diff

Tested with debootstrap, same changes. I'll probably put this version
into Ubuntu for now at least.

> > /var/cache/debconf/config.dat diff attached (for Ubuntu rather than
> > Debian, but hey); /etc is identical except for a popularity-contest
> > configuration file that has the output of uuidgen in it.
>
> I guess the couple of Value sets are harmless, since it's just taking
> the default value from the templates.

Right, I think so too.

Cheers,

--
Colin Watson [<email address hidden>]

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Thu, 30 Sep 2004 20:10:03 +0100
From: Colin Watson <email address hidden>
To: <email address hidden>
Subject: Re: Bug#238301: After installer has run many debconf questions are not seeded

On Wed, Sep 29, 2004 at 07:13:56PM -0400, Joey Hess wrote:
> Colin Watson wrote:
> > That's possible ... suggestions for naming of the common class? I'd been
> > thinking the new classes were small enough not to matter too much.
> >
> > Maybe some magic could go into Debconf::Element::Noninteractive.
>
> Yes, it seems to me most noninteractive elemenets could just derive from
> that class though making it work may be too much work/code.

OK, let's try this, moving the common show() code into
Debconf::Element::Noninteractive:

  http://patches.ubuntulinux.org/patches/debconf.238301.v2.diff

Tested with debootstrap, same changes. I'll probably put this version
into Ubuntu for now at least.

> > /var/cache/debconf/config.dat diff attached (for Ubuntu rather than
> > Debian, but hey); /etc is identical except for a popularity-contest
> > configuration file that has the output of uuidgen in it.
>
> I guess the couple of Value sets are harmless, since it's just taking
> the default value from the templates.

Right, I think so too.

Cheers,

--
Colin Watson [<email address hidden>]

Revision history for this message
Matt Zimmerman (mdz) wrote :

Approved for upload

Revision history for this message
In , Joey Hess (joeyh) wrote :

Colin Watson wrote:
> OK, let's try this, moving the common show() code into
> Debconf::Element::Noninteractive:
>
> http://patches.ubuntulinux.org/patches/debconf.238301.v2.diff
>
> Tested with debootstrap, same changes. I'll probably put this version
> into Ubuntu for now at least.

Feel free to merge that into debconf svn. As to whether it should go to
the sarge branch.. well, I suppose you could ask Steve. :-)

--
see shy jo

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Thu, 30 Sep 2004 20:30:45 -0400
From: Joey Hess <email address hidden>
To: Colin Watson <email address hidden>, <email address hidden>
Subject: Re: Bug#238301: After installer has run many debconf questions are not seeded

--PmA2V3Z32TCmWXqI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Colin Watson wrote:
> OK, let's try this, moving the common show() code into
> Debconf::Element::Noninteractive:
>=20
> http://patches.ubuntulinux.org/patches/debconf.238301.v2.diff
>=20
> Tested with debootstrap, same changes. I'll probably put this version
> into Ubuntu for now at least.

Feel free to merge that into debconf svn. As to whether it should go to
the sarge branch.. well, I suppose you could ask Steve. :-)

--=20
see shy jo

--PmA2V3Z32TCmWXqI
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBXKU1d8HHehbQuO8RAjtxAJ4ncqrh5OlBlowl1Wkaf6r3l3A7lACgwVkS
OthlAcnac+oUK8VjXO9X2pg=
=qxV3
-----END PGP SIGNATURE-----

--PmA2V3Z32TCmWXqI--

Revision history for this message
Colin Watson (cjwatson) wrote :

debconf (1.4.29ubuntu4) warty; urgency=low

  * Set the seen flag on questions asked in the noninteractive frontend if
    DEBCONF_NONINTERACTIVE_SEEN is set to true. This allows debootstrap to
    behave better.
  * Add Debconf::Element::Noninteractive::* modules; we need element objects
    to carry the markseen flag around.

 -- Colin Watson <email address hidden> Thu, 30 Sep 2004 19:10:21 +0100

debootstrap (0.2.39ubuntu19) warty; urgency=low

  * [debootstrap] Set DEBCONF_ADMIN_EMAIL to the empty string, to stop
    debconf mailing notes to root.
  * [warty] Set DEBCONF_NONINTERACTIVE_SEEN to true, so that debconf sets
    the seen flag on questions that will otherwise be asked again on upgrade
    (Ubuntu #1781).

 -- Colin Watson <email address hidden> Fri, 1 Oct 2004 12:11:12 +0100

Revision history for this message
In , Joey Hess (joeyh) wrote : reassign 238301 to debconf

# Automatically generated email from bts, devscripts version 2.8.14
reassign 238301 debconf

Revision history for this message
In , Joey Hess (joeyh) wrote : reassign 238301 to debootstrap ...

# Automatically generated email from bts, devscripts version 2.8.14
reassign 238301 debootstrap
retitle 238301 please use DEBCONF_NONINTERACTIVE_SEEN when installing sarge, etch, or sid, as is done for hoary and warty

Revision history for this message
In , Joey Hess (joeyh) wrote : tagging 238301

# Automatically generated email from bts, devscripts version 2.8.14
tags 238301 d-i

Revision history for this message
In , Joey Hess (joeyh) wrote : reassign 238301 to debootstrap

# Automatically generated email from bts, devscripts version 2.8.15
reassign 238301 debootstrap

Revision history for this message
In , Joey Hess (joeyh) wrote : needs fixed in debootstrap now

This bug has been addressed in debconf, is fixed in debootstrap for
ubuntu, but still needs to be fixed in the sid and etch scripts.

--
see shy jo

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Fri, 17 Jun 2005 10:48:31 -0400
From: Joey Hess <email address hidden>
To: <email address hidden>
Subject: reassign 238301 to debootstrap ...

# Automatically generated email from bts, devscripts version 2.8.14
reassign 238301 debootstrap
retitle 238301 please use DEBCONF_NONINTERACTIVE_SEEN when installing sarge, etch, or sid, as is done for hoary and warty

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Fri, 17 Jun 2005 10:48:52 -0400
From: Joey Hess <email address hidden>
To: <email address hidden>
Subject: tagging 238301

# Automatically generated email from bts, devscripts version 2.8.14
tags 238301 d-i

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Fri, 17 Jun 2005 10:47:25 -0400
From: Joey Hess <email address hidden>
To: <email address hidden>
Subject: reassign 238301 to debconf

# Automatically generated email from bts, devscripts version 2.8.14
reassign 238301 debconf

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sun, 10 Jul 2005 17:04:42 +0300
From: Joey Hess <email address hidden>
To: <email address hidden>
Subject: needs fixed in debootstrap now

--jI8keyz6grp/JLjh
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

This bug has been addressed in debconf, is fixed in debootstrap for
ubuntu, but still needs to be fixed in the sid and etch scripts.

--=20
see shy jo

--jI8keyz6grp/JLjh
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFC0Sr6d8HHehbQuO8RAuhMAJ4sRqXUpmwpgBjFw8pnyDP6F0CQtwCZARKk
85tEY3Nq9bTzL9Kl8gqXxkQ=
=BFD/
-----END PGP SIGNATURE-----

--jI8keyz6grp/JLjh--

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Sun, 10 Jul 2005 17:03:34 +0300
From: Joey Hess <email address hidden>
To: <email address hidden>
Subject: reassign 238301 to debootstrap

# Automatically generated email from bts, devscripts version 2.8.15
reassign 238301 debootstrap

Revision history for this message
In , Petter Reinholdtsen (pere-hungry) wrote : Re: please use DEBCONF_NONINTERACTIVE_SEEN when installing sarge, etch, or sid, as is done for hoary and warty

tags 238301 + patch
thanks

This patch solves this issue for sarge, etch and sid. I suggest this
changelog entry:

  * [sarge,etch,sid] Set DEBCONF_NONINTERACTIVE_SEEN=true during
    build, to avoid questions during upgrade. (Closes: #238301)

diff -ur debootstrap-0.3.1.7/etch debootstrap-0.3.1.8/etch
--- debootstrap-0.3.1.7/etch Thu Sep 15 16:48:46 2005
+++ debootstrap-0.3.1.8/etch Tue Oct 18 17:57:49 2005
@@ -130,7 +131,8 @@
     fi

     DEBIAN_FRONTEND=noninteractive
- export DEBIAN_FRONTEND
+ DEBCONF_NONINTERACTIVE_SEEN=true
+ export DEBIAN_FRONTEND DEBCONF_NONINTERACTIVE_SEEN

     baseprog=0
     bases=40
diff -ur debootstrap-0.3.1.7/sarge debootstrap-0.3.1.8/sarge
--- debootstrap-0.3.1.7/sarge Thu Jun 16 10:48:23 2005
+++ debootstrap-0.3.1.8/sarge Tue Oct 18 18:14:43 2005
@@ -143,7 +141,8 @@
     in_target /sbin/ldconfig

     DEBIAN_FRONTEND=noninteractive
- export DEBIAN_FRONTEND
+ DEBCONF_NONINTERACTIVE_SEEN=true
+ export DEBIAN_FRONTEND DEBCONF_NONINTERACTIVE_SEEN

     baseprog=0
     bases=40
diff -ur debootstrap-0.3.1.7/sid debootstrap-0.3.1.8/sid
--- debootstrap-0.3.1.7/sid Thu Sep 15 16:48:46 2005
+++ debootstrap-0.3.1.8/sid Tue Oct 18 17:57:34 2005
@@ -85,7 +85,8 @@
     fi

     DEBIAN_FRONTEND=noninteractive
- export DEBIAN_FRONTEND
+ DEBCONF_NONINTERACTIVE_SEEN=true
+ export DEBIAN_FRONTEND DEBCONF_NONINTERACTIVE_SEEN

     baseprog=0
     bases=7

Revision history for this message
In , Petter Reinholdtsen (pere-debian) wrote : Fixed in NMU of debootstrap 0.3.1.8

tag 238301 + fixed
tag 239390 + fixed
tag 289105 + fixed
tag 313353 + fixed
tag 315940 + fixed
tag 328161 + fixed
tag 334506 + fixed

quit

This message was generated automatically in response to a
non-maintainer upload. The .changes file follows.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue, 18 Oct 2005 18:47:51 +0200
Source: debootstrap
Binary: debootstrap-udeb debootstrap
Architecture: source all i386
Version: 0.3.1.8
Distribution: unstable
Urgency: low
Maintainer: Anthony Towns <email address hidden>
Changed-By: Petter Reinholdtsen <email address hidden>
Description:
 debootstrap - Bootstrap a basic Debian system
 debootstrap-udeb - Bootstrap the Debian system (udeb)
Closes: 238301 239390 289105 313353 315940 328161 334506
Changes:
 debootstrap (0.3.1.8) unstable; urgency=low
 .
   * Non-maintainer upload.
   * [functions] Mount /sys if it exist and is supported by the kernel.
     Patch from Cajus Pollmeier, Colin Watson and Ubuntu. (Closes: #289105)
   * [debootstrap] Document --resolve-deps in usage info. (Closes: #328161)
   * [etch] Replace libsigc++-1.2-5c102 with libsigc++-1.2-5c2. (Closes: #334506)
   * [etch] Remove pppoe from base, and only install
     ipchains on m68k. Patch from Sven Luther. (Closes: #239390)
   * [sarge] Remove duplicate entries for m68k and amd64. Patch from
     Frans Pop. (Workaround for bug #319777)
   * [etch] Add support for ppc64. The patch for 'sid' did no longer
     apply. Patch from Andreas Jochens. (Closes: #313353)
   * [sarge,etch,sid] Set DEBCONF_NONINTERACTIVE_SEEN=true during build, to
     avoid questions during upgrade. (Closes: #238301)
   * Add script for breezy. Patch from Colin Watson. (Closes: #315940)
Files:
 f92f4b0f3cb9e0482512e2125d2d4970 596 admin - debootstrap_0.3.1.8.dsc
 0fe3ba1a4cc9ea685be26a2bcb2fc58a 44753 admin - debootstrap_0.3.1.8.tar.gz
 d001fd79ae059a9599eab9fc066e1527 50808 debian-installer required debootstrap-udeb_0.3.1.8_i386.udeb
 39f65afd4fe698a3f7e7c2c5ef81aaa6 43538 admin extra debootstrap_0.3.1.8_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDVSf+20zMSyow1ykRAog7AJ4kdrp6UmSw2LT5zA0OhYQZCnf6OgCeJHk0
upfek0jI+sGXNP3i12Dccak=
=vpMP
-----END PGP SIGNATURE-----

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Tue, 18 Oct 2005 18:19:45 +0200
From: Petter Reinholdtsen <email address hidden>
To: <email address hidden>
Subject: Re: please use DEBCONF_NONINTERACTIVE_SEEN when installing sarge, etch, or sid,
 as is done for hoary and warty

tags 238301 + patch
thanks

This patch solves this issue for sarge, etch and sid. I suggest this
changelog entry:

  * [sarge,etch,sid] Set DEBCONF_NONINTERACTIVE_SEEN=true during
    build, to avoid questions during upgrade. (Closes: #238301)

diff -ur debootstrap-0.3.1.7/etch debootstrap-0.3.1.8/etch
--- debootstrap-0.3.1.7/etch Thu Sep 15 16:48:46 2005
+++ debootstrap-0.3.1.8/etch Tue Oct 18 17:57:49 2005
@@ -130,7 +131,8 @@
     fi

     DEBIAN_FRONTEND=noninteractive
- export DEBIAN_FRONTEND
+ DEBCONF_NONINTERACTIVE_SEEN=true
+ export DEBIAN_FRONTEND DEBCONF_NONINTERACTIVE_SEEN

     baseprog=0
     bases=40
diff -ur debootstrap-0.3.1.7/sarge debootstrap-0.3.1.8/sarge
--- debootstrap-0.3.1.7/sarge Thu Jun 16 10:48:23 2005
+++ debootstrap-0.3.1.8/sarge Tue Oct 18 18:14:43 2005
@@ -143,7 +141,8 @@
     in_target /sbin/ldconfig

     DEBIAN_FRONTEND=noninteractive
- export DEBIAN_FRONTEND
+ DEBCONF_NONINTERACTIVE_SEEN=true
+ export DEBIAN_FRONTEND DEBCONF_NONINTERACTIVE_SEEN

     baseprog=0
     bases=40
diff -ur debootstrap-0.3.1.7/sid debootstrap-0.3.1.8/sid
--- debootstrap-0.3.1.7/sid Thu Sep 15 16:48:46 2005
+++ debootstrap-0.3.1.8/sid Tue Oct 18 17:57:34 2005
@@ -85,7 +85,8 @@
     fi

     DEBIAN_FRONTEND=noninteractive
- export DEBIAN_FRONTEND
+ DEBCONF_NONINTERACTIVE_SEEN=true
+ export DEBIAN_FRONTEND DEBCONF_NONINTERACTIVE_SEEN

     baseprog=0
     bases=7

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Tue, 18 Oct 2005 10:02:09 -0700
From: Petter Reinholdtsen <email address hidden>
To: <email address hidden>
Cc: Petter Reinholdtsen <email address hidden>, Anthony Towns <email address hidden>
Subject: Fixed in NMU of debootstrap 0.3.1.8

tag 238301 + fixed
tag 239390 + fixed
tag 289105 + fixed
tag 313353 + fixed
tag 315940 + fixed
tag 328161 + fixed
tag 334506 + fixed

quit

This message was generated automatically in response to a
non-maintainer upload. The .changes file follows.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue, 18 Oct 2005 18:47:51 +0200
Source: debootstrap
Binary: debootstrap-udeb debootstrap
Architecture: source all i386
Version: 0.3.1.8
Distribution: unstable
Urgency: low
Maintainer: Anthony Towns <email address hidden>
Changed-By: Petter Reinholdtsen <email address hidden>
Description:
 debootstrap - Bootstrap a basic Debian system
 debootstrap-udeb - Bootstrap the Debian system (udeb)
Closes: 238301 239390 289105 313353 315940 328161 334506
Changes:
 debootstrap (0.3.1.8) unstable; urgency=low
 .
   * Non-maintainer upload.
   * [functions] Mount /sys if it exist and is supported by the kernel.
     Patch from Cajus Pollmeier, Colin Watson and Ubuntu. (Closes: #289105)
   * [debootstrap] Document --resolve-deps in usage info. (Closes: #328161)
   * [etch] Replace libsigc++-1.2-5c102 with libsigc++-1.2-5c2. (Closes: #334506)
   * [etch] Remove pppoe from base, and only install
     ipchains on m68k. Patch from Sven Luther. (Closes: #239390)
   * [sarge] Remove duplicate entries for m68k and amd64. Patch from
     Frans Pop. (Workaround for bug #319777)
   * [etch] Add support for ppc64. The patch for 'sid' did no longer
     apply. Patch from Andreas Jochens. (Closes: #313353)
   * [sarge,etch,sid] Set DEBCONF_NONINTERACTIVE_SEEN=true during build, to
     avoid questions during upgrade. (Closes: #238301)
   * Add script for breezy. Patch from Colin Watson. (Closes: #315940)
Files:
 f92f4b0f3cb9e0482512e2125d2d4970 596 admin - debootstrap_0.3.1.8.dsc
 0fe3ba1a4cc9ea685be26a2bcb2fc58a 44753 admin - debootstrap_0.3.1.8.tar.gz
 d001fd79ae059a9599eab9fc066e1527 50808 debian-installer required debootstrap-udeb_0.3.1.8_i386.udeb
 39f65afd4fe698a3f7e7c2c5ef81aaa6 43538 admin extra debootstrap_0.3.1.8_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDVSf+20zMSyow1ykRAog7AJ4kdrp6UmSw2LT5zA0OhYQZCnf6OgCeJHk0
upfek0jI+sGXNP3i12Dccak=
=vpMP
-----END PGP SIGNATURE-----

Revision history for this message
In , Anthony Towns (aj-azure) wrote : setting package to debootstrap debootstrap-udeb, tagging 152845, tagging 238301, tagging 239390 ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...

package debootstrap debootstrap-udeb
tags 152845 + pending
tags 238301 + pending
tags 239390 + pending
tags 248578 + pending
tags 280210 + pending
tags 289105 + pending
tags 289635 + pending
tags 308169 + pending
tags 308361 + pending
tags 313292 + pending
tags 313353 + pending
tags 314157 + pending
tags 314160 + pending
tags 314340 + pending
tags 314373 + pending
tags 314378 + pending
tags 314547 + pending
tags 314810 + pending
tags 314858 + pending
tags 314863 + pending
tags 315875 + pending
tags 315940 + pending
tags 316884 + pending
tags 317447 + pending
tags 318254 + pending
tags 318281 + pending
tags 319777 + pending
tags 323362 + pending
tags 323661 + pending
tags 326831 + pending
tags 328161 + pending
tags 328369 + pending
tags 329468 + pending
tags 334506 + pending
tags 334521 + pending
tags 334683 + pending

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Sun, 23 Oct 2005 20:37:54 +1000
From: Anthony Towns <email address hidden>
To: <email address hidden>
Subject: setting package to debootstrap debootstrap-udeb, tagging 152845, tagging 238301,
 tagging 239390 ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...
 ... ... ... ... ... ... ... ... ... ... ... ... ... ...

package debootstrap debootstrap-udeb
tags 152845 + pending
tags 238301 + pending
tags 239390 + pending
tags 248578 + pending
tags 280210 + pending
tags 289105 + pending
tags 289635 + pending
tags 308169 + pending
tags 308361 + pending
tags 313292 + pending
tags 313353 + pending
tags 314157 + pending
tags 314160 + pending
tags 314340 + pending
tags 314373 + pending
tags 314378 + pending
tags 314547 + pending
tags 314810 + pending
tags 314858 + pending
tags 314863 + pending
tags 315875 + pending
tags 315940 + pending
tags 316884 + pending
tags 317447 + pending
tags 318254 + pending
tags 318281 + pending
tags 319777 + pending
tags 323362 + pending
tags 323661 + pending
tags 326831 + pending
tags 328161 + pending
tags 328369 + pending
tags 329468 + pending
tags 334506 + pending
tags 334521 + pending
tags 334683 + pending

Revision history for this message
In , Anthony Towns (aj-azure) wrote : Bug#238301: fixed in debootstrap 0.3.2
Download full text (6.1 KiB)

Source: debootstrap
Source-Version: 0.3.2

We believe that the bug you reported is fixed in the latest version of
debootstrap, which is due to be installed in the Debian FTP archive:

debootstrap-udeb_0.3.2_powerpc.udeb
  to pool/main/d/debootstrap/debootstrap-udeb_0.3.2_powerpc.udeb
debootstrap_0.3.2.dsc
  to pool/main/d/debootstrap/debootstrap_0.3.2.dsc
debootstrap_0.3.2.tar.gz
  to pool/main/d/debootstrap/debootstrap_0.3.2.tar.gz
debootstrap_0.3.2_all.deb
  to pool/main/d/debootstrap/debootstrap_0.3.2_all.deb

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Anthony Towns <email address hidden> (supplier of updated debootstrap package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 23 Oct 2005 14:49:08 +1000
Source: debootstrap
Binary: debootstrap-udeb debootstrap
Architecture: source all powerpc
Version: 0.3.2
Distribution: unstable
Urgency: low
Maintainer: Anthony Towns <email address hidden>
Changed-By: Anthony Towns <email address hidden>
Description:
 debootstrap - Bootstrap a basic Debian system
 debootstrap-udeb - Bootstrap the Debian system (udeb)
Closes: 109176 152845 238301 239390 248578 280210 283234 289105 289635 308169 308361 313292 313353 314157 314160 314340 314373 314378 314547 314810 314858 314863 315225 315862 315875 315940 316884 317072 317447 318254 318281 319777 323362 323661 326831 328161 328369 329394 329468 334506 334521 334683
Changes:
 debootstrap (0.3.2) unstable; urgency=low
 .
   * Revert fakechroot NMUs (0.3.1.1, 0.3.1.3, 0.3.1.7) due to incompatible
     license requirements (GPL) (Reopens: Bug#204652)
 .
   * Changes from 0.3.1.2 NMU, thanks to Joey Hess: (Closes: Bug#314810)
     + Fix incorrect use of "$@" in local. Closes: #314157, #314547
     + Fix fd redirection in download progress code. See #314373
     + Remove md5sums file from udeb. Closes: #314378
     + Fix debian-installer mode warning code. Closes: #314340
 .
   * Changes from 0.3.1.4 NMU, thanks to Joey Hess:
     + Wrap eval statement in exit_function in parens, working around
       bug #315444 in busybox sh. Closes: #314373
 .
   * Changes from 0.3.1.5 NMU, thanks to Anibal Monsalve Salazar:
     + Fixed "--variant=buildd option does not work" for pbuilder,
       closes: #314858. Patch by Matt Kraai <email address hidden>.
 .
   * Changes from 0.3.1.6 NMU, thanks to Joey Hess:
     + Patch from Colin to redirect status messages to stderr when running
       --print-debs. Closes: #315875
     + Restore logging to stderr in debian-installer mode. Closes: #314160
 .
   * Changes from 0.3.1.8 NMU, thanks to Petter Reinholdtsen:
     + [functions] Mount /sys if it exist and is supported by the kernel.
       Patch from Cajus Pollmeier, Colin Watson and Ubuntu. (Closes: #2...

Read more...

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (6.3 KiB)

Message-Id: <email address hidden>
Date: Sun, 23 Oct 2005 10:17:07 -0700
From: Anthony Towns <email address hidden>
To: <email address hidden>
Subject: Bug#238301: fixed in debootstrap 0.3.2

Source: debootstrap
Source-Version: 0.3.2

We believe that the bug you reported is fixed in the latest version of
debootstrap, which is due to be installed in the Debian FTP archive:

debootstrap-udeb_0.3.2_powerpc.udeb
  to pool/main/d/debootstrap/debootstrap-udeb_0.3.2_powerpc.udeb
debootstrap_0.3.2.dsc
  to pool/main/d/debootstrap/debootstrap_0.3.2.dsc
debootstrap_0.3.2.tar.gz
  to pool/main/d/debootstrap/debootstrap_0.3.2.tar.gz
debootstrap_0.3.2_all.deb
  to pool/main/d/debootstrap/debootstrap_0.3.2_all.deb

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Anthony Towns <email address hidden> (supplier of updated debootstrap package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 23 Oct 2005 14:49:08 +1000
Source: debootstrap
Binary: debootstrap-udeb debootstrap
Architecture: source all powerpc
Version: 0.3.2
Distribution: unstable
Urgency: low
Maintainer: Anthony Towns <email address hidden>
Changed-By: Anthony Towns <email address hidden>
Description:
 debootstrap - Bootstrap a basic Debian system
 debootstrap-udeb - Bootstrap the Debian system (udeb)
Closes: 109176 152845 238301 239390 248578 280210 283234 289105 289635 308169 308361 313292 313353 314157 314160 314340 314373 314378 314547 314810 314858 314863 315225 315862 315875 315940 316884 317072 317447 318254 318281 319777 323362 323661 326831 328161 328369 329394 329468 334506 334521 334683
Changes:
 debootstrap (0.3.2) unstable; urgency=low
 .
   * Revert fakechroot NMUs (0.3.1.1, 0.3.1.3, 0.3.1.7) due to incompatible
     license requirements (GPL) (Reopens: Bug#204652)
 .
   * Changes from 0.3.1.2 NMU, thanks to Joey Hess: (Closes: Bug#314810)
     + Fix incorrect use of "$@" in local. Closes: #314157, #314547
     + Fix fd redirection in download progress code. See #314373
     + Remove md5sums file from udeb. Closes: #314378
     + Fix debian-installer mode warning code. Closes: #314340
 .
   * Changes from 0.3.1.4 NMU, thanks to Joey Hess:
     + Wrap eval statement in exit_function in parens, working around
       bug #315444 in busybox sh. Closes: #314373
 .
   * Changes from 0.3.1.5 NMU, thanks to Anibal Monsalve Salazar:
     + Fixed "--variant=buildd option does not work" for pbuilder,
       closes: #314858. Patch by Matt Kraai <email address hidden>.
 .
   * Changes from 0.3.1.6 NMU, thanks to Joey Hess:
     + Patch from Colin to redirect status messages to stderr when running
       --print-debs. Closes: #315875
     + Restore logging to stderr in debian-installer mode. Closes: #314...

Read more...

Colin Watson (cjwatson)
Changed in debconf (Unity Linux):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.