Package: bluez Version: 4.99-1 Severity: important Tags: patch Hi,
I talked to the Marco, the Debian udev maintainer, about the bluez postinst script. Since bluez relies and depends on udev, creating the devices manually is wrong, so those MAKEDEV calls need to be removed. Also, reloading udev is not necessary and should be removed, too. New udev rules are automatically picked up on new udev events. A patch is attached. Michael -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (200, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores) Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages bluez depends on: ii dbus 1.4.18-1 ii libc6 2.13-27 ii libcap-ng0 0.6.6-1 ii libdbus-1-3 1.4.18-1 ii libglib2.0-0 2.31.20-1 ii libreadline6 6.2-8 ii libudev0 175-3.1 ii libusb-0.1-4 2:0.1.12-20 ii lsb-base 3.2+Debian30 ii module-init-tools 6-1.1 ii python-dbus 0.84.0-3 ii python-gobject 3.1.0-2 ii udev 175-3.1 bluez recommends no packages. bluez suggests no packages. -- no debconf information
diff --git a/debian/bluez.postinst b/debian/bluez.postinst index 3d35802..65664d6 100644 --- a/debian/bluez.postinst +++ b/debian/bluez.postinst @@ -9,12 +9,6 @@ case "$1" in # maybe a (medium/low debconf?) notice is best suited here fi - # use MAKEDEV instead of the original bluez script below as per policy 10.6 - if [ -x /dev/MAKEDEV ]; then - echo "Creating device nodes ..." - cd /dev && ./MAKEDEV bluetooth 1>/dev/null 2>/dev/null - fi - # create bluetooth group if not already present if ! getent group bluetooth > /dev/null; then addgroup --quiet --system bluetooth @@ -25,11 +19,6 @@ case "$1" in invoke-rc.d dbus force-reload || true fi - #reload udev rules - if [ -x /etc/init.d/udev ]; then - invoke-rc.d udev reload || true - fi - ;; abort-upgrade|abort-remove|abort-deconfigure) ;;