Package: firestarter
Version: 1.0.3-1.1
Severity: normal
Tags: patch
The postrm script has the following snippet:
if [ -e /etc/dhclient-exit-hooks ]; then
if grep "sh /etc/init.d/firestarter start" /etc/dhclient-exit-hooks >/
dev/null; then
TMP=`mktemp -q`
grep -v "sh /etc/init.d/firestarter start" /etc/dhclient-exit-hooks
> $TMP
if [ $? -ne 2 ]; then
mv $TMP /etc/dhclient-exit-hooks
else
rm $TMP
fi
fi
fi
On my system /etc/dhclient-exit-hooks contained the single line
"sh /etc/init.d/firestarter start". Thus the 'grep -v' that was used to
remove it returned an error (it found no lines).
Solutions: grep -v || true, or replace the whole thing with a:
sed -i -e '/sh \/etc\/init.d\/firestarter start/d' /etc/dhclient-exit-hooks
Note that this would require depending on sed => 3.90 or similar
(practically the sed package in sarge. The old sed package in woody did
not support the useful -i switch)
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.15-rc5-swsusp-2
Locale: LANG=he_IL.UTF-8, LC_CTYPE=he_IL.UTF-8 (charmap=UTF-8)
Versions of packages firestarter depends on:
ii gksu 1.2.5-3 graphical frontend to su
ii iptables 1.2.11-10 Linux kernel 2.4+ iptables adminis
ii libart-2.0-2 2.3.17-1 Library of functions for 2D graphi
ii libatk1.0-0 1.8.0-4 The ATK accessibility toolkit
ii libaudiofile0 0.2.6-6 Open-source version of SGI's audio
ii libbonobo2-0 2.8.1-2 Bonobo CORBA interfaces library
ii libbonoboui2-0 2.8.1-2 The Bonobo UI library
ii libc6 2.3.2.ds1-22sarge3 GNU C Library: Shared libraries an
ii libesd0 0.2.35-2 Enlightened Sound Daemon - Shared
ii libgconf2-4 2.8.1-6 GNOME configuration database syste
ii libgcrypt11 1.2.0-11.1 LGPL Crypto library - runtime libr
ii libglade2-0 1:2.4.2-2 library to load .glade files at ru
ii libglib2.0-0 2.6.4-1 The GLib library of C routines
ii libgnome-keyring0 0.4.2-1 GNOME keyring services library
ii libgnome2-0 2.8.1-2 The GNOME 2 library - runtime file
ii libgnomecanvas2-0 2.8.0-1 A powerful object-oriented display
ii libgnomeui-0 2.8.1-3 The GNOME 2 libraries (User Interf
ii libgnomevfs2-0 2.8.4-4 The GNOME virtual file-system libr
ii libgnutls11 1.0.16-13.2 GNU TLS library - runtime library
ii libgpg-error0 1.0-1 library for common error values an
ii libgtk2.0-0 2.6.4-3.1 The GTK+ graphical user interface
ii libice6 4.3.0.dfsg.1-14sarge1 Inter-Client Exchange library
ii libjpeg62 6b-10 The Independent JPEG Group's JPEG
ii liborbit2 1:2.12.2-1 libraries for ORBit2 - a CORBA ORB
ii libpango1.0-0 1.8.1-1 Layout and rendering of internatio
ii libpopt0 1.7-5 lib for parsing cmdline parameters
ii libsm6 4.3.0.dfsg.1-14sarge1 X Window System Session Management
ii libtasn1-2 0.2.10-3sarge1 Manage ASN.1 structures (runtime)
ii libx11-6 4.3.0.dfsg.1-14sarge1 X Window System protocol client li
ii libxml2 2.6.16-7 GNOME XML library
ii xlibs 4.3.0.dfsg.1-14sarge1 X Keyboard Extension (XKB) configu
ii zlib1g 1:1.2.2-4.sarge.2 compression library - runtime
-- no debconf information
--
Tzafrir Cohen
[EMAIL PROTECTED]
http://www.technion.ac.il/~tzafrir
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]