<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>168367</bug_id>
          
          <creation_ts>2007-02-25 19:59 0000</creation_ts>
          <short_desc>alsa-utils/alsa-utils-1.0.14_rc2-r1 /etc/init.d/alsasound tries to unload snd even if snd isn&apos;t build as modul (when using in-kernel alsa)</short_desc>
          <delta_ts>2007-05-10 02:47:37 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>trivial</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>s.wezel@web.de</reporter>
          <assigned_to>alsa-bugs@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>s.wezel@web.de</who>
            <bug_when>2007-02-25 19:59:00 0000</bug_when>
            <thetext>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&apos;t build as modul (when using in-kernel alsa).
The Problem is, that the script doesn&apos;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 &amp;&amp; /etc/alsasound stop

Actual Results:  
The error message &quot;ERROR: Removing &apos;snd&apos;: No such file or directory&quot; is shown when stopping alsasound

Expected Results:  
No error message</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>s.wezel@web.de</who>
            <bug_when>2007-02-25 20:00:23 0000</bug_when>
            <thetext>Created an attachment (id=111222)
Add check that snd is a modul before trying to unload the snd modul

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>uberlord@gentoo.org</who>
            <bug_when>2007-03-19 21:32:11 0000</bug_when>
            <thetext>Fixed, thanks</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>anarchpenguin@gmail.com</who>
            <bug_when>2007-05-10 02:47:37 0000</bug_when>
            <thetext>(In reply to comment #2)
&gt; Fixed, thanks
&gt; 

This is not fixed :/ it is still very reproducable in the latest alsa-utils-1.0.14_rc2-r3</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>111222</attachid>
            <date>2007-02-25 20:00 0000</date>
            <desc>Add check that snd is a modul before trying to unload the snd modul</desc>
            <filename>alsasound-init-20070218.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIC91c3IvcG9ydGFnZS9tZWRpYS1zb3VuZC9hbHNhLXV0aWxzL2ZpbGVzL2Fsc2Fzb3VuZC1p
bml0LTIwMDcwMjE4CTIwMDctMDItMTggMTU6MDY6MTkuMDAwMDAwMDAwICswMTAwCisrKyBhbHNh
c291bmQtaW5pdC0yMDA3MDIxOC5uZXcJMjAwNy0wMi0yNSAyMDo0OTo1OC4wMDAwMDAwMDAgKzAx
MDAKQEAgLTEzNiw3ICsxMzYsOCBAQAogdW5sb2FkX21vZHVsZXNfMjYoKSB7CiAJIyBGaXJzdCBv
ZiBhbGwsIHJlbW92ZSB0aGUgc25kIG1vZHVsZSBhbmQgYWxsIHRoZSBtb2R1bGVzIGRlcGVuZGlu
ZwogCSMgb24gaXQsIHRoaXMgc2hvdWxkIHJlbW92ZSBhbHJlYWR5IG1vc3Qgb2YgQUxTQSBtb2R1
bGVzLgotCXVubG9hZF9tb2R1bGVzX3JlY3Vyc2l2ZSBzbmQKKwkjIENoZWNrIGZpcnN0IGlmIHNu
ZCBpcyBhIG1vZHVsIGFuZCBub3QgYnVpbHQgaW50byB0aGUga2VybmVsCisJW1sgYGxzbW9kIHwg
ZWdyZXAgIl5zbmRcPiIgfCBhd2sgJ3sgcHJpbnQgJDF9J2AgXV0gJiYgdW5sb2FkX21vZHVsZXNf
cmVjdXJzaXZlIHNuZAogCiAJIyBUaGVuIGZpbmQgdGhlIHJlbWFpbmluZyBvbmVzLCBhbmQgaGFu
ZGxlIHRoZW0gdG9vLgogCWZvciBtb2R1bGUgaW4gJChsc21vZCB8IGVncmVwICdec25kJyB8IGF3
ayAneyBwcmludCAkMSB9Jyk7IGRvCg==
</data>        

          </attachment>
    </bug>

</bugzilla>