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

Bug#50832: marked as done ([AMENDMENT 1999/11/23] Clarify meaning of Essential: yes)



Your message dated Mon, 28 Aug 2000 12:28:04 +0100
with message-id <20000828122804.A17862@polya>
and subject line Closed in debian-policy 3.2.1.0
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.)

Darren Benham
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 21 Nov 1999 02:49:11 +0000
Received: (qmail 12984 invoked from network); 21 Nov 1999 02:49:08 -0000
Received: from azure.humbug.org.au (mail@203.24.22.40)
  by master.debian.org with SMTP; 21 Nov 1999 02:49:08 -0000
Received: from aj by azure.humbug.org.au with local (Exim 3.03 #1 (Debian))
	id 11pN3m-0000r9-00; Sun, 21 Nov 1999 12:49:02 +1000
Date: Sun, 21 Nov 1999 12:49:02 +1000
From: Anthony Towns <aj@azure.humbug.org.au>
To: submit@bugs.debian.org
Cc: Joel Klecker <jk@espy.org>
Subject: [PROPOSED] Clarify meaning of Essential: yes
Message-ID: <19991121124902.A3186@azure.humbug.org.au>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-md5;
	protocol="application/pgp-signature"; boundary="liOOAslEiF7prFVr"
User-Agent: Mutt/1.0pre1i
Organisation: Lacking
X-PGP: http://azure.humbug.org.au/~aj/aj_key.asc


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

Package: debian-policy
Severity: wishlist

First, some context:

bash is an Essential: yes package, and recently it was changed so that
/bin/sh was only there after the postinst was run. This works fine for
apt, but breaks just about every other dselect method in existence.

The following is Joel Klecker's message to -devel on the topic from the
other day:

----- Forwarded message from Joel Klecker <jk@espy.org> -----
Date: Sat, 20 Nov 1999 14:07:26 -0800
To: Matthias Klose <doko@cs.tu-berlin.de>, debian-devel@lists.debian.org
From: Joel Klecker <jk@espy.org>
Subject: Re: experimental bash-2.03 and readline-4.0 packages for potato
Cc: submit@bugs.debian.org

Package: bash
Severity: critical

At 19:45 +0100 1999-11-20, Matthias Klose wrote:
>I have put together packages for bash-2.03 and readline-4.0. You find
>them at http://master.debian.org/~doko/bash-rl. Many bugs are fixed.
>Please see the changelogs. A still open issue is a working slink
>update.

There's a serious issue with /bin/sh that needs to be addressed. Some NMU
completely destroyed bash's Essential status[1] by handling the /bin/sh
symlink outside of dpkg's control. The /bin/sh crap needs to be removed
from the maintainer scripts and the binary package needs to contain the
/bin/sh symlink again. This is a critical bug.

>Current status:
> - libreadlineg2 contains /etc/inputrc
> - bash-2.02 is statically linked to libreadlineg2
>
>Assume we do want to link bash dynamically against readline, history
>and ncurses.

Statically linking bash to readline was a stopgap to deal with
libreadline's ABI changing in a rather nasty way between glibc2.0 and
glibc2.1.
It was expected that potato would get libreadline4, after which bash could
be dynamically linked with readline again.

>To avoid this for future libreadline updates, I would like to put
>/etc/inputrc into it's own package (are configuration files in library
>packages evil ;-?)

I think policy needs to explicitly forbid "configuration files" (whether
marked as conffiles or not) in library packages.

[1] Essential means that the package does not need to be depended on
(essential does not seem to be guaranteed to work for implicit
Pre-Depends), however the thing that bash provides that is "essential" is
/bin/sh. /bin/sh is not guaranteed to be present until after the postinst
runs, which means that anything using /bin/sh scripts implicitly
Pre-Depends on bash (depends are satisfied by unpack, pre-depends are
satisfied by unpack and configure). Obviously this is not good.[2]
[2] It should be noted that perl-base now also suffers from this same issue.
--=20
Joel Klecker (aka Espy)                    Debian GNU/Linux Developer
<URL:mailto:jk@espy.org>                 <URL:mailto:espy@debian.org>
<URL:http://web.espy.org/>               <URL:http://www.debian.org/>

--=20
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.o=
rg

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

I'd therefore like to propose adding something like the following to section
2.3.7, Essential packages:

----
2.3.7. Essential packages
-------------------------

     Some packages are tagged `essential'. (They have `Essential: yes' in
     their package control record.) This flag is used for packages that are
     _essential_ for a system.

     Since these packages can not easily be removed (you'll have to specify
     an extra _force option_ to `dpkg') this flag must only be used where
     absolutely necessary. A shared library package must not be tagged
     _essential_--the dependencies will prevent its premature removal, and
     we need to be able to remove it when it has been superseded.

+    Further, since these packages may be implicitly required by any
+    number of other packages, including dpkg itself, they must function
+    correctly even while unconfigured.

     You must not tag any packages `essential' before this has been
     discussed on the `debian-devel' mailing and a consensus about doing
     that has been reached.
----

Cheers,
aj

--=20
Anthony Towns <aj@humbug.org.au> <http://azure.humbug.org.au/~aj/>
I don't speak for anyone save myself. PGP encrypted mail preferred.

 ``The thing is: trying to be too generic is EVIL. It's stupid, it=20
        results in slower code, and it results in more bugs.''
                                        -- Linus Torvalds

--liOOAslEiF7prFVr
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: SPn6g1zSgAQnz/5kTzUv64Veayt3WhBU
Comment: Key available at http://azure.humbug.org.au/~aj/aj_key.asc

iQCVAwUBODddneRRvX9xctrtAQEPVgQArTXeYFz/OTUWF/F6ThEbR/3zEqViFlhb
O05qHjw2XC8hlRvg2gkJYPAuI+S4l1Q9I+yY1vo/CDXA4qAHtKOt5GnJFnuEUscz
5wpxWKgboYLErP1KyR9u+y253Ni+HQnwoqtlDBCMu1bBAx2TJK6UOeP9v1nlXO1N
2eTfOJq6ViY=
=Gn52
-----END PGP SIGNATURE-----

--liOOAslEiF7prFVr--
---------------------------------------
Received: (at 50832-done) by bugs.debian.org; 28 Aug 2000 11:28:31 +0000
>From J.D.Gilbey@qmw.ac.uk Mon Aug 28 06:28:30 2000
Return-path: <J.D.Gilbey@qmw.ac.uk>
Received: from mserv1a.vianw.co.uk [::ffff:195.102.240.34] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 13TN5W-0006tx-00; Mon, 28 Aug 2000 06:28:26 -0500
Received: from [195.102.196.197] (helo=polya)
	by mserv1a.vianw.co.uk with esmtp (Exim 2.10 #63)
	id 13TN5Q-0006Lf-00; Mon, 28 Aug 2000 12:28:21 +0100
Received: from jdg by polya with local (Exim 3.12 #1 (Debian))
	id 13TN5A-0004eC-00; Mon, 28 Aug 2000 12:28:04 +0100
Date: Mon, 28 Aug 2000 12:28:04 +0100
From: Julian Gilbey <J.D.Gilbey@qmw.ac.uk>
To: 46522-done@bugs.debian.org, 48247-done@bugs.debian.org,
	50832-done@bugs.debian.org, 53759-done@bugs.debian.org,
	58759-done@bugs.debian.org, 61308-done@bugs.debian.org,
	62668-done@bugs.debian.org, 62946-done@bugs.debian.org,
	62947-done@bugs.debian.org, 62948-done@bugs.debian.org,
	64004-done@bugs.debian.org, 64006-done@bugs.debian.org,
	64437-done@bugs.debian.org, 64516-done@bugs.debian.org,
	69031-done@bugs.debian.org, 69424-done@bugs.debian.org,
	69426-done@bugs.debian.org, 69487-done@bugs.debian.org,
	69670-done@bugs.debian.org
Cc: Manoj Srivastava <srivasta@debian.org>
Subject: Closed in debian-policy 3.2.1.0
Message-ID: <20000828122804.A17862@polya>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: Mutt/1.0.1i
Delivered-To: 50832-done@bugs.debian.org

Thanks to Manoj for closing all of these bugs in debian-policy version
3.2.1.0.

   Julian

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

  Julian Gilbey, Dept of Maths, QMW, Univ. of London. J.D.Gilbey@qmw.ac.uk
        Debian GNU/Linux Developer,  see http://www.debian.org/~jdg
  Donate free food to the world's hungry: see http://www.thehungersite.com/



Reply to: