Your message dated Sat, 20 Jan 2007 12:36:53 +0100
with message-id <[EMAIL PROTECTED]>
and subject line mozilla startup script should not check if /dev/dsp is in use
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: mozilla-browser
Version: 1+rc3-2
Severity: minor
(note: this is similar to bug #148680 -- but not entirely, moreover, I
also included a suggested fix)
The part where you use fuser to check if /dev/dsp is in use, isn't
correct imo. Arts doesn't lock /dev/dsp if it's not playing sound (more
precisely, when it's suspended), so mozilla could start without artsdsp,
but say i start playing an mp3, arts wakes up, then i go to a site that
contains a flash thingy, and mozilla hangs because it didn't startup
with artsdsp (in a way the correct thing to do, because back then no-one
was using /dev/dsp)
i suggest a change along the lines of:
======
if [ "$MOZILLA_DSP" = "auto" ]; then
MOZILLA_DSP=""
# some process could start using /dev/dsp before mozilla does,
# and when mozilla does want to start using /dev/dsp, it could therefore
# be blocked
# P=`fuser /dev/dsp | sed -e 's#^/dev/dsp:##' `
# if [ -n "$P" ]; then
if [ "$(pidof esd)a" != "a" ];then MOZILLA_DSP=esddsp;
elif [ "$(pidof artsd)a" != "a" ]; then
MOZILLA_DSP=artsdsp; fi
# fi
elif [ "$MOZILLA_DSP" = "none" ];then
MOZILLA_DSP=""
fi
=====
keep up the good work,
greetings,
Adriaan Moors
--- End Message ---
--- Begin Message ---
Version: 2:1.8+1.0.7-2
iceape is using pgrep to check for running instances of esd, artsd,
et.al instead of using fuser on /dev/dsp.
cu andreas
--
The 'Galactic Cleaning' policy undertaken by Emperor Zhark is a personal
vision of the emperor's, and its inclusion in this work does not constitute
tacit approval by the author or the publisher for any such projects,
howsoever undertaken. (c) Jasper Ffforde
--- End Message ---