tags 338743 + patch thanks * Marco d'Itri ([EMAIL PROTECTED]) disait : > cd /dev && ./MAKEDEV bluetooth > > less /sbin/MAKEDEV
Thanks, here is attached a patch for the postinst script. I plan to make a sponsored NMU for closing this RC bug in bluez-utils' maintainer does not apply it. Best regards, -- Alexis Sukrieh <[EMAIL PROTECTED]> 0x1EE5DD34 Debian http://www.debian.org Backup Manager http://www.backup-manager.org
diff -ubBr bluez-utils-2.19/debian/bluez-utils.postinst bluez-utils-2.19.orig/debian/bluez-utils.postinst --- bluez-utils-2.19/debian/bluez-utils.postinst 2005-12-23 09:36:11.000000000 +0100 +++ bluez-utils-2.19.orig/debian/bluez-utils.postinst 2005-12-23 09:35:40.000000000 +0100 @@ -24,36 +24,9 @@ # Amended by Edd Dumbill <[EMAIL PROTECTED]> for # the Debian distribution and to support devfs - VHCI_MAJOR=10 - VHCI_MINOR=250 - - RFCOMM_MAJOR=216 - - # if devfs isn't mounted on /dev/ or we're not - # using udev, then we need to create the device names - - if [ ! -e /dev/.devfsd -a ! -e /dev/.udevdb ]; then - echo "Checking and creating device nodes ..." - # - # Create device for VHCI - # - if [ ! -c /dev/vhci ]; then - mknod /dev/vhci c ${VHCI_MAJOR} ${VHCI_MINOR} - chmod 660 /dev/vhci - fi - - # - # Create devices for RFCOMM - # - C=0; - while [ $C -lt 256 ]; do - if [ ! -c /dev/rfcomm$C ]; then - mknod -m 660 /dev/rfcomm$C c ${RFCOMM_MAJOR} $C - chgrp dialout /dev/rfcomm$C - fi - C=`expr $C + 1` - done - fi + # Policy says we must not use mknod in maintainer scripts, + # using MAKEDEV instead. + cd /dev && ./MAKEDEV bluetooth # handle the devfs case if [ -e /dev/.devfsd ]; then