[Pkg-gpm-devel] Bug#266841: marked as done (/etc/init.d/gpm can't accept repeat_type=none)

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


Your message dated Fri, 20 Aug 2004 04:47:06 -0400
with message-id <E1By53C-0005bG-00@newraff.debian.org>
and subject line Bug#266841: 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 11:56:56 +0000
>From gp-ml@rm-rf.it Thu Aug 19 04:56:56 2004
Return-path: <gp-ml@rm-rf.it>
Received: from smtp3.libero.it [193.70.192.127] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BxlXL-00074h-00; Thu, 19 Aug 2004 04:56:56 -0700
Received: from localhost (172.16.1.83) by smtp3.libero.it (7.0.027-DD01)
        id 40D05D0F00DD1435; Thu, 19 Aug 2004 13:56:24 +0200
Received: from deb-linux-1 (151.44.37.199) by smtp1.libero.it (7.0.027-DD01)
        id 40CB29090307AF3A; Thu, 19 Aug 2004 13:56:29 +0200
Received: from cancan.lan-1.rm-rf.it
	([192.168.1.20] helo=cancan ident=postfix)
	by deb-linux-1 with esmtp (Exim 3.35 #1 (Debian))
	id 1BxlWq-0006DC-00; Thu, 19 Aug 2004 13:56:24 +0200
Received: from localhost (king.lan-1.rm-rf.it [192.168.1.250])
	by cancan (Postfix) with ESMTP
	id 082212A0B5; Thu, 19 Aug 2004 13:56:11 +0200 (CEST)
Received: from gpiero by localhost with local (Exim 4.34)
	id 1BxlWn-0001qV-Kd; Thu, 19 Aug 2004 13:56:21 +0200
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Gian Piero Carrubba <gp-ml@rm-rf.it>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: /etc/init.d/gpm can't accept repeat_type=none
X-Mailer: reportbug 2.64
Date: Thu, 19 Aug 2004 13:56:21 +0200
Message-Id: <E1BxlWn-0001qV-Kd@localhost>
X-Original-Sender: Gian Piero Carrubba <gpiero@king.lan-1.rm-rf.it>
X-Virus-Scanned: by amavisd-new at libero.it
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.19.6-14
Severity: normal

In order to disable the "repeat" feature, you need not to pass -R
option to gpm. Using "none" as repeat_type (as stated by the debconf
template) cause gpm to exit with error level.
Please correct the debconf template suggesting to leave the field blank
in order to not activate the repeat feature (preferred solution, imo) or
apply the following patch to /etc/init.d/gpm.

$ diff -u /etc/init.d/gpm.orig /etc/init.d/gpm
--- /etc/init.d/gpm.orig        2004-08-17 11:09:46.000000000 +0200
+++ /etc/init.d/gpm     2004-08-19 13:48:08.000000000 +0200
@@ -23,7 +23,7 @@
   if [ -n "$type" ]; then cmdln="$cmdln -t $type"; fi
   if [ -n "$responsiveness" ]; then cmdln="$cmdln -r $responsiveness"; fi
   if [ -n "$sample_rate" ]; then cmdln="$cmdln -s $sample_rate"; fi
-  if [ -n "$repeat_type" ]; then cmdln="$cmdln -R$repeat_type"; fi
+  if [ -n "$repeat_type" -a "$repeat_type" != "none" ]; then cmdln="$cmdln -R$repeat_type"; fi
   # Yes, this /IS/ correct! There is no space after -R!!!!!!
   # I reserve the right to throw manpages at anyone who disagrees.
   if [ -n "$append" ]; then cmdln="$cmdln $append"; fi


Thanks,
Gian Piero.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1
Locale: LANG=it_IT.UTF8@euro, LC_CTYPE=it_IT.UTF8@euro

Versions of packages gpm depends on:
ii  debconf [debconf-2.0]       1.4.31       Debian configuration management sy
ii  debianutils                 2.8.4        Miscellaneous utilities specific t
ii  libc6                       2.3.2.ds1-16 GNU C Library: Shared libraries an
ii  libncurses5                 5.4-4        Shared libraries for terminal hand

-- debconf information:
* gpm/responsiveness:
* gpm/repeat_type:
* gpm/append:
  gpm/gpmconfig_fix: true
* gpm/restart: true
* gpm/sample_rate:
* gpm/type: autops2
* gpm/device: /dev/input/mice
* gpm/restart_default: true

---------------------------------------
Received: (at 266841-close) by bugs.debian.org; 20 Aug 2004 08:54:09 +0000
>From katie@ftp-master.debian.org Fri Aug 20 01:54:09 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-0005Cp-00; Fri, 20 Aug 2004 01:54:09 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1By53C-0005bG-00; Fri, 20 Aug 2004 04:47:06 -0400
From: Guillem Jover <guillem@debian.org>
To: 266841-close@bugs.debian.org
X-Katie: $Revision: 1.51 $
Subject: Bug#266841: fixed in gpm 1.19.6-15
Message-Id: <E1By53C-0005bG-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Fri, 20 Aug 2004 04:47:06 -0400
Delivered-To: 266841-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: 
X-CrossAssassin-Score: 2

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 266841@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-----