[Pkg-shadow-devel] Bug#345651: marked as done (passwd package should be essential?)

Debian Bug Tracking System owner at bugs.debian.org
Wed Jan 11 18:20:29 UTC 2006


Your message dated Wed, 11 Jan 2006 18:15:25 +0100
with message-id <20060111171525.GD25709 at djedefre.onera>
and subject line Closing
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; 2 Jan 2006 15:09:05 +0000
>From kurt at roeckx.be Mon Jan 02 07:09:05 2006
Return-path: <kurt at roeckx.be>
Received: from adicia.telenet-ops.be ([195.130.132.56])
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1EtRJ3-00069T-Bo
	for submit at bugs.debian.org; Mon, 02 Jan 2006 07:09:05 -0800
Received: from localhost (localhost.localdomain [127.0.0.1])
	by adicia.telenet-ops.be (Postfix) with SMTP id 2F55838077
	for <submit at bugs.debian.org>; Mon,  2 Jan 2006 16:09:04 +0100 (CET)
Received: from Q.roeckx.be (dD5775F4A.access.telenet.be [213.119.95.74])
	by adicia.telenet-ops.be (Postfix) with ESMTP id 1424F3811F
	for <submit at bugs.debian.org>; Mon,  2 Jan 2006 16:09:04 +0100 (CET)
Received: by Q.roeckx.be (Postfix, from userid 501)
	id D5CD026136; Mon, 02 Jan 2006 16:09:04 +0100 (CET)
Date: Mon, 2 Jan 2006 16:09:04 +0100
From: Kurt Roeckx <kurt at roeckx.be>
To: submit at bugs.debian.org
Subject: passwd package should be essential?
Message-ID: <20060102150904.GA11408 at roeckx.be>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.4.2.1i
Delivered-To: submit at 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-Level: 
X-Spam-Status: No, hits=-7.4 required=4.0 tests=BAYES_00,HAS_PACKAGE,
	RCVD_IN_SORBS,RCVD_IN_SORBS_MISC autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02

Package: passwd
Version: 1:4.0.13-7
Severity: important

Hi,

I'm wondering if the passwd package should be essential or not.

And I want to start with quoting some relevant portions of the
policy:

3.5. Dependencies
[...]
     Packages are not required to declare any dependencies they have on
     other packages which are marked `Essential' (see below), and should
     not do so unless they depend on a particular version of that package.
[...]
3.9.1. Prompting in maintainer scripts
[...]
     Packages which use the Debian Configuration management specification
     may contain an additional `config' script and a `templates' file in
     their control archive[2].  The `config' script might be run before the
     `preinst' script, and before the package is unpacked or any of its
     dependencies or pre-dependencies are satisfied.  Therefore it must
     work using only the tools present in _essential_ packages.[3]
[...]
7.2. Binary Dependencies
[...]
     `Depends'
[...]
          The `Depends' field should also be used if the `postinst',
          `prerm' or `postrm' scripts require the package to be present in
          order to run.  Note, however, that the `postrm' cannot rely on
          any non-essential packages to be present during the `purge'
          phase.

=====================

Currently, you can perfectly remove passwd since it's not
essential, and nothing essential has a dependency on it.

Bash used to have a dependency on passwd, but this was
removed in 3.1-1, and was replaced by one on debianutils
because of #208514.  And debianutils is essential.  I
believe a better packages for that would have been
base-passwd.

So, passwd was virtually essential because bash had a
dependency on it, but now it doesn't anymore.

So why do I think passwd needs to be essential?

There are several things in the package that one might
want to run from one of the maintainer scripts from
debconf, like useradd, groupadd, userdel, ...


Kurt


---------------------------------------
Received: (at 345651-done) by bugs.debian.org; 11 Jan 2006 18:07:52 +0000
>From bubulle at kheops.frmug.org Wed Jan 11 10:07:50 2006
Return-path: <bubulle at kheops.frmug.org>
Received: from lns-bzn-50f-81-56-227-253.adsl.proxad.net ([81.56.227.253] helo=kheops.perrier.eu.org)
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1EwkNx-0005bs-R1
	for 345651-done at bugs.debian.org; Wed, 11 Jan 2006 10:07:50 -0800
Received: from localhost (localhost [127.0.0.1])
	by kheops.perrier.eu.org (Postfix) with ESMTP id 0B3804F973
	for <345651-done at bugs.debian.org>; Wed, 11 Jan 2006 19:07:17 +0100 (CET)
Received: from kheops.perrier.eu.org ([127.0.0.1])
	by localhost (kheops [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 11150-05 for <345651-done at bugs.debian.org>;
	Wed, 11 Jan 2006 19:07:16 +0100 (CET)
Received: from mykerinos.kheops.frmug.org (mykerinos.kheops.frmug.org [192.168.1.3])
	by kheops.perrier.eu.org (Postfix) with ESMTP id DE4074F979
	for <345651-done at bugs.debian.org>; Wed, 11 Jan 2006 19:07:15 +0100 (CET)
Received: by mykerinos.kheops.frmug.org (Postfix, from userid 1000)
	id 1512F40B89C; Wed, 11 Jan 2006 18:15:26 +0100 (CET)
Date: Wed, 11 Jan 2006 18:15:25 +0100
From: Christian Perrier <bubulle at debian.org>
To: 345651-done at bugs.debian.org
Subject: Closing
Message-ID: <20060111171525.GD25709 at djedefre.onera>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.11
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at kheops.frmug.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-Level: 
X-Spam-Status: No, hits=-2.0 required=4.0 tests=BAYES_00,ONEWORD autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02

The discussion on -devel did not draw much attention but the general
agreement seems to be *against* passwd being Essential.


-- 






More information about the Pkg-shadow-devel mailing list