Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
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)
Summary: alsa-utils/alsa-utils-1.0.14_rc2-r1 /etc/init.d/alsasound tries to unload snd...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo ALSA team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-25 19:59 UTC by stephan wezel
Modified: 2007-05-10 02:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Add check that snd is a modul before trying to unload the snd modul (alsasound-init-20070218.patch,649 bytes, patch)
2007-02-25 20:00 UTC, stephan wezel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description stephan wezel 2007-02-25 19:59:00 UTC
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 stephan wezel 2007-02-25 20:00:23 UTC
Created attachment 111222 [details, diff]
Add check that snd is a modul before trying to unload the snd modul
Comment 2 Roy Marples (RETIRED) gentoo-dev 2007-03-19 21:32:11 UTC
Fixed, thanks
Comment 3 Bugs Bunny 2007-05-10 02:47:37 UTC
(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