Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62624 - /etc/init.d/alsasound has syntax errors
Summary: /etc/init.d/alsasound has syntax errors
Status: RESOLVED DUPLICATE of bug 62152
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-02 07:25 UTC by Andy Dalton
Modified: 2005-07-17 13:06 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andy Dalton 2004-09-02 07:25:56 UTC
After emerging the latest version of alsa-utils (1.0.5), /etc/init.d/alsasound will not run sighting syntax errors.  After further investigation, I found this in the forums:

http://forums.gentoo.org/viewtopic.php?t=216054

There is a typo in the script on line 194 -- "the" should be "then."

Reproducible: Always
Steps to Reproduce:
1. /etc/init.d/alsasound start
Actual Results:  
 * ERROR:  "/etc/init.d/alsasound" has syntax errors in it; not executing...


Expected Results:  
 * ALSA Detected...
 * Restoring Mixer Levels                                                 [ ok ]


# emerge info
Portage 2.0.50-r10 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.3.20040420-r1,
2.6.8-gentoo-r3)
=================================================================
System uname: 2.6.8-gentoo-r3 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-tbird -O2 -fforce-addr -fomit-frame-pointer
-frename-registers -ftracer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-tbird -O2 -fforce-addr -fomit-frame-pointer
-frename-registers -ftracer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d acpi alsa apm arts avi berkdb cdr cjk crypt cscope cups curl dga
encode esd ethereal evo f77 fbcon foomaticdb gd gdbm gif gpm gtk gtk2 imap imlib
innodb java jpeg kde lcms libg++ libwww mad mbox memlimit mikmod mmx motif mpeg
mysql ncurses nls nptl oggvorbis opengl oss pam pdflib perl plotutils png
pythonqt quicktime readline ruby samba sasl scanner sdl slang snmp spell sse ssl
svgatcltk tcpd tetex threads truetype usb videos wmf x86 xml xml2 xmms xv zlib"
Comment 1 Sven Wegener gentoo-dev 2004-09-02 10:44:08 UTC

*** This bug has been marked as a duplicate of 62152 ***