COMMAND

    OSS

SYSTEMS AFFECTED

    Linux

PROBLEM

    Stefan Laudat  found following.   While digging  in the  "soundon"
    script  delivered  with  the  OSS  package (the commercial one, of
    course), he has discovered something very unusual on line 26:

        $MODTOOLS/insmod -V > /tmp/oss.tmp 2>&1
        # KABOOM! "Hey, Beavis,  told ya it was plutonium"
        MODVERS=`head -1 /tmp/oss.tmp|sed 's/.* //'`
        rm -f /tmp/oss.tmp # too late, buddy!

    Nice,huh?  Just imagine that almost all soundcards are PnP  today,
    there are few admins  that know how to  play with isapnp and  ALSA
    (yeah, it rulez), the soundcfg or soundconf (whatever) script that
    comes with RedHat 5.x sucks big  time and most of the ppl  running
    Linux use OSS that seems to  be a very good tool for  the average.
    Since most of you are  running the soundon script in  rc.local, so
    the satisfaction is guaranteed (next boot you're dead):

        ln -s  /etc/inittab

SOLUTION

    Don't worry,  support@opensound.com has  been already  notified so
    they will correct the bug ASAP.  The correct code should be:

        ## insert before line 26
        if [ -L /tmp/oss.tmp ]
        then
        logger "Hey,man, you've got a naughty (l)user -- ".`ls -lsa /tmp/oss.tmp`

        # die, lam0r! :)

        rm /tmp/oss.tmp
        fi