From: Takashi Iwai Subject: Re: alsa-lib: add-on configs directory changed to /etc/alsa/conf.d Date: Tue, 10 Apr 2018 09:16:10 +0200 Message-ID: References: Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 1F38E266C1C for ; Tue, 10 Apr 2018 09:16:10 +0200 (CEST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Jaroslav Kysela Cc: ALSA development List-Id: alsa-devel@alsa-project.org On Wed, 04 Apr 2018 10:12:50 +0200, Jaroslav Kysela wrote: > > Hi, > > I pushed two commits to the alsa-lib package which changes the > default location for the add-on config files to /etc/alsa/conf.d from > /usr/share/alsa/alsa.conf.d . The reason is to follow the scheme like in > other packages. Also, the users might want to change or disable contents > in those 'default' files. > > Example paths from other packages: > > # find /etc -type d -name conf.d > /etc/fonts/conf.d > /etc/NetworkManager/conf.d > /etc/libblockdev/conf.d > /etc/sssd/conf.d > /etc/httpd/conf.d How about evaluating both paths, with preference of /etc over /usr/share? The change to allow only /etc would break the existing alsa-plugins packaging, for example, which still may put the config to /usr/share/alsa/conf.d. In general, /usr/share is the place for global setups while /etc for local machines. So it's more natural to put the package default setup to /usr/share while allowing overriding it via /etc. You can imagine /usr/share is shared via NFS. If anything different is necessary, you put it in /etc. thanks, Takashi