Bug 485942

Summary: rename /etc/modprobe.d/sound to 50-sound.conf
Product: [openSUSE] openSUSE 11.2 Reporter: Michal Marek <mmarek>
Component: YaST2Assignee: Ladislav Slezák <lslezak>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P2 - High    
Version: Factory   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Michal Marek 2009-03-17 10:49:05 UTC
New module-init-tools requires files below /etc/modprobe.d to have a .conf suffix (files without the suffix are still read, but cause a warning). Additionally, to ensure proper ordering of configuration files, packages should install/create files with a "50-" prefix by default. For details, see http://lists.opensuse.org/opensuse-packaging/2009-03/msg00113.html .
Comment 1 Michal Marek 2009-03-17 10:54:07 UTC
BTW, same applies to /etc/modprobe.d/tv and /etc/modprobe.d/newid.
Comment 2 Michal Marek 2009-03-17 11:58:43 UTC
/usr/share/YaST2/include/sound/read_routines.ycp reads /etc/modprobe.conf in some cases. This file was renamed to /etc/modprobe.d/00-system.conf, but this file is unlikely to contain any sound configuration, local config should be set in /etc/modprobe.d/99-local.conf. You could e.g. read output of '/sbin/modprobe --showconfig' or 'cat /etc/modprobe.d/*'.
Comment 3 Ladislav Slezák 2009-03-17 12:20:56 UTC
/etc/modprobe.conf is read when /etc/modprobe.d/sound does not exist - this is for backward compatibility, but it's obsoleted now and can be removed.
Comment 4 Ladislav Slezák 2009-03-25 14:10:45 UTC
Takashi, I'm thinking which package should rename /etc/modprobe.d/sound to the new schema.

The config file is written by yast2-sound, but if someone removes yast2-sound and updates the system the config will not be renamed.

The config file is read also by alsasound init script - what do you think about renaming the config in alsa postinstall script?
Comment 5 Ladislav Slezák 2009-04-10 13:42:20 UTC
Fixed in yast2-sound-2.18.1.