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

Bug#189370: marked as done (stop the "manage with debconf" madness)



Your message dated Fri, 18 Apr 2003 08:39:34 +0900 (JST)
with message-id <20030418.083934.07642751.kohda@pm.tokushima-u.ac.jp>
and subject line irrelevant
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; 16 Apr 2003 23:10:03 +0000
>From walters@debian.org Wed Apr 16 18:10:03 2003
Return-path: <walters@debian.org>
Received: from (monk.verbum.org) [216.226.142.159] (postfix)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 195w2V-0003GB-00; Wed, 16 Apr 2003 18:10:03 -0500
Received: from columbia (dhcp024-208-189-249.columbus.rr.com [24.208.189.249])
	(using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits))
	(Client CN "columbia.verbum.org", Issuer "verbum.org CA" (verified OK))
	by monk.verbum.org (Postfix (Debian/GNU)) with ESMTP
	id 84E2C7400093; Wed, 16 Apr 2003 19:10:02 -0400 (EDT)
Received: by columbia (Postfix, from userid 1000)
	id 1014826F0C7; Wed, 16 Apr 2003 19:08:17 -0400 (EDT)
Subject: stop the "manage with debconf" madness
From: Colin Walters <walters@debian.org>
To: debian-devel@lists.debian.org
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-EVbosdMS/TrwiEqHdsf+"
Organization: The Debian Project
Message-Id: <1050534497.8818.30.camel@columbia>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.3.1 (Preview Release)
Date: 16 Apr 2003 19:08:17 -0400
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-1.1 required=4.0
	tests=HAS_PACKAGE,NOSPAM_INC,PGP_SIGNATURE_2,SPAM_PHRASE_00_01
	version=2.44
X-Spam-Level: 


--=-EVbosdMS/TrwiEqHdsf+
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable


Package: laptop-net
Severity: serious

I just installed "laptop-net", becuase it looked similar to something
I'd like to work on.

The first thing it asked me was whether I wanted to "manage" its
configuration file with Debconf, and it defaulted to "yes"!

This behavior needs to stop, now.  It is a violation of Policy, section
11.7.3, which states that local changes must be preserved during a
package upgrade.

Debconf is NOT a license to overwrite user's configurations! =20

Yes, I am quite aware that XFree86 does this.  We as a project have
accepted that XFree86 does it because parsing XF86Config perfectly and
preserving changes is very difficult.  But that doesn't mean that every
package can do it.  And hopefully the X maintainer is working on a
solution for XFree86.

First of all, these questions CANNOT default to yes.  If my debconf
priority is higher than the question, then I won't even see it, and I
won't know that I've just given the package a license to destroy my
local changes.

I propose a different solution to this problem, which conforms much more
with policy, while still allowing debconf to be used as much as
possible.

In my fontconfig packages, /etc/fonts/local.conf is a configuration file
(not a conffile).  When the in fontconfig.config, I check to see whether
that file exists.  If it does, then I don't ask any questions at all.=20
That way we never overwrite their config file.

Now, I also have special support for "dpkg-reconfigure".  Inside
fontconfig.conf, I check to see if $1 is "reconfigure".  If it is, and
/etc/fonts/local.conf exists, then I warn the user that continuing will
overwrite all their changes.  The default is no. =20

Now, it might be nice to have generic support in debconf for handling
configuration file overwriting.   So I could say like:

db_overwrite_warning /etc/fonts/local.conf

And debconf would handle the prompt, so we wouldn't have to have to
handle it individually in each package.  Or maybe we could have a
separate file like debian/fontconfig.debconf_config_files.

But that's just making things a bit nicer.  In the meantime, I will be
filing serious bugs against packages which have "manage with debconf"
prompts (except XFree86), ESPECIALLY the ones which default to yes.


--=-EVbosdMS/TrwiEqHdsf+
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

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

iD8DBQA+neJhOIkJWWp2WGURAia/AJ9KRNztPgdp23apuI6D722HzqfRvACfdLH3
IM6NF6dBR86HHPZRxrOVhX4=
=mTpl
-----END PGP SIGNATURE-----

--=-EVbosdMS/TrwiEqHdsf+--

---------------------------------------
Received: (at 189370-done) by bugs.debian.org; 17 Apr 2003 23:39:40 +0000
>From kohda@pm.tokushima-u.ac.jp Thu Apr 17 18:39:40 2003
Return-path: <kohda@pm.tokushima-u.ac.jp>
Received: from civic.pm.tokushima-u.ac.jp [150.59.48.140] (mail)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 196Iyh-0000kI-00; Thu, 17 Apr 2003 18:39:40 -0500
Received: from localhost ([127.0.0.1] ident=kohda)
	by civic.pm.tokushima-u.ac.jp with esmtp (Exim 3.36 #1 (Debian))
	id 196Iyf-0001fC-00; Fri, 18 Apr 2003 08:39:37 +0900
Date: Fri, 18 Apr 2003 08:39:34 +0900 (JST)
Message-Id: <20030418.083934.07642751.kohda@pm.tokushima-u.ac.jp>
To: 189370-done@bugs.debian.org
Cc: debian-devel@lists.debian.org
Subject: irrelevant
From: Atsuhito Kohda <kohda@pm.tokushima-u.ac.jp>
X-Mailer: Mew version 3.2 on Emacs 21.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Delivered-To: 189370-done@bugs.debian.org
X-Spam-Status: No, hits=0.5 required=4.0
	tests=SIGNATURE_SHORT_DENSE,SPAM_PHRASE_00_01
	version=2.44
X-Spam-Level: 

Hi,

Did you really investigate tetex-bin?  It is completely 
irrelevant with the current problem you claimed, I believe.

It doesn't modify any conffile but only asks how to set 
permissions of a file and/or asks which hyphenation pattern
to load.

Further,

   The first thing it asked me was whether I wanted to "manage" its
   configuration file with Debconf, and it defaulted to "yes"!

this doesn't immediately mean always

   This behavior needs to stop, now.  It is a violation of Policy, section
   11.7.3, which states that local changes must be preserved during a
   package upgrade.

It would be possible to preserve local changes with debconf
in some cases, IMHO, and there might be good reason to set
default answer to "yes".

   But that's just making things a bit nicer.  In the meantime, I will be
   filing serious bugs against packages which have "manage with debconf"
   prompts (except XFree86), ESPECIALLY the ones which default to yes.

Why except only XFree86?  Do you really know every other
packages situation well enough?

I believe we should be, generally, more flexible with conffile 
handling.  We need to reset a computer sometimes...

Thanks,				2003.4.18(Fri)

-- 
 Debian Developer & Debian JP Developer - much more I18N of Debian
 Atsuhito Kohda <kohda@debian.org>
 Department of Math., Univ. of Tokushima



Reply to: