Bug 1244

Summary: sndconfig whacks /etc/conf.modules
Product: [Retired] Red Hat Linux Reporter: rmoxley
Component: sndconfigAssignee: David Lawrence <dkl>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-02-19 15:34:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description rmoxley 1999-02-19 14:54:37 UTC
If the user runs sndconfig and cancels before completely
configuring the soundcard, sndconfig renames (but does NOT
replace) /etc/conf.modules.

This occurs on my system with sndconfig-0.27-1.  I have
a Dell OptiPlex GX 1 with a Crystal CS4236 sound card.
when I run sndconfig, it identifies my sound card, but
if I cancel and exit before the configuration is complete,
my system is left without /etc/conf.modules (which is
a disaster on the next reboot).

SOLUTION: sndconfig should COPY /etc/conf.modules to
/etc/conf.modules.bak instead of RENAMING it.  Then,
if the user exits before sndconfig replaces
/etc/conf.modules, the original configuration is not lost.

Comment 1 Bill Nottingham 1999-02-19 15:34:59 UTC
this is actually a (slightly different) bug in sndconfig, fixed
in sndconfig-0.27-3.