[Pkg-gpm-devel] Bug#266822: marked as done (gpm: debconf abuse; overwrites /etc/gpm.conf without asking)

Debian Bug Tracking System owner@bugs.debian.org
Fri, 20 Aug 2004 02:03:05 -0700


Your message dated Fri, 20 Aug 2004 04:47:06 -0400
with message-id <E1By53C-0005bE-00@newraff.debian.org>
and subject line Bug#266822: fixed in gpm 1.19.6-15
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; 19 Aug 2004 10:09:17 +0000
>From algernon@debian.org Thu Aug 19 03:09:17 2004
Return-path: <algernon@debian.org>
Received: from spool2-90.gatesgroup.hu (melkor.bonehunter.rulez.org) [195.56.78.90] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BxjrB-00033r-00; Thu, 19 Aug 2004 03:09:17 -0700
Received: from [195.56.78.90] (unknown [195.56.78.90])
	by melkor.bonehunter.rulez.org (Postfix) with ESMTP id 81BF31D7173
	for <submit@bugs.debian.org>; Thu, 19 Aug 2004 12:09:12 +0200 (CEST)
Subject: gpm: debconf abuse; overwrites /etc/gpm.conf without asking
From: Gergely Nagy <algernon@debian.org>
To: Debian BTS <submit@bugs.debian.org>
Content-Type: text/plain
Message-Id: <1092910131.5098.10.camel@melkor>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Thu, 19 Aug 2004 12:08:52 +0200
Content-Transfer-Encoding: 7bit
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=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: gpm
Version: 1.9.16-14
Severity: serious

I just upgraded gpm today, and was greeted with a sequence of debconf
questions. Now, I _had_ gpm configured just fine, an upgrade shouldn't
have bring up such a thing in the first place. I'd suggest checking if
/etc/gpm.conf exists, and skipping the debconf stuff in that case.

Furthermore, it DID NOT PROVIDE an option to leave my /etc/gpm.conf
alone, which I consider serious. I had a quite complex /etc/gpm.conf,
one that sourced other files, depending on the host it is used, and it
also had stuff my version control system uses. All this has been
overwritten, so my mouse does not work on any of my computers.

Please, stop abusing debconf. It is not meant to break configurations,
but to provide defaults, based on user input, where sensible defaults
cannot be made without the users help. But if the user already has
things set up, debconf should not be used at all. It is not a registry.
I want to edit /etc/gpm.conf by hand, that is how a unix system works.

If gpm wouldn't have launched debconf on upgrade (on a fresh install,
the questions are all nice and useful), I wouldn't have much problem.
But on an upgrade, when I had a working configuration and it broke it,
it is unacceptable. As is the requirement to modify /etc/gpm.conf with
dpkg-reconfigure. That's plain stupid, please don't do it. Modify the
debconf stuff to create the file if it does not exist, but do not
require it to be modified only via dpkg-reconfigure.


---------------------------------------
Received: (at 266822-close) by bugs.debian.org; 20 Aug 2004 08:54:08 +0000
>From katie@ftp-master.debian.org Fri Aug 20 01:54:08 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1By5A0-0005BV-00; Fri, 20 Aug 2004 01:54:08 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1By53C-0005bE-00; Fri, 20 Aug 2004 04:47:06 -0400
From: Guillem Jover <guillem@debian.org>
To: 266822-close@bugs.debian.org
X-Katie: $Revision: 1.51 $
Subject: Bug#266822: fixed in gpm 1.19.6-15
Message-Id: <E1By53C-0005bE-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Fri, 20 Aug 2004 04:47:06 -0400
Delivered-To: 266822-close@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=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Source: gpm
Source-Version: 1.19.6-15

We believe that the bug you reported is fixed in the latest version of
gpm, which is due to be installed in the Debian FTP archive:

gpm_1.19.6-15.diff.gz
  to pool/main/g/gpm/gpm_1.19.6-15.diff.gz
gpm_1.19.6-15.dsc
  to pool/main/g/gpm/gpm_1.19.6-15.dsc
gpm_1.19.6-15_i386.deb
  to pool/main/g/gpm/gpm_1.19.6-15_i386.deb
libgpmg1-dev_1.19.6-15_i386.deb
  to pool/main/g/gpm/libgpmg1-dev_1.19.6-15_i386.deb
libgpmg1_1.19.6-15_i386.deb
  to pool/main/g/gpm/libgpmg1_1.19.6-15_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 266822@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Guillem Jover <guillem@debian.org> (supplier of updated gpm package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Fri, 20 Aug 2004 10:23:05 +0200
Source: gpm
Binary: libgpmg1 gpm libgpmg1-dev
Architecture: source i386
Version: 1.19.6-15
Distribution: unstable
Urgency: medium
Maintainer: Debian GPM Team <pkg-gpm-devel@lists.alioth.debian.org>
Changed-By: Guillem Jover <guillem@debian.org>
Description: 
 gpm        - General Purpose Mouse Interface
 libgpmg1   - General Purpose Mouse - shared library
 libgpmg1-dev - General Purpose Mouse - development files
Closes: 266822 266841 266937 266942 266983
Changes: 
 gpm (1.19.6-15) unstable; urgency=medium
 .
   [ Peter Samuelson ]
   * gpm.config: Fix (harmless) warning if gpm.conf doesn't exist.
   * gpm.postrm: move debhelper stuff to the beginning of the script.
     Seems to work around debconf weirdness that causes an error exit.
     (Closes: #266942)
   * gpm.init: make "repeat_type=none" do what the debconf template
     says it does.  Thanks to Gian Piero Carrubba.  (Closes: #266841)
   * gpm.prerm: rewrite stop_gpm() to fix 3 bugs and improve readability:
     - space after \ line continuation char
     - 'gpm -x' should be 'gpm -k'
     - return success, not failure, if the daemon wasn't running
     (Closes: #266937)
   * gpm.postinst: only set up /dev/mouse if it doesn't already exist.
     It should not ever be needed anyway, and breaks the occasional
     config.  Also teach it about repeat_type=none and multi-level
     device names like /dev/input/mice.  (Closes: #266983)
   * gpm.init: minor UI issues:
     - print newlines after errors on start / stop targets
     - if stop failed on restart, do not bother to 'sleep 3'
     - propagate start failure on restart
   * gpm.templates: Reword gpm/restart so as not to imply that the user
     *is* necessarily in X.  We actually do not know this at the time.
 .
   [ Guillem Jover ]
   * Switched to ucf, so no more user configuration changes trashed on
     update. (Closes: #266822)
   * Removed debconf question about fixing an old bogus gpm.conf file
     generated with gpmconfig.
 .
   [ Joshua Kwan ]
   * Add Peter Samuelson to uploaders.
   * Remove unused 'read' patch, and 'sources' file.
   * Make the long descriptions a little clearer.
   * Handle case where ucf is not available in the postrm by testing for its
     existence first.
Files: 
 f366da475651be28249bfc2b9762b582 823 misc optional gpm_1.19.6-15.dsc
 87c2e5065603fc5c53bf7996f2402608 51349 misc optional gpm_1.19.6-15.diff.gz
 f2a7fa358824f4f19ef6443baa25ab79 187562 misc optional gpm_1.19.6-15_i386.deb
 b65c74e8d8af81ca25eb265d4c8a5e06 48326 libs standard libgpmg1_1.19.6-15_i386.deb
 c250753f8e1a4d23c20740c52f61a20a 50590 libdevel optional libgpmg1-dev_1.19.6-15_i386.deb

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

iD8DBQFBJbXvuW9ciZ2SjJsRAqZyAJ4l31DDzt2dIQydAqe5qXjfEI4UmwCcCF/H
jfb7iphnEaT5NfHeiZ/gzEc=
=Zsiy
-----END PGP SIGNATURE-----