• Main INDEX
  • Monthly INDEX
  • PREV
  • NEXT
    Make New Entry, Make Followup Entry

    User name brads

    Log entry time 10:31:36 on November 09, 2009

    Entry number 298551

    This entry is a followup to: 298547

    Followups:

    keyword=firefox problems and solution (need someone with root)

    The underlying problem is that current versions of firefox really do not like having multiple copies use the same profile. Firefox tries to handle this with the 'in-use, new profile' dialog, but the locking sucks by design (very racy). The race conditions just get aggravated because of the shared home directory across the cluster.

    The /home/adaq/bin/firefox script takes care of the bulk of the problems, but it only works when it is able to invoke firefox. This can fail in a few ways(*), but here's what needs to be done:

    a) mv /usr/bin/firefox /usr/bin/firefox.orig
       mv /adaqfs/home/adaq/bin/firefox /usr/bin/firefox
       chattr +i /usr/bin/firefox
         -- this is to keep rpm from blowing away the script behind your back
    b) stop all running firefoxes on the cluster
    c) regenerate the profiles in ~adaq/.mozilla/firefox
    
    I will be happy to do (b) and (c), but there's no point until (a) is completed.

    (*) The most common problem is that the desktop manager 'firefox' button points to /usr/bin/firefox. I've changed this a half-dozen times on every adaq machine but it always gets changed back at some point (ie. it's usually only good for one login session). After that, it's only a matter of time before the whole thing breaks. There are also ingrained problems with how the shell rc scripts are used on the adaq cluster that make it hard/impossible for 'alias' overrides to be reliable.

    A copy of this log entry has been emailed to: ole, rom