<?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>102015</bug_id>
          
          <creation_ts>2005-08-10 10:58 0000</creation_ts>
          <short_desc>media-sound/alsa-utils alsasound init script does not fail if needed modules are not found</short_desc>
          <delta_ts>2007-02-18 14:00:54 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>Unspecified</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>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>betelgeuse@gentoo.org</reporter>
          <assigned_to>alsa-bugs@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>betelgeuse@gentoo.org</who>
            <bug_when>2005-08-10 10:58:23 0000</bug_when>
            <thetext>Background:
After updating a kernel I sometimes forget to rebuild modules so when I boot I
have the alsa modules missing. 

Steps to reproduce:
1. /etc/init.d/alsasound stop (make sure that the modules are not loaded)
2. rm /lib/modules/&lt;kernel&gt;/alsa-driver/acore/snd.ko
3. /etc/init.d/alsasound start
4. /etc/init.d/alsasound status

Behaviour:
It gives a bunch of errors as expected but alsasounds status still reports
alsasound as started but it is most certain that sound is not working. 

Expected:
When one of the modules is missing the init script should stop executing and
report failure with for example return 1.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>betelgeuse@gentoo.org</who>
            <bug_when>2006-09-30 11:15:15 0000</bug_when>
            <thetext>Still present in alsa-utils-1.0.12</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>flameeyes@gentoo.org</who>
            <bug_when>2006-10-01 21:54:03 0000</bug_when>
            <thetext>The problem is that one might be using built-in static support for ALSA, which would break if we check modules presence.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>flameeyes@gentoo.org</who>
            <bug_when>2007-02-18 14:00:54 0000</bug_when>
            <thetext>I&apos;ve fixed it in 1.0.14_rc2-r1 without revbump, as I just added it yesterday, and this is a minor problem anyway.
</thetext>
          </long_desc>
      
    </bug>

</bugzilla>