Bug#258281: marked as done (dh_gconf: postinst fragment crashes if gconfd-2 is not running)

Debian Bug Tracking System owner@bugs.debian.org
Fri, 09 Jul 2004 09:18:13 -0700


Your message dated Fri, 09 Jul 2004 18:08:22 +0200
with message-id <1089389302.22134.2.camel@arrakis.localnet>
and subject line Bug#258281: dh_gconf: postinst fragment crashes if gconfd-2 is not running
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; 8 Jul 2004 17:25:42 +0000
>From zack@codesourcery.com Thu Jul 08 10:25:42 2004
Return-path: <zack@codesourcery.com>
Received: from voldemort.codesourcery.com (mail.codesourcery.com) [65.74.133.5] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BiceU-0000U4-00; Thu, 08 Jul 2004 10:25:42 -0700
Received: (qmail 3015 invoked from network); 8 Jul 2004 17:25:41 -0000
Received: from taltos.codesourcery.com (zack@66.92.218.83)
  by mail.codesourcery.com with DES-CBC3-SHA encrypted SMTP; 8 Jul 2004 17:25:41 -0000
Received: by taltos.codesourcery.com (sSMTP sendmail emulation); Thu,  8 Jul 2004 10:25:40 -0700
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Zack Weinberg <zack@codesourcery.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: dh_gconf: postinst fragment crashes if gconfd-2 is not running
X-Debian-CC: debian-gtk-gnome@lists.debian.org
X-Mailer: reportbug 2.63
Date: Thu, 08 Jul 2004 10:25:40 -0700
Message-Id: <E1BiceU-0000U4-00@spohr.debian.org>
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: debhelper
Version: 4.2.12
Severity: grave
File: /usr/bin/dh_gconf
Justification: renders packages uninstallable

dh_gconf generates postinst fragments that contain the line

	kill -HUP `pidof gconfd-2`

If gconfd-2 is not running when the postinst executes, this command
will fail, causing the postinst to abort.  Suggest instead the construct

	if gconfd_pid=`pidof gconfd-2`; then
		kill -HUP $gconfd_pid
	fi

(tested to work correctly when gconfd is not running, using both bash
and dash.)  I'm calling this a grave bug because it renders packages
uninstallable, albeit not the debhelper package.

I encountered this problem with the gnome-session package; it should be
fixed quickly before the bad code propagates to more packages.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.7
Locale: LANG=en_US, LC_CTYPE=en_US

Versions of packages debhelper depends on:
ii  binutils                   2.14.90.0.7-8 The GNU assembler, linker and bina
ii  coreutils [fileutils]      5.0.91-2      The GNU core utilities
ii  debconf-utils              1.4.29        debconf utilities
ii  dpkg-dev                   1.10.22       Package building tools for Debian
ii  file                       4.09-1        Determines file type using "magic"
ii  html2text                  1.3.2a-1      An advanced HTML to text converter
ii  perl                       5.8.4-2       Larry Wall's Practical Extraction 
ii  po-debconf                 0.8.12        Manage translated Debconf template

-- no debconf information

---------------------------------------
Received: (at 258281-done) by bugs.debian.org; 9 Jul 2004 16:08:37 +0000
>From josselin.mouette@ens-lyon.org Fri Jul 09 09:08:37 2004
Return-path: <josselin.mouette@ens-lyon.org>
Received: from tc2.perso.ens-lyon.org (arrakis.localnet) [62.212.101.78] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BixvR-0005is-00; Fri, 09 Jul 2004 09:08:37 -0700
Received: from joss by arrakis.localnet with local (Exim 4.34)
	id 1BixvD-0007P5-Nw; Fri, 09 Jul 2004 18:08:23 +0200
Subject: Re: Bug#258281: dh_gconf: postinst fragment crashes if gconfd-2 is
	not running
From: Josselin Mouette <joss@debian.org>
To: Joey Hess <joeyh@debian.org>
Cc: Zack Weinberg <zack@codesourcery.com>, 258281-done@bugs.debian.org
In-Reply-To: <20040708201532.GC28435@kitenet.net>
References: <E1BiceU-0000U4-00@spohr.debian.org>
	 <20040708201532.GC28435@kitenet.net>
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-W+AASLcgS0lSjd/5zswK"
Date: Fri, 09 Jul 2004 18:08:22 +0200
Message-Id: <1089389302.22134.2.camel@arrakis.localnet>
Mime-Version: 1.0
X-Mailer: Evolution 1.5.9.1 
Sender: Josselin Mouette <josselin.mouette@ens-lyon.org>
Delivered-To: 258281-done@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: 


--=-W+AASLcgS0lSjd/5zswK
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: quoted-printable

Le jeu, 08/07/2004 =E0 16:15 -0400, Joey Hess a =E9crit :
> Two days ago, Josselin Mouette mailed me a new version of dh_gconf that
> behaves as you describe, but I never uploaded a version of debhelper with
> it (because Josselin did not send it as a patch or describe the changes,
> and I did not yet have enough time to look over it and figure out what
> he changed). Today he sent me a new version which seems to avoid that
> problem. It had a few problems which I've fixed (a bashism) and I'm plann=
ing
> to release debhelper with the attached patch tomorrow if Josselin confirm=
s
> it works.

Yes, I'm sorry, I've uploaded a gnome-session package built with my
local version of dh_gconf, which had this buggy line.

I've uploaded a fixed gnome-session, and I can confirm that the version
I sent you is working properly.

Regards,
--=20
 .''`.           Josselin Mouette        /\./\
: :' :           josselin.mouette@ens-lyon.org
`. `'                        joss@debian.org
  `-  Debian GNU/Linux -- The power of freedom

--=-W+AASLcgS0lSjd/5zswK
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Ceci est une partie de message
	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=

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

iD8DBQBA7sL2rSla4ddfhTMRAgA4AJ9Q9um8DUMobTylESMkrZSK10NE6wCgxbU5
81H3HI3lfjTQd3NO/EZQUyg=
=zVL1
-----END PGP SIGNATURE-----

--=-W+AASLcgS0lSjd/5zswK--