Bug#258139: gnome-session: postinst fails if no gconfd-2 processes exist

Aaron M. Ucko "Aaron M. Ucko" <ucko@debian.org>, 258139@bugs.debian.org
Wed, 07 Jul 2004 17:03:12 -0400


Package: gnome-session
Version: 2.6.2-2
Severity: important

gnome-session.postinst contains the line

        kill -HUP `pidof gconfd-2`

which fails (and, thanks to -e, makes the whole script fail) if there
aren't actually any gconfd-2 processes running; please add "|| true".

[I'm Cc:ing debhelper's developer(s?) because the postinst claims the
relevant code came from dh_gconf; however, I see no indication that
the problematic command actually came from a released version of
debhelper.  4.2.12's postinst-gconf certainly has no kill commands at
all, and neither do the 40+ other dh_gconf postinsts on my system.]

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

Versions of packages gnome-session depends on:
ii  desktop-base              0.3.14         common files for the Debian Deskto
ii  libart-2.0-2              2.3.16-5       Library of functions for 2D graphi
ii  libatk1.0-0               1.6.1-2        The ATK accessibility toolkit
ii  libaudiofile0             0.2.6-4        Open-source version of SGI's audio
ii  libbonobo2-0              2.6.2-4        Bonobo CORBA interfaces library
ii  libbonoboui2-0            2.6.1-1        The Bonobo UI library
ii  libc6                     2.3.2.ds1-13   GNU C Library: Shared libraries an
ii  libesd-alsa0 [libesd0]    0.2.29-1       Enlightened Sound Daemon (ALSA) - 
ii  libgconf2-4               2.6.2-1        GNOME configuration database syste
ii  libglib2.0-0              2.4.2-1        The GLib library of C routines
ii  libgnome2-0               2.6.1-8        The GNOME 2 library - runtime file
ii  libgnomecanvas2-0         2.6.1.1-2      A powerful object-oriented display
ii  libgnomeui-0              2.6.1.1-3      The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0            2.6.1.1-3      The GNOME virtual file-system libr
ii  libgtk2.0-0               2.4.3-3        The GTK+ graphical user interface 
ii  libice6                   4.3.0.dfsg.1-5 Inter-Client Exchange library
ii  liborbit2                 1:2.10.2-1.1   libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0             1.4.0-4        Layout and rendering of internatio
ii  libpopt0                  1.7-4          lib for parsing cmdline parameters
ii  libsm6                    4.3.0.dfsg.1-5 X Window System Session Management
ii  libwrap0                  7.6.dbs-4      Wietse Venema's TCP wrappers libra
ii  libx11-6                  4.3.0.dfsg.1-5 X Window System protocol client li
ii  libxml2                   2.6.10-3       GNOME XML library
ii  libxmu6                   4.3.0.dfsg.1-5 X Window System miscellaneous util
ii  libxrandr2                4.3.0.dfsg.1-5 X Window System Resize, Rotate and
ii  libxrender1               0.8.3-7        X Rendering Extension client libra
ii  libxt6                    4.3.0.dfsg.1-5 X Toolkit Intrinsics
ii  xlibs                     4.3.0.dfsg.1-5 X Window System client libraries m
ii  zlib1g                    1:1.2.1.1-3    compression library - runtime

-- no debconf information