Package: alsa-utils Version: 1.0.10+1.0.11rc1-1 Severity: normal Please rename /lib/alsa-utils/udev to /lib/udev/alsa-utils which is the proper location for these scripts.
Then use something like this in the script, or it will always fail on
system with a standalone /usr:
#!/bin/sh -e
. /lib/udev/hotplug.functions
(
wait_for_file /usr/sbin/alsactl
DEV_BASENAME="${DEVNAME##*/}"
N="${DEV_BASENAME#controlC}"
exec /etc/init.d/alsa-utils start $N
) &
It needs to fork and continue in the background or the udev init script
will deadlock waiting for it until the timeout.
Also /etc/alsa/modprobe-post-install.d/alsa-utils needs to be updated:
since version 0.076-1 the correct way to check for the presence of udev
has been "test -e /dev/.udev".
You can remove the check for /dev/.udev.tdb which has not been useful
since version 0.046-1.
I do not understand the check for kernel_is_2_6_or_above in the script,
udev only supports 2.6 kernels.
--
ciao,
Marco
signature.asc
Description: Digital signature

