Bug#406624: [Pkg-bluetooth-maintainers] Bug#406624: BLUETOOTH_ENABLED=0 still stop script is run
On Sat, Jan 13, 2007 at 07:53:08AM +0100, Soeren Sonnenburg wrote: On Fri, 2007-01-12 at 22:26 +0100, Filippo Giunchedi wrote: This caused a hang on reboot/shutdown here. Hi, is this bug reproducible or it is a one-time thing? which bluetooth hardware do you have? This was 100% reproducable. However I only noticed this when I removed my bluetooth dongle. which chipset/brand dongle is it? That is: - insert the dongle - /etc/init.d/bluetooth start - remove the dongle - /etc/init.d/bluetooth stop - crash is that correct? could you please document the exact procedure you followed? however, how bluetooth is supposed not to stop in the init script if it was disabled in the first place? (i.e. it never started) I'm downgrading it since it has not been reported before and seems to affect only a class of users. I guess no one noticed this as users probably only install the bluetooth packages if they intend to use it... and for those users with no bluetooth hardware it works fine at least to my knowledge thanks, filippo -- Filippo Giunchedi - http://esaurito.net PGP key: 0x6B79D401 random quote follows: UNIX was not designed to stop its users from doing stupid things, as that would also stop them from doing clever things. -- Doug Gwyn signature.asc Description: Digital signature
Bug#406624: BLUETOOTH_ENABLED=0 still stop script is run
Package: bluez-utils Version: 3.7-1 Severity: grave Tags: patch This caused a hang on reboot/shutdown here. Trivial fix follows: --- bluetooth.orig 2006-10-09 15:55:01.0 +0200 +++ bluetooth 2007-01-12 12:51:52.0 +0100 @@ -222,6 +222,9 @@ ;; stop) log_daemon_msg Stopping $DESC + if test $BLUETOOTH_ENABLED == 0; then + exit 0 + fi stop_pan || true stop_rfcomm || true disable_hci_input || true -- System Information: Debian Release: 4.0 APT prefers stable APT policy: (700, 'stable'), (650, 'testing'), (600, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.19-mactel-sonne Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages bluez-utils depends on: ii dbus1.0.2-1 simple interprocess messaging syst ii libbluetooth2 3.7-1Library to use the BlueZ Linux Blu ii libc6 2.3.6.ds1-10 GNU C Library: Shared libraries ii libdbus-1-3 1.0.2-1 simple interprocess messaging syst ii libusb-0.1-42:0.1.12-2 userspace USB programming library ii lsb-base3.1-22 Linux Standard Base 3.1 init scrip ii makedev 2.3.1-83 creates device files in /dev ii module-init-tools 3.3-pre4-1 tools for managing Linux kernel mo ii modutils2.4.27.0-6 Linux module utilities ii udev0.103-2 /dev/ and hotplug management daemo Versions of packages bluez-utils recommends: pn bluez-passkey-gnome none (no description available) -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#406624: [Pkg-bluetooth-maintainers] Bug#406624: BLUETOOTH_ENABLED=0 still stop script is run
severity 406624 normal thanks On Fri, Jan 12, 2007 at 12:54:24PM +0100, Soeren Sonnenburg wrote: Package: bluez-utils Version: 3.7-1 Severity: grave Tags: patch This caused a hang on reboot/shutdown here. Hi, is this bug reproducible or it is a one-time thing? which bluetooth hardware do you have? I'm downgrading it since it has not been reported before and seems to affect only a class of users. thanks for the patch and the report, I've applied the patch with slight modification. filippo -- Filippo Giunchedi - http://esaurito.net PGP key: 0x6B79D401 random quote follows: I find television very educating. Every time somebody turns on the set, I go into the other room and read a book. -- Groucho Marx signature.asc Description: Digital signature
Bug#406624: [Pkg-bluetooth-maintainers] Bug#406624: BLUETOOTH_ENABLED=0 still stop script is run
On Fri, 2007-01-12 at 22:26 +0100, Filippo Giunchedi wrote: This caused a hang on reboot/shutdown here. Hi, is this bug reproducible or it is a one-time thing? which bluetooth hardware do you have? This was 100% reproducable. However I only noticed this when I removed my bluetooth dongle. I'm downgrading it since it has not been reported before and seems to affect only a class of users. I guess no one noticed this as users probably only install the bluetooth packages if they intend to use it... thanks for the patch and the report, I've applied the patch with slight modification. Thanks for fixing... Soeren. -- Sometimes, there's a moment as you're waking, when you become aware of the real world around you, but you're still dreaming. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]