[Pkg-alsa-devel] Bug#279486: marked as done (alsa-base: Please do not install a udev permissions file)
Debian Bug Tracking System
owner@bugs.debian.org
Wed, 03 Nov 2004 09:48:13 -0800
Your message dated Wed, 03 Nov 2004 12:32:05 -0500
with message-id <E1CPOzN-0002PJ-00@newraff.debian.org>
and subject line Bug#279486: fixed in alsa-driver 1.0.6a-9
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; 2 Nov 2004 11:15:47 +0000
>From md@linux.it Tue Nov 02 03:15:47 2004
Return-path: <md@linux.it>
Received: from attila.bofh.it [213.92.8.2] (postfix)
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1COwde-0007SL-00; Tue, 02 Nov 2004 03:15:47 -0800
Received: by attila.bofh.it (Postfix, from userid 10)
id 557B15F727; Tue, 2 Nov 2004 12:15:44 +0100 (CET)
Received: by wonderland.linux.it (Postfix, from userid 1001)
id A439C1C8CF; Tue, 2 Nov 2004 12:11:05 +0100 (CET)
Date: Tue, 2 Nov 2004 12:11:05 +0100
To: submit@bugs.debian.org
Subject: a better dev.d script
Message-ID: <20041102111105.GA5467@wonderland.linux.it>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="+HP7ph2BbKc20aGI"
Content-Disposition: inline
User-Agent: Mutt/1.5.6+20040907i
From: md@Linux.IT (Marco d'Itri)
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level:
--+HP7ph2BbKc20aGI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Package: alsa-base
Version: 1.0.6a-8
Severity: normal
Installing /etc/dev.d/sound/alsa-base.dev is not such a great idea,
because the script will be run for every sound device created, which
are a large number.
So, I propose installing the attached script as
/etc/dev.d/snd/controlC0/alsa-base.dev instead.
/etc/dev.d/snd/controlC[0-4]/alsa-base.dev would be symlinks to it.
BTW, there is still the issue of /var/lib/alsa/asound.state not being
on the root file system and so not being available at the time dev.d
scripts are usually run. Probably, at least, alsactl should use
/etc/alsa/asound.state (which may be a symlink to the /var file by
default, I will leave this to your taste).
Please also do not install a file in /etc/udev/permissions.d/, there is
no reason to move permissions data from udev to other packages.
--
ciao, |
Marco | [8881 scQ2/wvjwgH.o]
--+HP7ph2BbKc20aGI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="alsa-base.dev"
#!/bin/sh -e
# This script restores and saves the card settings on creation and removal
# of the associated control device /dev/snd/controlC*.
dev_number="${DEVNAME#*/controlC}"
case "$dev_number" in
[0-9]*)
;;
*)
echo "Cannot determine the card number for device '$DEVNAME'"
exit 1
;;
esac
case "$ACTION" in
add)
exec /usr/sbin/alsactl restore $dev_number
;;
remove)
exec /usr/sbin/alsactl store $dev_number
;;
*)
exit 0
;;
esac
--+HP7ph2BbKc20aGI--
---------------------------------------
Received: (at 279486-close) by bugs.debian.org; 3 Nov 2004 17:39:51 +0000
>From katie@ftp-master.debian.org Wed Nov 03 09:39:51 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1CPP6t-0001Me-00; Wed, 03 Nov 2004 09:39:51 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
id 1CPOzN-0002PJ-00; Wed, 03 Nov 2004 12:32:05 -0500
From: Jordi Mallach <jordi@debian.org>
To: 279486-close@bugs.debian.org
X-Katie: $Revision: 1.51 $
Subject: Bug#279486: fixed in alsa-driver 1.0.6a-9
Message-Id: <E1CPOzN-0002PJ-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Wed, 03 Nov 2004 12:32:05 -0500
Delivered-To: 279486-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25
(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_2004_03_25
X-Spam-Level:
X-CrossAssassin-Score: 4
Source: alsa-driver
Source-Version: 1.0.6a-9
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:
alsa-base_1.0.6a-9_all.deb
to pool/main/a/alsa-driver/alsa-base_1.0.6a-9_all.deb
alsa-driver_1.0.6a-9.diff.gz
to pool/main/a/alsa-driver/alsa-driver_1.0.6a-9.diff.gz
alsa-driver_1.0.6a-9.dsc
to pool/main/a/alsa-driver/alsa-driver_1.0.6a-9.dsc
alsa-headers_1.0.6a-9_all.deb
to pool/main/a/alsa-driver/alsa-headers_1.0.6a-9_all.deb
alsa-source_1.0.6a-9_all.deb
to pool/main/a/alsa-driver/alsa-source_1.0.6a-9_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 279486@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
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)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Wed, 3 Nov 2004 18:31:57 +0100
Source: alsa-driver
Binary: alsa-source alsa-headers alsa-base
Architecture: source all
Version: 1.0.6a-9
Distribution: unstable
Urgency: medium
Maintainer: Debian ALSA Maintainers <pkg-alsa-devel@lists.alioth.debian.org>
Changed-By: Jordi Mallach <jordi@debian.org>
Description:
alsa-base - ALSA driver configuration files
alsa-headers - transitional package that can be safely removed
alsa-source - ALSA driver sources
Closes: 279325 279327 279405 279486
Changes:
alsa-driver (1.0.6a-9) unstable; urgency=medium
.
* Thomas Hood:
- debian/module-blacklist:
+ Add bt878. Thanks to Reinhard Tartler for the tip.
(Closes: #279327)
- debian/rules, debian/alsa-base.(preinst|postinst|postrm|dirs):
+ Put alsa-base.dev in /etc/alsa/dev.d/ and symlink to it
from /etc/dev.d/snd/controlC[0-3]/alsa-base.dev. This
scheme avoids running the script when it isn't needed.
(Closes: #279405)
- alsa-base.permissions:
+ Eliminate at the request of the udev maintainer
(Closes: #279486)
- alsa-base.dev
+ Take into account the possibility that /usr/ and/or /var/
may not be mounted when this script runs. Thanks to Marco
d'Itri for the tips. (Closes: #279325)
* Jordi Mallach:
- debian/alsa-base.preinst: add the missing #DEBHELPER# marker.
- debian/alsa-modules.post{inst,rm}: likewise.
Files:
cc2f723263b265ab6de787f564f09dab 846 sound optional alsa-driver_1.0.6a-9.dsc
54694672fcc5db1e4eea70959ce27b15 89168 sound optional alsa-driver_1.0.6a-9.diff.gz
b2bc37022585ac3c86f99677acbd0730 51694 sound optional alsa-base_1.0.6a-9_all.deb
9efe9639452b327e220a1f2fe876efd5 1860160 sound optional alsa-source_1.0.6a-9_all.deb
7ab35f6967f6dab3fa41b25ff9b70ea3 36080 sound optional alsa-headers_1.0.6a-9_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBiRaXJYSUupF6Il4RAoGyAJ9ifODfGzAoh+elcT4SRkjE789opwCg69ed
zQk70rHsQVjy1IvrTig5lR8=
=hChg
-----END PGP SIGNATURE-----