Bug#500509: alsa-utils: /usr/share/alsa/alsa.conf should be moved to /etc
* Antoine Beaupré[2016-01-01 23:00 -0500]: > Package: libasound2-data > Version: 1.0.28-1 > Followup-For: Bug #500509 > > This is still a problem. While /etc/alsa.conf may not make sense > because it is a "default configuration", now stuff like pulseaudio > jumped into the fray and now configures pulseaudio automaticall to > fire up whenever you talk to alsa, through > /usr/share/alsa/alsa.conf.d/*.conf files. > > If i want pulseaudio installed, but want to turn that freaking thing > off, it's basically impossible because the changes will be overwritten > on upgrade. Similarly, it's impossible to change the default alsa > config that way. > > Config files belong to /etc, i believe this is a pretty clear Policy > we have, no? > > The problem with the current approach is discoverability - until i > found out about the Debian wiki article describing the way PA was > overriding ALSA, i had *no* idea there was a ALSA configuration > directory, because there was nothing in /etc/alsa* Did you ever had a look at /usr/share/alsa/alsa.conf? $ head -3 /usr/share/alsa/alsa.conf # # ALSA library configuration file # All files residing in /usr/share/alsa/ have the purpose to give information on apps which rely on libasound. So $USER has nothing to modify and the files _have_ to stay here! If you want to create your own alsa environment read /usr/share/doc/libasound2/examples/asoundrc.txt.gz and create your own $HOME/.asoundrc or find an appropriate example for your card in the net. If you want to get rid of pulse go i.e. here: http://ubuntuforums.org/showthread.php?t=1381284 Elimar -- Obviously the human brain works like a computer. Since there are no stupid computers humans can't be stupid. There are just a few running with Windows or even CE ;-)
Bug#500509: alsa-utils: /usr/share/alsa/alsa.conf should be moved to /etc
Package: libasound2-data Version: 1.0.28-1 Followup-For: Bug #500509 This is still a problem. While /etc/alsa.conf may not make sense because it is a "default configuration", now stuff like pulseaudio jumped into the fray and now configures pulseaudio automaticall to fire up whenever you talk to alsa, through /usr/share/alsa/alsa.conf.d/*.conf files. If i want pulseaudio installed, but want to turn that freaking thing off, it's basically impossible because the changes will be overwritten on upgrade. Similarly, it's impossible to change the default alsa config that way. Config files belong to /etc, i believe this is a pretty clear Policy we have, no? The problem with the current approach is discoverability - until i found out about the Debian wiki article describing the way PA was overriding ALSA, i had *no* idea there was a ALSA configuration directory, because there was nothing in /etc/alsa* thanks for reconsidering -- System Information: Debian Release: 8.2 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'stable'), (500, 'oldstable'), (1, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 4.2.0-0.bpo.1-amd64 (SMP w/2 CPU cores) Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) libasound2-data depends on no packages. libasound2-data recommends no packages. Versions of packages libasound2-data suggests: ii alsa-utils 1.0.28-1 -- no debconf information
Bug#500509: alsa-utils: /usr/share/alsa/alsa.conf should be moved to /etc
On Tue, Sep 30, 2008 at 08:30:55PM +0200, Elimar Riesebieter wrote: * Russell Coker [080929 23:10 +0200] On Tuesday 30 September 2008 04:15, Elimar Riesebieter riese...@lxtec.de wrote: Config files belong under /etc not under /usr. To be honest: Which config files do you mean? /usr/share/alsa/alsa.conf This file is installed by libasound2. (...) This file should not be customized. More precisely, it is a kind of default configuration that is not hardcoded in the C code, but in a text file; as far as I understand, everything done in that file can be overridden in /etc/asound.conf, so that's where the local configuration-changing should happen. Russel, does this convince you that the bug is not a bug? -- Lionel -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#500509: alsa-utils: /usr/share/alsa/alsa.conf should be moved to /etc
On Thu, 12 Feb 2009, Lionel Elie Mamane lio...@mamane.lu wrote: More precisely, it is a kind of default configuration that is not hardcoded in the C code, but in a text file; as far as I understand, everything done in that file can be overridden in /etc/asound.conf, so that's where the local configuration-changing should happen. So why not just install the file as /etc/asound.conf? Russel, does this convince you that the bug is not a bug? No. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#500509: [Pkg-alsa-devel] Bug#500509: alsa-utils: /usr/share/alsa/alsa.conf should be moved to /etc
reassign 500509 libasound2 tags 500509 wontfix thanks * Russell Coker [080929 23:10 +0200] On Tuesday 30 September 2008 04:15, Elimar Riesebieter [EMAIL PROTECTED] wrote: Package: alsa-utils Version: 1.0.16-2 Severity: normal Config files belong under /etc not under /usr. To be honest: Which config files do you mean? /usr/share/alsa/alsa.conf This file is installed by libasound2. It ist placed in the share, because alsa-utils and alsa-plugins are looking for that library configuration file. This file should not be customized. You are right: Config files have to be in /etc. But in that case it is a information file for other packages und must be shared. You can discuss this with the alsa developers, but they won't change though. I'll tag this bug as wontfix till you agree to close the bug. Elimar -- Learned men are the cisterns of knowledge, not the fountainheads ;-) signature.asc Description: Digital signature
Bug#500509: [Pkg-alsa-devel] Bug#500509: alsa-utils: /usr/share/alsa/alsa.conf should be moved to /etc
* Russell Coker [080929 00:20 +0200] Package: alsa-utils Version: 1.0.16-2 Severity: normal Config files belong under /etc not under /usr. To be honest: Which config files do you mean? Elimar -- You cannot propel yourself forward by patting yourself on the back. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#500509: [Pkg-alsa-devel] Bug#500509: alsa-utils: /usr/share/alsa/alsa.conf should be moved to /etc
On Tuesday 30 September 2008 04:15, Elimar Riesebieter [EMAIL PROTECTED] wrote: Package: alsa-utils Version: 1.0.16-2 Severity: normal Config files belong under /etc not under /usr. To be honest: Which config files do you mean? /usr/share/alsa/alsa.conf -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#500509: alsa-utils: /usr/share/alsa/alsa.conf should be moved to /etc
Package: alsa-utils Version: 1.0.16-2 Severity: normal Config files belong under /etc not under /usr. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]