Your message dated Mon, 28 Jul 2014 17:03:42 +0000
with message-id <e1xboks-0005xp...@franck.debian.org>
and subject line Bug#755274: fixed in bluez 5.21-2
has caused the Debian Bug report #755274,
regarding bluez: BT adapter isn't powered on at boot
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
755274: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=755274
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: bluez
Version: 5.21-1
Severity: serious
Justification: Policy 9.1.1
Dear Maintainer,
The issue appeared after upgrade to version 5.21.
The udev rule 50-bluetooth-hci-auto-poweron.rules tries to run
/usr/bin/hciconfig tool.
This rule is executed at early stage of boot process (/etc/rcS.d/S02udev) when
/usr is mounted later (/etc/rcS.d/S09mountall.sh).
In my understanding this tool must be installed in /sbin directory as one
needed at boot time. Alternatively this must be managed somehow
at later stage (e.g. 'udevadm trigger --verbose --action=add
--subsystem-match=bluetooth --sysname-match=hci*' command in
/etc/init.d/bluetooth)
I tried the mentioned above udevadm command and it helped. See modified file
below. It also contains alterations to fix bug #754830.
Best regards,
Andriy
-- System Information:
Debian Release: jessie/sid
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'),
(500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.14.4 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages bluez depends on:
ii dbus 1.8.6-1
ii init-system-helpers 1.19
ii kmod 18-1
ii libc6 2.19-7
ii libdbus-1-3 1.8.6-1
ii libglib2.0-0 2.40.0-3
ii libreadline6 6.3-6
ii libudev1 208-6
ii lsb-base 4.1+Debian13
ii udev 208-6
bluez recommends no packages.
bluez suggests no packages.
-- Configuration Files:
/etc/init.d/bluetooth changed:
PATH=/sbin:/bin:/usr/sbin:/usr/bin
DESC=bluetooth
DAEMON=/usr/sbin/bluetoothd
HCIATTACH=/usr/sbin/hciattach
HID2HCI_ENABLED=1
HID2HCI_UNDO=1
UART_CONF=/etc/bluetooth/uart
RFCOMM_NAME=rfcomm
RFCOMM=/usr/bin/$RFCOMM_NAME
RFCOMM_CONF=/etc/bluetooth/$RFCOMM_NAME.conf
SDPTOOL=/usr/bin/sdptool
NOPLUGIN_OPTION=""
SSD_OPTIONS="--oknodo --quiet --exec $DAEMON -- $NOPLUGIN_OPTION"
test -f $DAEMON || exit 0
test -f /etc/default/bluetooth && . /etc/default/bluetooth
test -f /etc/default/rcS && . /etc/default/rcS
.. /lib/lsb/init-functions
set -e
run_sdptool()
{
# declaring IFS local in this function, removes the need to
# save/restore it
local IFS o
test -x $SDPTOOL || return 1
if ! test -z "$SDPTOOL_OPTIONS" ; then
IFS=";"
for o in $SDPTOOL_OPTIONS ; do
#echo "execing $SDPTOOL $o"
IFS=" "
if [ "$VERBOSE" != no ]; then
$SDPTOOL $o
else
$SDPTOOL $o >/dev/null 2>&1
fi
done
fi
}
hci_input()
{
log_progress_msg "switching to HID/HCI no longer done in init script, see
/usr/share/doc/bluez/NEWS.Debian.gz" || :
}
alias enable_hci_input=hci_input
alias disable_hci_input=hci_input
start_uarts()
{
[ -f $HCIATTACH ] && [ -f $UART_CONF ] || return
grep -v '^#' $UART_CONF | while read i; do
if [ "$VERBOSE" != no ]; then
$HCIATTACH $i
else
$HCIATTACH $i >/dev/null 2>&1
fi
done
}
stop_uarts()
{
killall ${HCIATTACH##*/} >/dev/null 2>&1 || :
}
start_rfcomm()
{
if [ -x $RFCOMM ] && [ -f $RFCOMM_CONF ] ; then
# rfcomm must always succeed for now: users
# may not yet have an rfcomm-enabled kernel
if [ "$VERBOSE" != no ]; then
log_progress_msg "${RFCOMM##*/}"
$RFCOMM bind all || :
else
$RFCOMM bind all >/dev/null 2>&1 || :
fi
fi
}
stop_rfcomm()
{
if [ -x $RFCOMM ] ; then
if [ "$VERBOSE" != no ]; then
log_progress_msg "${RFCOMM##*/}"
$RFCOMM unbind all || :
else
$RFCOMM unbind all >/dev/null 2>&1 || :
fi
fi
}
restart_rfcomm()
{
if [ -x $RFCOMM ] && [ -f $RFCOMM_CONF ] ; then
if [ "$VERBOSE" != no ]; then
log_progress_msg "${RFCOMM##*/}"
$RFCOMM unbind all || :
$RFCOMM bind all || :
else
$RFCOMM unbind all >/dev/null 2>&1|| :
$RFCOMM bind all >/dev/null 2>&1 || :
fi
fi
}
case $1 in
start)
log_daemon_msg "Starting $DESC"
if test "$BLUETOOTH_ENABLED" = 0; then
log_progress_msg "disabled. see /etc/default/bluetooth"
log_end_msg 0
exit 0
fi
start-stop-daemon --start --background $SSD_OPTIONS
log_progress_msg "${DAEMON##*/}"
udevadm trigger --verbose --action=add --subsystem-match=bluetooth
--sysname-match=hci*
run_sdptool || :
start_uarts || :
if test "$HID2HCI_ENABLED" = 1; then
enable_hci_input
fi
start_rfcomm || :
if test "$HIDD_ENABLED" = 1 ||
test "$PAND_ENABLED" = 1 || test "$DUND_ENABLED" = 1; then
log_progress_msg "compatibily daemons not started, see
bluez-compat package"
fi
log_end_msg 0
;;
stop)
log_daemon_msg "Stopping $DESC"
if test "$BLUETOOTH_ENABLED" = 0; then
log_progress_msg "disabled."
log_end_msg 0
exit 0
fi
stop_rfcomm || :
if test "$HID2HCI_UNDO" = 1; then
disable_hci_input
fi
start-stop-daemon --stop $SSD_OPTIONS
log_progress_msg "${DAEMON}"
stop_uarts || :
log_end_msg 0
;;
restart|force-reload)
$0 stop
sleep 1
$0 start
;;
status)
status_of_proc "$DAEMON" "$DESC" && exit 0 || exit $?
;;
*)
N=/etc/init.d/bluetooth
echo "Usage: $N {start|stop|restart|force-reload|status}" >&2
exit 1
;;
esac
exit 0
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: bluez
Source-Version: 5.21-2
We believe that the bug you reported is fixed in the latest version of
bluez, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 755...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Nobuhiro Iwamatsu <iwama...@debian.org> (supplier of updated bluez package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Tue, 22 Jul 2014 09:25:12 +0900
Source: bluez
Binary: libbluetooth3 libbluetooth3-dbg libbluetooth-dev bluetooth bluez
bluez-dbg bluez-cups bluez-obexd bluez-hcidump bluez-test-scripts
Architecture: source amd64 all
Version: 5.21-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Bluetooth Maintainers
<pkg-bluetooth-maintain...@lists.alioth.debian.org>
Changed-By: Nobuhiro Iwamatsu <iwama...@debian.org>
Description:
bluetooth - Bluetooth support
bluez - Bluetooth tools and daemons
bluez-cups - Bluetooth printer driver for CUPS
bluez-dbg - Bluetooth tools and daemons (with debugging symbols)
bluez-hcidump - Analyses Bluetooth HCI packets
bluez-obexd - bluez obex daemon
bluez-test-scripts - BlueZ test scripts
libbluetooth-dev - Development files for using the BlueZ Linux Bluetooth
library
libbluetooth3 - Library to use the BlueZ Linux Bluetooth stack
libbluetooth3-dbg - Library to use the BlueZ Linux Bluetooth stack with
debugging sym
Closes: 712386 737502 754675 754830 755274 755345
Changes:
bluez (5.21-2) unstable; urgency=medium
.
* Fix FTBFS with C99. (Closes: #755345)
Add patches/fix_ftbfs_with_c99.patch.
* Add support user session of obexd. (Closes: #754675)
Add patches/0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch
and
patches/0001-Allow-using-obexd-without-systemd-in-the-user-sessio.patch.
* Update bluez.bluetooth.init. (Closes: #754830, #712386, #737502)
Remove -f option of rfcomm.
* Move hciconfig from /usr to /bin.
* Update path of hciconfig in 50-bluetooth-hci-auto-poweron.rules.
(Closes: #755274)
Checksums-Sha1:
f21a81f724efe4efb6d5115cbb795eba9a5c8e44 2673 bluez_5.21-2.dsc
9b113b75cd13b0f062fbcdc41940a74871b3da72 22108 bluez_5.21-2.debian.tar.xz
e2ecc9f1525b9e5bf85d33533251f3ed23d0ef3d 83638 libbluetooth3_5.21-2_amd64.deb
8c786fd5e0163fb46100e774a604db9ac5392b89 35902
libbluetooth3-dbg_5.21-2_amd64.deb
4f443761d1c5dcb4335dba3733c8f7533ce217d3 152734
libbluetooth-dev_5.21-2_amd64.deb
3bf5743cdbf9397a7d8bc26fa3d3c0c2a74c907b 35978 bluetooth_5.21-2_all.deb
4b3c9d3ecb19741d97392878d83d787423b844d9 690478 bluez_5.21-2_amd64.deb
8c0034e727bd017a749ed78595b0959bb5815825 3523798 bluez-dbg_5.21-2_amd64.deb
04b38d737bd35f1fe3a2fdbdf61fb25655b4e31e 82944 bluez-cups_5.21-2_amd64.deb
fc0444f01de82ff9b1f9c6a24fe86e83476271e6 181896 bluez-obexd_5.21-2_amd64.deb
8adfa67dd5a6a9bfd6ae34d1144d4fb9892bef26 166878 bluez-hcidump_5.21-2_amd64.deb
53282eae51a7e92dfc618d8b4a0f5796c49b9517 67600
bluez-test-scripts_5.21-2_all.deb
Checksums-Sha256:
71494108a7dc2facc353bdf3ba1d1a5eb111e042a14a427a60ec873c3587c246 2673
bluez_5.21-2.dsc
cf5318260881f3faefec15b5954fad0e07f394ac212f7008fd40df5495be64d9 22108
bluez_5.21-2.debian.tar.xz
a3cf22e62a0bfaaf57ab1591ef62d4fda5c042c24b98b2441951a478ca19c59e 83638
libbluetooth3_5.21-2_amd64.deb
20a99e85a1be71996239cf351d65d67058e39a1be1fdd03cb447376036fd8c53 35902
libbluetooth3-dbg_5.21-2_amd64.deb
925835b5fb085befcd9ce5a1ae7a320c3ce43ae71d4baafd836d7d2fa9268a1e 152734
libbluetooth-dev_5.21-2_amd64.deb
8b72b7d2bbc59496354916c12eb6b368a3d4ba91e1d6726f5df5c5324c48af73 35978
bluetooth_5.21-2_all.deb
bb655f1fc9a5df625b0f7ab7a1523df1553cbb2d9d36dffafea6605d0c8bf67d 690478
bluez_5.21-2_amd64.deb
bd10eb730d4b652f2f5b8eaf58110be8fa42704d75efe558b35ca4cbabfc16e7 3523798
bluez-dbg_5.21-2_amd64.deb
e22374e81e2dfbfac2a4d60738a494fe963fa06f1adedb3279b4cb83ed9d7fa8 82944
bluez-cups_5.21-2_amd64.deb
4aa8375b3e014476e4667bca09b8e618519bc50ca96cc179d1eadeaa527e881a 181896
bluez-obexd_5.21-2_amd64.deb
68eb8d81d8a18d5cd3b9935933313ad6ce9181b5b07fcc47c8962092fce16e6a 166878
bluez-hcidump_5.21-2_amd64.deb
6a76af1389e64a5a8dc9178f0317819b09f243d09dc3b6cc894ce7b6f55a9138 67600
bluez-test-scripts_5.21-2_all.deb
Files:
37936cf5dfc86405bac1f3b79bdfc25d 83638 libs optional
libbluetooth3_5.21-2_amd64.deb
caf8348b65d0c38368d3d363dbf7cb95 35902 debug extra
libbluetooth3-dbg_5.21-2_amd64.deb
df1161bce79cfbb75c625b7891ea57b4 152734 libdevel extra
libbluetooth-dev_5.21-2_amd64.deb
78f1d2057dc205f71b9270f0f542d2fe 35978 admin optional bluetooth_5.21-2_all.deb
6bccf43bd4f28cedbd0022890bc94e3a 690478 admin optional bluez_5.21-2_amd64.deb
2f525b491dd04f26e263082c707c09d1 3523798 debug extra bluez-dbg_5.21-2_amd64.deb
fd208429334f52b4c8c58b01fb38592f 82944 admin optional
bluez-cups_5.21-2_amd64.deb
a7e7c7899c7bdcb9559453d8ece3a748 181896 admin optional
bluez-obexd_5.21-2_amd64.deb
8551753d7396a3a91f0d9595fe601912 166878 admin optional
bluez-hcidump_5.21-2_amd64.deb
f51beb7bc7d11286b8d7bfede585675f 67600 admin optional
bluez-test-scripts_5.21-2_all.deb
1151bf835a9df98cead0627b691f103f 2673 admin optional bluez_5.21-2.dsc
17b5fd89c309999bca985b6f6e19527c 22108 admin optional
bluez_5.21-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJT1muCAAoJEDIkf7tArR+mQ54P/RLv/HaP6iEYIicrwOhFK84g
kfHsPUlDsBYxccIxYHH017krZDokgLd42s6fc0fdjIv6IyIX5qFdBlYCrd56Qtgs
YXVAbVtSQvsxcDfCF/3abJF3uAeXa0G+DbOzaIfqm3e8OBCFRw0wHKsdM1FQKJ6D
pfb4vfmnxXamjtmBC+mD6oeAZjlPjk5eFNhBYL9g7rY7WrvVTnuTzM79+lHKZEzT
pzqZi0wJAtJxYoRgly4t3ENbpJGarXAm6Aash5/m0uJxWGjXSQM/JpwBhnnp/Cuq
t5uvDe3lFnLDjyeccZqrVxH079ZmaH0zHH83AQg395/+Odh6lRIkhxbrVltLb/I5
Vjfc+q9Dj8yPXz43WiwqkMv9E9IjacLor2nh0dh2jiNrr8IGVfD1MITt5oZVX7r9
glUys5/xawujXPEAbjQVEwSoNZ0OX6rGZw5cik8GKu0o0jDM4KGciWEs8YcCv7pW
xHAskkBRABkbOZ1AgfXwtVLN/f+E9Rh4ezAkMbHod2CzJ0zg8UE+1BzRp6WBnVew
Zg0ChVSiPI8a6TfkFQmRJr48q7boeaKUv+tYxDHmdhsP4KdsyH0kAgzDCIjHgn1X
IuSbm36JyztPfBH5mGPJVla3bYKub/bosLzd4WUSxy660oHtLcHtk0KyBpEwG0VG
Ew7eJOKuHDH4f97Zh+6J
=6S10
-----END PGP SIGNATURE-----
--- End Message ---