[Pkg-alsa-devel] Bug#273092: marked as done (alsa-base.postinst: Better to use cp -L instead of cat to follow symlinks)
Debian Bug Tracking System
owner@bugs.debian.org
Mon Oct 25 23:18:06 UTC 2004
Your message dated Mon, 25 Oct 2004 12:02:04 -0400
with message-id <E1CM7IK-0001x4-00@newraff.debian.org>
and subject line Bug#273092: fixed in alsa-driver 1.0.6a-6
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; 23 Sep 2004 20:49:10 +0000
>From agcosta@gis.net Thu Sep 23 13:49:10 2004
Return-path: <agcosta@gis.net>
Received: from mx03.gis.net [208.218.130.11]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1CAaWc-0005uQ-00; Thu, 23 Sep 2004 13:49:10 -0700
Received: from arf ([207.7.196.173]) by mx03.gis.net; Thu, 23 Sep 2004 16:49:08 -0400
Received: from alfie by Arf with local (Exim 3.36 #1 (Debian))
id 1CAaWU-0002di-00; Thu, 23 Sep 2004 16:49:02 -0400
Content-Type: multipart/mixed; boundary="===============2074979586=="
MIME-Version: 1.0
From: A Costa <agcosta@gis.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Tweak for /alsa-base.conf: 'cat' to 'cp -L'
X-Mailer: reportbug 2.99.3
Date: Thu, 23 Sep 2004 16:49:01 -0400
Message-Id: <E1CAaWU-0002di-00@Arf>
Sender: A Costa <alfie@Arf>
X-BadReturnPath: alfie@Arf rewritten as agcosta@gis.net
using "From" header
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:
This is a multi-part MIME message sent by reportbug.
--===============2074979586==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Package: alsa-base
Version: 1.0.6a-1
Severity: wishlist
It says in the latest changelog:
- alsa-base.postinst
...
+ Use cat instead of cp in order to handle the case
where people have replaced conf files by symlinks
...and the new code shows:
% grep -n cat /var/lib/dpkg/info/alsa-base.postinst
20: cat "$old_conf_filename" > /etc/default/alsa
25: cat /usr/share/alsa-base/alsa-base.conf > /etc/default/alsa
However, for following symlinks 'cp -L' is better. The 'cp'
man page says:
-L, --dereference
always follow symbolic links
Attached is a 'diff' file. Hope this helps...
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.4.26-1-686
Locale: LANG=C, LC_CTYPE=C (ignored: LC_ALL set to C)
Versions of packages alsa-base depends on:
ii alsa-utils 1.0.6-2 Advanced Linux Sound Architecture
ii debconf 1.4.36 Debian configuration management sy
ii debianutils 2.10.2 Miscellaneous utilities specific t
ii module-init-tools 3.1-pre5-7 tools for managing Linux kernel mo
ii modutils 2.4.26-1 Linux module utilities
ii psmisc 21.5-1 Utilities that use the proc filesy
-- debconf information excluded
--===============2074979586==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="alsa-base.postinst.diff"
20c20
< cat "$old_conf_filename" > /etc/default/alsa
---
> cp -L "$old_conf_filename" /etc/default/alsa
25c25
< cat /usr/share/alsa-base/alsa-base.conf > /etc/default/alsa
---
> cp -L /usr/share/alsa-base/alsa-base.conf /etc/default/alsa
--===============2074979586==--
---------------------------------------
Received: (at 273092-close) by bugs.debian.org; 25 Oct 2004 16:09:03 +0000
>From katie@ftp-master.debian.org Mon Oct 25 09:09:03 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 1CM7P5-000183-00; Mon, 25 Oct 2004 09:09:03 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
id 1CM7IK-0001x4-00; Mon, 25 Oct 2004 12:02:04 -0400
From: Jordi Mallach <jordi@debian.org>
To: 273092-close@bugs.debian.org
X-Katie: $Revision: 1.51 $
Subject: Bug#273092: fixed in alsa-driver 1.0.6a-6
Message-Id: <E1CM7IK-0001x4-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Mon, 25 Oct 2004 12:02:04 -0400
Delivered-To: 273092-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:
Source: alsa-driver
Source-Version: 1.0.6a-6
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-6_all.deb
to pool/main/a/alsa-driver/alsa-base_1.0.6a-6_all.deb
alsa-driver_1.0.6a-6.diff.gz
to pool/main/a/alsa-driver/alsa-driver_1.0.6a-6.diff.gz
alsa-driver_1.0.6a-6.dsc
to pool/main/a/alsa-driver/alsa-driver_1.0.6a-6.dsc
alsa-headers_1.0.6a-6_all.deb
to pool/main/a/alsa-driver/alsa-headers_1.0.6a-6_all.deb
alsa-source_1.0.6a-6_all.deb
to pool/main/a/alsa-driver/alsa-source_1.0.6a-6_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 273092@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: Mon, 25 Oct 2004 17:43:40 +0200
Source: alsa-driver
Binary: alsa-source alsa-headers alsa-base
Architecture: source all
Version: 1.0.6a-6
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 configuration files
alsa-headers - transitional package that can be safely removed
alsa-source - ALSA sound driver sources
Closes: 273092
Changes:
alsa-driver (1.0.6a-6) unstable; urgency=medium
.
* Thomas Hood
- asound-debian.h:
+ Eliminate
- alsa-base.postinst:
+ Use cp insted of cat (Closes: #273092)
- debian/rules:
+ Generate discover "skiplist" and hotplug "blacklist" from
a common "module-blacklist" file
- module-blacklist:
+ Add the following OSS drivers:
. ac97_plugin_wm97xx
. ad1816
. awe_wave
. harmony
. sequencer
. soundcard
. via82cxxx
Don't add the following OSS drivers for which there are
no obvious ALSA replacements:
. dmasound
. hal2
. ics2101
. ite8172
. msnd
. nec_vrc5477
. vidc
. vwsnd
. waveartist
Please let us know if any of the latter should also be
added to the blacklist.
Files:
457f5723e7edd12cded2bf6368fccc15 846 sound optional alsa-driver_1.0.6a-6.dsc
adede87c04a9464887cfa2dfc5ff50ec 87846 sound optional alsa-driver_1.0.6a-6.diff.gz
879209d16c68f9c683fc6da4752a4e45 50612 sound optional alsa-base_1.0.6a-6_all.deb
d3e6ae94c201ffa30ffaa01d48e019fd 1857940 sound optional alsa-source_1.0.6a-6_all.deb
d23a64a44b5e0dbfe8f0dff2b7b108eb 35354 sound optional alsa-headers_1.0.6a-6_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBfSEqJYSUupF6Il4RAvpRAJ95regMYWIJMDU77dmknDvnkX1G5ACggZqB
SJfI1cWmaRRD9fKiOzU4ULE=
=a3jy
-----END PGP SIGNATURE-----
More information about the Pkg-alsa-devel
mailing list