[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#247927: marked as done (in debian-edu, main-menu skips over autopartkit to partman due to bad provide)



Your message dated Fri, 7 May 2004 22:11:04 -0400
with message-id <20040508021104.GA1062@kitenet.net>
and subject line FWD: Fixed in NMU of partman-target 19
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; 8 May 2004 00:38:20 +0000
>From joey@kitenet.net Fri May 07 17:38:20 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 1BMFrA-0004SC-00; Fri, 07 May 2004 17:38:20 -0700
Received: from dragon.kitenet.net (216-98-95-211.access.naxs.com [216.98.95.211])
	(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 0DA291891E; Sat,  8 May 2004 00:38:15 +0000 (GMT)
Received: by dragon.kitenet.net (Postfix, from userid 1000)
	id 2253C6E0A0; Fri,  7 May 2004 20:37:01 -0400 (EDT)
Date: Fri, 7 May 2004 20:37:01 -0400
From: Joey Hess <joeyh@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Cc: pere@debian.org
Subject: in debian-edu, main-menu skips over autopartkit to partman due to bad provide
Message-ID: <20040508003701.GA2770@kitenet.net>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="FCuugMFkClbJLl1L"
Content-Disposition: inline
X-Reportbug-Version: 2.54
User-Agent: Mutt/1.5.5.1+cvs20040105i
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=-7.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 1


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

Package: partman-target
Severity: normal

This bug occurs in the debian-edu version of the sarge installer, which
reorders the main menu so autopartkit comes before partman. On such a
system, main-menu skips over autopartkit, which is first, and selects
partman. But if partman is not included on the CD, then it happily
selects autopartkit.

Currently debian-edu-profile-udeb has a menu item of 17;
debian-edu-install-udeb is 10 and depends on it, autopartkit,=20
bootable-system, and prebaseconfig. This makes main-menu order the menu
as follows:

languagechooser			10
kbd-chooser			12
debian-edu-profile-udeb		17
hw-detect-full			35
autopartkit			50
partman				42
base-installer			65
grub-installer			73
prebaseconfig			78
debian-edu-install-udeb		10
country-chooser			11
cdrom-detect			14
load-cdrom			14
lilo-installer			75

main-menu goes down this list and will run the first item that isn't
configured whose memu-item-number is greater than 14 (the number of
load-cdrom, which was the last menu item run). That is
debian-edu-profile-udeb. After the profile is selected, it advances to
hw-detect-full which is next. After that, we'd expect it would go to
autopartkit.

It skips autopartkit because provides_installed_virtual_package()
returns true for that package. This is supposed to mean that autopartkit
provides a virtual package that is also provided by some other already
configured package. AIUI, this check takes care of skipping
lilo-installer after grub-installer has been run.

The problem is that autopartkit provides created-fstab, and so does
partman-target. So main-menu skips autopartkit. I think the problem is
that partman-target is not a menu item, but provides something also
provided by a menu item; worse it provides something that is not
satisfied when partman-target is configured, but only after partman
runs. So this provide belongs in partman.

Now, maybe main-menu should only consider menu items for this test (but
it seems hard to make this change to provides_installed_virtual_package.
Another way to look at it is that autopartkit provides several things
that are not yet also provided by configured packages, perhaps it should
only be skipped if all its provides are otherwise satisfied. That is
easy to implement, but I haven't done it because who knows what it might
break.

A few recent changes consipired to expose this bug:

 - anna was changed to configure packages that are not menu items as
   it loads them; previously they were marked as unpacked and not
   configured and so did't trigger the check
 - partman-target and autopartkit began to provide created-fstab,
   previously partconf-mksftab did this.

--=20
see shy jo

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

iD8DBQFAnCusd8HHehbQuO8RAs8zAKDMbr2kWkxXmlHXLSz0j6fLyQ8IpgCgtUSY
DfwcsDT4iYUqs4CtYV9uFFs=
=LKLU
-----END PGP SIGNATURE-----

--FCuugMFkClbJLl1L--

---------------------------------------
Received: (at 247927-done) by bugs.debian.org; 8 May 2004 02:12:35 +0000
>From joey@kitenet.net Fri May 07 19:12:35 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 1BMHKM-00021I-00; Fri, 07 May 2004 19:12:35 -0700
Received: from dragon.kitenet.net (216-98-95-211.access.naxs.com [216.98.95.211])
	(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 3E4BA17FE1
	for <247927-done@bugs.debian.org>; Sat,  8 May 2004 02:12:17 +0000 (GMT)
Received: by dragon.kitenet.net (Postfix, from userid 1000)
	id A940F6E0A0; Fri,  7 May 2004 22:11:04 -0400 (EDT)
Date: Fri, 7 May 2004 22:11:04 -0400
From: Joey Hess <joeyh@debian.org>
To: 247927-done@bugs.debian.org
Subject: FWD: Fixed in NMU of partman-target 19
Message-ID: <20040508021104.GA1062@kitenet.net>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="qDbXVdCdHGoSgWSk"
Content-Disposition: inline
User-Agent: Mutt/1.5.5.1+cvs20040105i
Delivered-To: 247927-done@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=-4.0 required=4.0 tests=BAYES_00,VALID_BTS_CONTROL 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 1


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

NAN

----- Forwarded message from Joey Hess <joeyh@debian.org> -----

=46rom: Joey Hess <joeyh@debian.org>
Date: Fri, 07 May 2004 21:32:04 -0400
To: control@bugs.debian.org
Cc: Joey Hess <joeyh@debian.org>,
	Debian Install System Team <debian-boot@lists.debian.org>
Subject: Fixed in NMU of partman-target 19

tag 247927 + 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: Fri,  7 May 2004 20:31:51 -0400
Source: partman-target
Binary: partman-target
Architecture: source all
Version: 19
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Joey Hess <joeyh@debian.org>
Description:=20
 partman-target - Provides partman with ability to prepare /target (udeb)
Closes: 247927
Changes:=20
 partman-target (19) unstable; urgency=3Dlow
 .
   * Joey Hess
     - Don't provide created-fstab, as the fstab is not created when this
       package is unpacked and configured, but when partman is run. Thus,
       partman should provide it. Closes: #247927
Files:=20
 8e8c7fbb9c700e8ce3ed2ef1ba70d4ab 600 debian-installer standard partman-tar=
get_19.dsc
 2a257503fa3edb4b37281a4f36975c8a 58510 debian-installer standard partman-t=
arget_19.tar.gz
 75e989ee36336cc9b0e3a13c1578a868 22656 debian-installer standard partman-t=
arget_19_all.udeb
package-type: udeb

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

iD8DBQFAnDPk2tp5zXiKP0wRAm39AJ9a157iB5RQORRjMaQc6Z3XEzbMZQCfYbch
kCDKXCaGymHfpqAk4MR73HE=3D
=3DHnwh
-----END PGP SIGNATURE-----


----- End forwarded message -----

--=20
see shy jo

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

iD8DBQFAnEG3d8HHehbQuO8RAgiZAJ40Ng6v+nY3/H9Q7jA/B6DsbjMnOQCgym23
JK7Tn+a9LIJI1SQJtXQzwz0=
=ZD18
-----END PGP SIGNATURE-----

--qDbXVdCdHGoSgWSk--



Reply to: