[Pkg-alsa-devel] Bug#290995: marked as done (alsa-utils: modprobe-post-install needs full pathname to alsactl)
Debian Bug Tracking System
owner@bugs.debian.org
Tue, 18 Jan 2005 00:48:04 -0800
Your message dated Tue, 18 Jan 2005 09:34:44 +0100
with message-id <1106037284.12061.3.camel@thanatos>
and subject line [Pkg-alsa-devel] Bug#290995: alsa-utils: modprobe-post-install needs full pathname to alsactl
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 18 Jan 2005 05:04:36 +0000
>From monty@gg.caltech.edu Mon Jan 17 21:04:36 2005
Return-path: <monty@gg.caltech.edu>
Received: from master.debian.org [146.82.138.7]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1CqlXg-0004sy-00; Mon, 17 Jan 2005 21:04:36 -0800
Received: from 24-205-80-49.pas-eres.charterpipeline.net (localhost.localdomain) [24.205.80.49]
by master.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1CqlXJ-0000W0-00; Mon, 17 Jan 2005 23:04:13 -0600
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Mark Montague <monty@gg.caltech.edu>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: alsa-utils: modprobe-post-install needs full pathname to alsactl
X-Mailer: reportbug 3.2
Date: Mon, 17 Jan 2005 21:04:08 -0800
X-Debbugs-Cc: monty@gg.caltech.edu
Message-Id: <E1CqlXJ-0000W0-00@master.debian.org>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-9.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
OUR_MTA_MSGID,X_DEBBUGS_CC autolearn=ham
version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
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
---------------------------------------
Received: (at 290995-done) by bugs.debian.org; 18 Jan 2005 08:35:22 +0000
>From jdthood@aglu.demon.nl Tue Jan 18 00:35:22 2005
Return-path: <jdthood@aglu.demon.nl>
Received: from mailservice.tudelft.nl [130.161.131.5]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1Cqope-0006iT-00; Tue, 18 Jan 2005 00:35:22 -0800
Received: from localhost (localhost [127.0.0.1])
by rav.antivirus (Postfix) with ESMTP id 04F8222EF41
for <290995-done@bugs.debian.org>; Tue, 18 Jan 2005 09:34:49 +0100 (CET)
Received: from localhost (x117.decis.nl [130.161.177.117])
by mx1.tudelft.nl (Postfix) with ESMTP id 6D8F422EEB6
for <290995-done@bugs.debian.org>; Tue, 18 Jan 2005 09:34:48 +0100 (CET)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
by localhost (Postfix) with ESMTP id AA5BB10D6EB
for <290995-done@bugs.debian.org>; Tue, 18 Jan 2005 09:34:44 +0100 (CET)
Subject: Re: [Pkg-alsa-devel] Bug#290995: alsa-utils: modprobe-post-install
needs full pathname to alsactl
From: Thomas Hood <jdthood@aglu.demon.nl>
To: 290995-done@bugs.debian.org
In-Reply-To: <E1CqlXJ-0000W0-00@master.debian.org>
References: <E1CqlXJ-0000W0-00@master.debian.org>
Content-Type: text/plain
Date: Tue, 18 Jan 2005 09:34:44 +0100
Message-Id: <1106037284.12061.3.camel@thanatos>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.3
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by amavisd-new at tudelft.nl
Delivered-To: 290995-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
On Mon, 2005-01-17 at 21:04 -0800, Mark Montague wrote:
> 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.
Thanks for the report.
This was fixed in 1.0.8-1:
in /etc/alsa/modprobe-post-install.d/alsa-base, alsactl is run by giving
its full path.
> if [ -x /usr/sbin/alsactl ] && [ -f /var/lib/alsa/asound.state ] ; then
> /usr/sbin/alsactl restore || :
> fi
--
Thomas Hood <jdthood@aglu.demon.nl>