Bug 78785

Summary: silly use of dotfile in /etc for aumix config
Product: [Retired] Red Hat Linux Reporter: Need Real Name <jmd>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED WONTFIX QA Contact: Brock Organ <borgan>
Severity: low Docs Contact:
Priority: medium    
Version: 8.0CC: mharris, mitr, redhat-mail, rvokal
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: 2004-04-14 19:52:27 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 Need Real Name 2002-11-29 21:47:32 UTC
The default levels for aumix are inexplicably stored as /etc/.aumixrc

It's very uncustomary for linux to have dot files in /etc, and worse, the aumix
man pages mentioned /etc/aumixrc is the default settings file, not /etc/.aumixrc

If the file were renamed to remove the dot, the -f switch from the module.conf
lines should be able to be removed, as well:

post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1

See also two other bugs I just filed on aumix/modules.conf:
  bug 78783 and bug 78784

Comment 1 Mike A. Harris 2003-05-30 03:19:49 UTC
This actually has nothing to do with aumix.  aumix's default config file
is /etc/aumixrc, which is what aumix uses.  We have not modified that.

aumix can be passed an alternate config file name however, and that is what
the initscripts are doing (for whatever reason).  I do not know if that
is intentional or not.

[root@claw64 xinetd.d]# grep -r aumix /etc/rc.d/*
/etc/rc.d/init.d/halt:if [ $? = 0 -a -x /bin/aumix-minimal ]; then
/etc/rc.d/init.d/halt:   runcmd $"Saving mixer settings" /bin/aumix-minimal -f
/etc/.aumixrc -S

[root@claw64 xinetd.d]# rpm -qf /etc/rc.d/init.d/halt
initscripts-7.13-1

Reassigning to initscripts component for final assessment.


Comment 2 Landon Curt Noll 2004-04-14 09:07:42 UTC
I see this this bug in RH8 has not been addressed in a long time. 
Having been bit by this same problem in RHEL3, I filed bug #120826 
with the hope that a paying customer filing a bug against the 
current Enterprize Linux will help encourage some resolution 
to this long standing problem. 

Comment 3 Bill Nottingham 2004-04-14 19:52:27 UTC
AS of Fedora Core 2, this is irrelevant, it now uses alsa.