Bug 168367 - alsa-utils/alsa-utils-1.0.14_rc2-r1 /etc/init.d/alsasound tries to unload snd even if snd isn't build as modul (when using in-kernel alsa)
Bug#: 168367 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: trivial Priority: P2
Resolution: FIXED Assigned To: alsa-bugs@gentoo.org Reported By: s.wezel@web.de
Component: Ebuilds
URL: 
Summary: alsa-utils/alsa-utils-1.0.14_rc2-r1 /etc/init.d/alsasound tries to unload snd even if snd isn't build as modul (when using in-kernel alsa)
Keywords:  
Status Whiteboard: 
Opened: 2007-02-25 19:59 0000
Description:   Opened: 2007-02-25 19:59 0000
The init-script /etc/init.d/alsasound from the
alsa-utils/alsa-utils-1.0.14_rc2-r1 package tries to unload the snd modul even
if the snd isn't build as modul (when using in-kernel alsa).
The Problem is, that the script doesn't check this condition.

Reproducible: Always

Steps to Reproduce:
1. Use in-kernel alsa and built the snd fix into the kernel
2. alsa-utils-1.0.14_rc2-r1 installed
3. /etc/init.d/alsasound start && /etc/alsasound stop

Actual Results:  
The error message "ERROR: Removing 'snd': No such file or directory" is shown
when stopping alsasound

Expected Results:  
No error message

------- Comment #1 From stephan wezel 2007-02-25 20:00:23 0000 -------
Created an attachment (id=111222) [details]
Add check that snd is a modul before trying to unload the snd modul

------- Comment #2 From Roy Marples (RETIRED) 2007-03-19 21:32:11 0000 -------
Fixed, thanks

------- Comment #3 From Bugs Bunny 2007-05-10 02:47:37 0000 -------
(In reply to comment #2)
> Fixed, thanks
> 

This is not fixed :/ it is still very reproducable in the latest
alsa-utils-1.0.14_rc2-r3