[Pkg-alsa-devel] Bug#231973: marked as done (alsa-modules postinst sholdn't only run depmod on the same kernel version)

Debian Bug Tracking System owner@bugs.debian.org
Sat, 14 Feb 2004 16:48:05 -0800

Your message dated Sat, 14 Feb 2004 19:32:03 -0500
with message-id <E1AsACZ-0000jn-00@newraff.debian.org>
and subject line Bug#231973: fixed in alsa-driver 1.0.2c-1
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; 10 Feb 2004 00:17:54 +0000
>From michel@daenzer.net Mon Feb 09 16:17:54 2004
Return-path: <michel@daenzer.net>
Received: from 80-218-114-84.dclient.hispeed.ch (thor.asgaard.local) [] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AqLb8-0002EI-00; Mon, 09 Feb 2004 16:17:54 -0800
Received: from daenzer by thor.asgaard.local with local (Exim 4.30)
	id 1AqLb5-000898-40; Tue, 10 Feb 2004 01:17:51 +0100
Content-Type: multipart/mixed; boundary="===============0928666920=="
MIME-Version: 1.0
From: Michel Daenzer <daenzer@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: alsa-modules postinst sholdn't only run depmod on the same kernel version
X-Mailer: reportbug 2.39
Date: Tue, 10 Feb 2004 01:17:51 +0100
Message-Id: <E1AqLb5-000898-40@thor.asgaard.local>
Sender: Michel Daenzer <michel@daenzer.net>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_02_01 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=HAS_PACKAGE autolearn=no 

This is a multi-part MIME message sent by reportbug.

Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: alsa-source
Version: 1.0.1-1
Severity: normal
Tags: patch

Hash: SHA1

If you install a package of ALSA modules while running a kernel version which
is different than the one they were built against, the postinst does not run
depmod, so when you then boot the kernel they were built for, the modules may
not be found.

- -- System Information:
Debian Release: testing/unstable
Architecture: powerpc
Kernel: Linux thor 2.6.2-ben1-ck1 #1 Fri Feb 6 15:21:11 CET 2004 ppc
Locale: LANG=de_CH.UTF-8, LC_CTYPE=de_CH.UTF-8

Versions of packages alsa-source depends on:
ii  bzip2                      1.0.2-1       A high-quality block-sorting file 
ii  debconf                    1.4.8         Debian configuration management sy
ii  debconf-utils              1.4.8         debconf utilities
ii  debhelper                  4.1.89        helper programs for debian/rules
ii  gcc [c-compiler]           4:3.3.2-2     The GNU C compiler
ii  gcc-3.2 [c-compiler]       1:3.2.3-9     The GNU C compiler
ii  gcc-3.3 [c-compiler]       1:3.3.3-0pre3 The GNU C compiler
ii  make                       3.80-4        The GNU version of the "make" util

- -- debconf information:
  alsa-source/really_overwrite_cards_to_be_built: true
* alsa-source/cards_to_be_built: powermac (PowerMac)
* alsa-source/debug: false
  alsa-source/really_overwrite_has_pnp: true
* alsa-source/has_pnp: false
  alsa-source/really_overwrite_debug: true

Version: GnuPG v1.2.4 (GNU/Linux)


Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="/tmp/alsa-driver.diff"

diff -up -r alsa-driver-1.0.1.orig/debian/alsa-modules.postinst alsa-driver-1.0.1/debian/alsa-modules.postinst
--- alsa-driver-1.0.1.orig/debian/alsa-modules.postinst	2004-02-07 14:34:21.194936651 +0100
+++ alsa-driver-1.0.1/debian/alsa-modules.postinst	2004-02-07 14:34:01.648997056 +0100
@@ -21,12 +21,13 @@ case "$1" in
+depmod -a _KVERS_ || :
 if [ -s /etc/alsa/modutils/_MAJORVERSION_ ]; then
 	echo "Configuration file for ALSA _MAJORVERSION_ exists."
 	if [ $(uname -r) = "_KVERS_" ]; then
 		echo "Attempting to start."
-		depmod -a || :
 		invoke-rc.d alsa restart


Received: (at 231973-close) by bugs.debian.org; 15 Feb 2004 00:34:36 +0000
>From katie@ftp-master.debian.org Sat Feb 14 16:34:36 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AsAF1-0004Fz-00; Sat, 14 Feb 2004 16:34:35 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1AsACZ-0000jn-00; Sat, 14 Feb 2004 19:32:03 -0500
From: Jordi Mallach <jordi@debian.org>
To: 231973-close@bugs.debian.org
X-Katie: $Revision: 1.43 $
Subject: Bug#231973: fixed in alsa-driver 1.0.2c-1
Message-Id: <E1AsACZ-0000jn-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sat, 14 Feb 2004 19:32:03 -0500
Delivered-To: 231973-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_02_12 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=no 

Source: alsa-driver
Source-Version: 1.0.2c-1

We believe that the bug you reported is fixed in the latest version of
alsa-driver, which is due to be installed in the Debian FTP archive:

  to pool/main/a/alsa-driver/alsa-base_1.0.2c-1_all.deb
  to pool/main/a/alsa-driver/alsa-driver_1.0.2c-1.diff.gz
  to pool/main/a/alsa-driver/alsa-driver_1.0.2c-1.dsc
  to pool/main/a/alsa-driver/alsa-driver_1.0.2c.orig.tar.gz
  to pool/main/a/alsa-driver/alsa-headers_1.0.2c-1_all.deb
  to pool/main/a/alsa-driver/alsa-source_1.0.2c-1_all.deb

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 231973@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Jordi Mallach <jordi@debian.org> (supplier of updated alsa-driver package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)

Hash: SHA1

Format: 1.7
Date: Sun, 15 Feb 2004 01:07:37 +0100
Source: alsa-driver
Binary: alsa-source alsa-headers alsa-base
Architecture: source all
Version: 1.0.2c-1
Distribution: unstable
Urgency: low
Maintainer: Debian-Alsa Psychos <pkg-alsa-devel@lists.alioth.debian.org>
Changed-By: Jordi Mallach <jordi@debian.org>
 alsa-base  - ALSA sound driver common files
 alsa-headers - ALSA sound driver header files
 alsa-source - ALSA sound driver source
Closes: 231973
 alsa-driver (1.0.2c-1) unstable; urgency=low
   * New upstream release.
     - With this version, alsa-source now builds against 2.6.x kernels.
       (Closes: none - what the hell is up with that?)
   * David B. Harris:
     - Split debian/patches/10_disable_gcc_version_check into two different
       patches (one for configure.in, one for configure) to make
       forward-porting to new versions easier.
   * Jordi Mallach:
     - debian/alsa-modules.postinst: apply patch from Michel Dänzer to run
       depmod correctly regardless what kernel version you're running when
       you install an alsa-modules package, thanks! (closes: #231973)
 db44167bff1ab349c27211eb25cee286 803 sound optional alsa-driver_1.0.2c-1.dsc
 c05572ed57e155b62497c9d281f86a16 2161707 sound optional alsa-driver_1.0.2c.orig.tar.gz
 4824cb4c131f5932349b988705a742fd 80025 sound optional alsa-driver_1.0.2c-1.diff.gz
 b0af76a66f25fec21a7530887e6acf89 50310 sound optional alsa-base_1.0.2c-1_all.deb
 90bfd8f4d3fd8cc41b33671a3dd294cb 1764652 sound optional alsa-source_1.0.2c-1_all.deb
 881a11e951c9a0cd5878c92ce34641df 53992 sound optional alsa-headers_1.0.2c-1_all.deb

Version: GnuPG v1.2.4 (GNU/Linux)