[Pkg-bluetooth-maintainers] Bug#388514: bluez-utils: dund cannot
start if SDPTOOL_OPTIONS is not null in init script
Alessandro Valente
ale at mioindirizzo.org
Wed Sep 20 21:47:38 UTC 2006
Package: bluez-utils
Version: 3.1-4+b1
Severity: normal
Tags: patch
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (990, 'testing'), (95, 'stable'), (70, 'unstable'), (65, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages bluez-utils depends on:
ii dbus 0.62-4 simple interprocess messaging syst
ii libbluetooth2 3.1-1 Library to use the BlueZ Linux Blu
ii libc6 2.3.6.ds1-4 GNU C Library: Shared libraries
ii libdbus-1-3 0.92-2 simple interprocess messaging syst
ii libdbus-glib-1-2 0.71-2 simple interprocess messaging syst
ii libglib2.0-0 2.10.3-3 The GLib library of C routines
ii libusb-0.1-4 2:0.1.12-2 userspace USB programming library
ii lsb-base 3.1-15 Linux Standard Base 3.1 init scrip
ii makedev 2.3.1-82 creates device files in /dev
ii module-init-tools 3.2.2-3 tools for managing Linux kernel mo
ii modutils 2.4.27.0-6 Linux module utilities
ii sysvinit 2.86.ds1-15 System-V-like init utilities
ii udev 0.093-1 /dev/ and hotplug management daemo
bluez-utils recommends no packages.
-- no debconf information
if SDPTOOL_OPTIONS is not null in /etc/default/bluetooth
"/etc/init.d/bluetooth start" pass wrong argument to dund
cause: run_sdptool() change IFS and don't restore it on exit.
-------------- next part --------------
--- bluetooth.old 2006-09-11 07:23:40.000000000 +0200
+++ bluetooth 2006-09-20 22:29:12.000000000 +0200
@@ -90,11 +90,13 @@
test -x $SDPTOOL || return 1
if ! test -z "$SDPTOOL_OPTIONS" ; then
+ OLDIFS="$IFS"
IFS=";"
for o in $SDPTOOL_OPTIONS ; do
#echo "execing $SDPTOOL $o"
$SDPTOOL $o &>/dev/null
done
+ IFS="$OLDIFS"
fi
}
More information about the Pkg-bluetooth-maintainers
mailing list