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

Bug#133030: marked as done (debian-policy: debconf policy (specification) implies dpkg will run .config before preinst ALWAYS)



Your message dated Sat, 09 Feb 2002 21:02:29 -0600
with message-id <87n0yi59a2.fsf@glaurung.green-gryphon.com>
and subject line Bug#133030: debian-policy: debconf policy (specification)  implies dpkg will run .config before preinst ALWAYS
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 maintonly) by bugs.debian.org; 8 Feb 2002 23:29:32 +0000
>From hmh@debian.org Fri Feb 08 17:29:32 2002
Return-path: <hmh@debian.org>
Received: from khazad-dum.debian.net [200.196.10.6] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 16ZKSS-0002WJ-00; Fri, 08 Feb 2002 17:29:32 -0600
Received: by khazad-dum.debian.net (Postfix, from userid 1000)
	id B46891068F; Fri,  8 Feb 2002 21:29:27 -0200 (BRST)
Date: Fri, 8 Feb 2002 21:29:27 -0200
From: Henrique de Moraes Holschuh <hmh@debian.org>
To: Debian Bug Tracking System <maintonly@bugs.debian.org>
Subject: debian-policy: debconf policy (specification) implies dpkg will run .config before preinst ALWAYS
Message-ID: <[🔎] 20020208212927.A21723@khazad-dum>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
X-Reportbug-Version: 1.42
X-GPG-Fingerprint-1: 1024D/128D36EE 50AC 661A 7963 0BBA 8155  43D5 6EF7 F36B 128D 36EE
X-GPG-Fingerprint-2: 1024D/1CDB0FE3 5422 5C61 F6B7 06FB 7E04  3738 EE25 DE3F 1CDB 0FE3
Delivered-To: maintonly@bugs.debian.org

Package: debian-policy
Version: 3.5.6.0
Severity: minor

The debconf specification text says:

  The config-file contains a new element, which I call the configmodule.
  This is a program that will determine the configuration before the package
  is unpacked. This means it is run before the preinst, and before the
  package is unpacked! This is done to make sure that we can use the desired
  configuration in the preinst if necessary.


However, that not only is false when we "dpkg -i" something, but it also
will not work if apt-utils is not installed.  In that case, the preinst will
cause the config module to be run when /usr/share/debconf/confmodule is
first executed. If it is not executed, it will not run "before" the preinst
in that case (and it would actually run inside the preinst, not before
anyway...)

Please document this, it may save someone a grave bug someday, and maybe
even avoid a lot of headaches.

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux khazad-dum 2.4.18-pre3-k7 #1 Dom Jan 13 01:00:51 BRST 2002 i686
Locale: LANG=pt_BR, LC_CTYPE=pt_BR

Versions of packages debian-policy depends on:
ii  fileutils                     4.1-9      GNU file management utilities.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

---------------------------------------
Received: (at 133030-done) by bugs.debian.org; 10 Feb 2002 03:04:30 +0000
>From srivasta@golden-gryphon.com Sat Feb 09 21:04:30 2002
Return-path: <srivasta@golden-gryphon.com>
Received: from cmc3107833-a.mbl1.al.home.com (glaurung.green-gryphon.com) [24.37.208.47] (srivasta)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 16ZkI1-0002NJ-00; Sat, 09 Feb 2002 21:04:29 -0600
Received: from glaurung.green-gryphon.com (localhost [127.0.0.1])
	by glaurung.green-gryphon.com (8.12.1/8.12.1/Debian -5) with ESMTP id g1A32UuI024244;
	Sat, 9 Feb 2002 21:02:31 -0600
Received: (from srivasta@localhost)
	by glaurung.green-gryphon.com (8.12.1/8.12.1/Debian -5) id g1A32UZ6024241;
	Sat, 9 Feb 2002 21:02:30 -0600
X-Mailer: emacs 21.1.1 (via feedmail 9-beta-7 I)
Sender: srivasta@golden-gryphon.com
To: Henrique de Moraes Holschuh <hmh@debian.org>
Cc: 133030-done@bugs.debian.org
Subject: Re: Bug#133030: debian-policy: debconf policy (specification)
 implies dpkg will run .config before preinst ALWAYS
References: <[🔎] 20020208212927.A21723@khazad-dum>
From: Manoj Srivastava <srivasta@debian.org>
User-Agent: Microsoft Gnus Express, Build 5.090006 (0.06)
X-URL: http://www.debian.org/%7Esrivasta/
Organization: The Debian Project
Mail-Copies-To: nobody
X-Time: Sat Feb  9 21:02:28 2002
X-Face:  #q.#]5@vq!Jz+E0t_/;Y^gTjR\T^"B'fbeuVGiyKrvbfKJl!^e|e:iu(kJ6c|QYB57LP*|t
 &YlP~HF/=h:GA6o6W@I#deQL-%#.6]!z:6Cj0kd#4]>*D,|0djf'CVlXkI,>aV4\}?d_KEqsN{Nnt7
 78"OsbQ["56/!nisvyB/uA5Q.{)gm6?q.j71ww.>b9b]-sG8zNt%KkIa>xWg&1VcjZk[hBQ>]j~`Wq
 Xl,y1a!(>6`UM{~'X[Y_,Bv+}=L\SS*mA8=s;!=O`ja|@PEzb&i0}Qp,`Z\:6:OmRi*
Date: Sat, 09 Feb 2002 21:02:29 -0600
In-Reply-To: <[🔎] 20020208212927.A21723@khazad-dum> (Henrique de Moraes
 Holschuh's message of "Fri, 8 Feb 2002 21:29:27 -0200")
Message-ID: <87n0yi59a2.fsf@glaurung.green-gryphon.com>
Lines: 24
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Delivered-To: 133030-done@bugs.debian.org

Hi,
>>"Henrique" == Henrique de Moraes Holschuh <hmh@debian.org> writes:

 Henrique> The debconf specification text says:

 [whatever]


 Henrique> Please document this, it may save someone a grave bug
 Henrique> someday, and maybe even avoid a lot of headaches.

	Why? Policy does not contain the faulty text. The debconf
 specification is not in policy. Debconf documentation already
 documents that fact. I see no reason to add details of yet another
 program into policy.

	manoj

-- 
 The number of UNIX installations has grown to 10, with more
 expected. The Unix Programmer's Manual, 2nd Edition, June 1972
Manoj Srivastava   <srivasta@debian.org>  <http://www.debian.org/%7Esrivasta/>
1024R/C7261095 print CB D9 F4 12 68 07 E4 05  CC 2D 27 12 1D F5 E8 6E
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C



Reply to: