Package: bluez-utils Version: 3.5-1 Severity: normal I have SDPTOOL_OPTIONS="add --channel=3 SP" in my /etc/default/bluetooth. The command fails because kernel modules need time to load. I need to insert a "sleep 1" to make things work.
Also sdptool outputs and errors are redirected to /dev/null and no check is done for errors. I solved my problem this way: *** --- bluetooth-3.5-1 2006-09-21 09:37:00.000000000 +0200 +++ bluetooth 2006-09-22 13:26:29.000000000 +0200 @@ -90,12 +90,13 @@ test -x $SDPTOOL || return 1 if ! test -z "$SDPTOOL_OPTIONS" ; then + sleep 1 oldifs="$IFS" IFS=";" for o in $SDPTOOL_OPTIONS ; do #echo "execing $SDPTOOL $o" IFS=" " - $SDPTOOL $o &>/dev/null + $SDPTOOL $o &>/dev/null || echo -e "\nFAILED:" $SDPTOOL $o done IFS="$oldifs" fi *** Hope someone find a better solution... -- 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.92-2 simple interprocess messaging syst ii libbluetooth2 3.5-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 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-83 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-20 System-V-like init utilities ii udev 0.100-1 /dev/ and hotplug management daemo bluez-utils recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]