Jeff Abrahamson on 2 Aug 2006 14:22:42 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] fuser hangs


On Wed, Aug 02, 2006 at 02:54:24PM +0100, Stephen Gran wrote:
>   [32 lines, 217 words, 1498 characters]  Top characters: -eotsarn
> 
> On Wed, Aug 02, 2006 at 08:23:27AM -0400, Jeff Abrahamson said:
> > The script that launches mozilla browser has in it the line
> > 
> >     fuser /dev/dsp 2>&1 | sed -e 's#^/dev/dsp:##'
> > 
> > I'm not sure why my web browser needs to know about sound, but I'm
> > more curious why "fuser /dev/dsp" would not return when I execute
> > it.  Executing it as root makes no difference.
> 
> /etc/mozilla/mozillarc:MOZILLA_DSP is probably set to auto, and
> mozilla is attempting to figure out if a sound daemon has /dev/dsp
> open.  Browsers need sound like fish need pancakes, but some people
> want it, apparently.
> 
> To modify this behavior, either dpkg-reconfigure mozilla-browser,
> edit the file yourself, or just copy it to ~/.mozillarc.  Your
> choices for the DSP option are apparently Choices: auto, esddsp,
> artsdsp, rplaydsp, none (taken from
> /var/lib/dpkg/info/mozilla-browser.templates)

Thanks.  I had already tried setting MOZILLA_DSP=none, but the script
resets it somewhere.  I'll probably just edit the script rather than
debug it further.  Especially since you note that


> On a side note, mozilla-browser is dead upstream.  It's time to find a
> new favorite browser.

Yeah.  I'm open to suggestions.  I installed firefox but found it a
bit busy and not to my liking.  It also has some weird behavior on
page-up/page-down that I can't get over.  (I reported the bug, the
maintainer sees different behavior, I still see it with a pref-less
install.)

I should probably play with it more, since the whole world seems to
like firefox, which means all other browsers will tend to behave like
it sooner or later...


> As to why fuser hangs, I have no idea - strace will probably tell
> you better than I can guess.  That sounds like a bug worth
> reporting.

You are the voice of wisdom, as always.  The fuser hang is because of
a stat call on /proc/31352/cwd, which corresponds to a bash process
whose cwd is on an NFS (actually SFS) mount but whose server is
currently down.  I'm not sure that that's a bug in fuser so much as a
conceptual bug in the file system. ;-)

-- 
 Jeff

 Jeff Abrahamson  <http://jeff.purple.com/>          +1 215/837-2287
 GPG fingerprint: 1A1A BA95 D082 A558 A276  63C6 16BF 8C4C 0D1D AE4B

Attachment: signature.asc
Description: Digital signature

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug