[Pkg-alsa-devel] Bug#290995: alsa-utils: modprobe-post-install needs full pathname to alsactl
Mark Montague
Mark Montague <monty@gg.caltech.edu>, 290995@bugs.debian.org
Mon, 17 Jan 2005 21:04:08 -0800
Package: alsa-utils
Version: 1.0.7-2
Severity: minor
Tags: patch
when a module is loaded from /etc/modules, alsactl is not in the path
when modprobe-post-install is run, so it gets an error at boot time.
fixed by adding full path:
*** /usr/lib/alsa/modprobe-post-install.orig 2005-01-17 10:47:12.000000000 -0800
--- /usr/lib/alsa/modprobe-post-install 2005-01-17 10:47:38.000000000 -0800
***************
*** 25,28 ****
run-parts ${1:+--arg="$1"} /etc/alsa/modprobe-post-install.d
fi
! [ -f /var/lib/alsa/asound.state ] && alsactl restore
--- 25,28 ----
run-parts ${1:+--arg="$1"} /etc/alsa/modprobe-post-install.d
fi
! [ -f /var/lib/alsa/asound.state ] && /usr/sbin/alsactl restore
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i586)
Kernel: Linux 2.6.10-1-386
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages alsa-utils depends on:
ii alsa-base 1.0.7-2 ALSA driver configuration files
ii dialog 1.0-20041222-1 Displays user-friendly dialog boxe
ii libasound2 1.0.7-4 ALSA library
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii libncurses5 5.4-4 Shared libraries for terminal hand
ii module-init-tools 3.1-rel-2 tools for managing Linux kernel mo
ii modutils 2.4.26-1.2 Linux module utilities
ii pciutils 1:2.1.11-15 Linux PCI Utilities
ii whiptail 0.51.6-20 Displays user-friendly dialog boxe
-- no debconf information