<html>
    <head>
    </head>
    <body text="#000000" style="background-color: #ffffff;">
        Okay, I added the local-settings.js. Firefox launches correctly, but it still isn't pulling the correct settings. It is pulling user preferences from /home/username/.mozilla/firefox/user.default/user.prefs. Is there a way to tell it to override user preferences and only use the config file specified? <br />
        <br />
        -----Original Message-----<br />
        From: "Donaldson Jeffrey" <jdonaldson@ncs.k12.de.us><br />
        Sent 11/16/2011 3:49:52 PM<br />
        To: "Rippl, Steve" <rippls@woodlandschools.org><br />
        Cc: "Edubuntu Users Group" <edubuntu-users@lists.ubuntu.com><br />
        Subject: Re: Firefox caching to NFS mounted home directories killing disk
        IO on file server<br />
        <br />
        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
        Thanks Steve. I'll try adding a local-settings.js with the two
        general configs and seeing if that helps. Just out of curiosity, if
        one of your students goes to <a href="about:config" class="moz-txt-link-freetext">about:config</a> or <a href="about:cache" class="moz-txt-link-freetext">about:cache</a>, do they
        see the settings?<br />
        <br />
        <br />
        On 11/16/2011 01:22 PM, Rippl, Steve wrote:
        <blockquote type="cite" cite="mid:CALzSqVsRnqNVeyjTXxUV2KROHeGfB=oScFQDFkG+PgK7yVCEvA@mail.gmail.com">That does look fine.  So the one difference we have is
        that in /etc/firefox/prefs we put the 2 lines 
        <div>
        <div><br />
        </div>
        <div>pref("general.config.obscure_value", 0);</div>
        <div>pref("general.config.filename", "firefox.cfg");</div>
        </div>
        <div><br />
        </div>
        <div>in a separate file we call local-settings.js, rather than
        within the firefox.js.  I'm assuming everything in that folder
        gets read and this shouldn't make any difference, but it's the
        only difference I can see at this point.</div>
        <div><br />
        </div>
        <div><br />
        </div>
        <div><br />
        <br />
        <div class="gmail_quote">On Wed, Nov 16, 2011 at 10:09 AM,
        Donaldson Jeffrey <span dir="ltr"><<a href="mailto:jdonaldson@ncs.k12.de.us" moz-do-not-send="true">jdonaldson@ncs.k12.de.us</a>></span>
        wrote:<br />
        <blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid #cccccc; padding-left: 1ex;" class="gmail_quote">
        <div text="#000000" bgcolor="#FFFFFF"> I don't believe it to
        be a syntax issue, but here's the file before running the
        byteshift on it. <br />
        <div>
        <div class="h5"> <br />
        On 11/16/2011 12:43 PM, Rippl, Steve wrote:
        <blockquote type="cite">That should work, we have
        root:root 644 and that works.  Have you tried
        commenting out all the javascript in
        /usr/lib/firefox-7.0.1/firefox.cfg just to ensure it
        isn't a syntax error in the file itself causing it
        to complain?
        <div> <br />
        </div>
        <div><br />
        <br />
        <div class="gmail_quote">On Wed, Nov 16, 2011 at
        9:22 AM, Donaldson Jeffrey <span dir="ltr"><<a target="_blank" href="mailto:jdonaldson@ncs.k12.de.us" moz-do-not-send="true">jdonaldson@ncs.k12.de.us</a>></span>
        wrote:<br />
        <blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid #cccccc; padding-left: 1ex;" class="gmail_quote">
        <div text="#000000" bgcolor="#FFFFFF"> Steve,<br />
        <br />
        Thanks for the reply. I have user and group
        setup with nobody:nogroup and 755
        permissions. Is this wrong? How do you have
        your permissions setup? Currently we don't
        have it setup as a local app. Thanks for
        your help!<br />
        <br />
        Jeff
        <div>
        <div><br />
        <br />
        On 11/16/2011 11:31 AM, Rippl, Steve
        wrote:
        <blockquote type="cite">
        <div class="gmail_quote">On Wed, Nov
        16, 2011 at 8:10 AM, Donaldson
        Jeffrey <span dir="ltr"><<a target="_blank" href="mailto:jdonaldson@ncs.k12.de.us" moz-do-not-send="true">jdonaldson@ncs.k12.de.us</a>></span>
        wrote:<br />
        <blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid #cccccc; padding-left: 1ex;" class="gmail_quote"> <br />
        I've been trying for a few days
        now to get Firefox to cache pages
        to /tmp locally for all users. I
        updated to Firefox 7, then edited
        the firefox.js in
        /etc/firefox/pref to include these
        lines -<br />
        <br />
        pref("general.config.obscure_value",
        0);   (supposed to tell FF not to
        worry about byteshift)<br />
        pref("general.config.filename",
        "firefox.cfg");<br />
        <br />
        I then took a customized
        firefox.cfg file and placed it in
        /usr/lib/firefox-7.0.1.<br />
        <span style="color: #888888;"> <br />
        </span></blockquote>
        </div>
        <br clear="all" />
        <div><br />
        </div>
        <div>This is what we do (to lock down
        network settings and the like) and
        it works.  The only problems I can
        think of are permissions issues on
         /usr/lib/firefox-7.0.1/firefox.cfg
        (can the user read it?) and whether
        you have an error in the JavaScript
        in the .cfg file?  Then again this
        is all run on the server for us (no
        local apps), are you running Firefox
        as a local app?</div>
        <div><br />
        </div>
        <div>For what it's worth, we found
        that many apps and even the Gnome
        desktop itself didn't work that well
        with nfs mounted home folders for
        the students.  We've since moved to
        having real local folder on each of
        the LTSP server (we have multiple
        load balanced) and we use csync (<a target="_blank" href="http://www.csync.org/" moz-do-not-send="true">http://www.csync.org/</a>)
        to synchronize those with the
        central file server on login/logout
        and every 10 minutes they're logged
        in.  Performance went up
        dramatically and the load on the
        file server is almost nothing.</div>
        <div><br />
        </div>
        <div><br />
        </div>
        <div><br />
        </div>
        <div><br />
        </div>
        -- <br />
        Steve Rippl<br />
        Technology Director<br />
        Woodland Public Schools<br />
        <a target="_blank" value="+13608412730" href="tel:360%20841%202730" moz-do-not-send="true">360
        841 2730</a><br />
        </blockquote>
        <br />
        </div>
        </div>
        <div>
        <pre cols="72">-- 
Regards,
Jeff Donaldson
Data Services Manager
Newark Charter School
<a target="_blank" value="+13023692001" href="tel:%28302%29%20369-2001%20ext%3A425" moz-do-not-send="true">(302) 369-2001 ext:425</a>
<a target="_blank" href="mailto:jdonaldson@ncs.k12.de.us" moz-do-not-send="true">jdonaldson@ncs.k12.de.us</a>
</pre>
        </div>
        </div>
        </blockquote>
        </div>
        <br />
        <br clear="all" />
        <div><br />
        </div>
        -- <br />
        Steve Rippl<br />
        Technology Director<br />
        Woodland Public Schools<br />
        <a target="_blank" value="+13608412730" href="tel:360%20841%202730" moz-do-not-send="true">360 841 2730</a><br />
        </div>
        </blockquote>
        <br />
        <pre cols="72">-- 
Regards,
Jeff Donaldson
Data Services Manager
Newark Charter School
<a target="_blank" value="+13023692001" href="tel:%28302%29%20369-2001%20ext%3A425" moz-do-not-send="true">(302) 369-2001 ext:425</a>
<a target="_blank" href="mailto:jdonaldson@ncs.k12.de.us" moz-do-not-send="true">jdonaldson@ncs.k12.de.us</a>
</pre>
        </div>
        </div>
        </div>
        </blockquote>
        </div>
        <br />
        <br clear="all" />
        <div><br />
        </div>
        -- <br />
        Steve Rippl<br />
        Technology Director<br />
        Woodland Public Schools<br />
        360 841 2730<br />
        </div>
        </blockquote>
        <br />
        <pre cols="72" class="moz-signature">-- 
Regards,
Jeff Donaldson
Data Services Manager
Newark Charter School
(302) 369-2001 ext:425
<a href="mailto:jdonaldson@ncs.k12.de.us" class="moz-txt-link-abbreviated">jdonaldson@ncs.k12.de.us</a>
</pre>
        <pre>-- 
edubuntu-users mailing list
edubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: <a target="_blank" href="https://lists.ubuntu.com/mailman/listinfo/edubuntu-users">https://lists.ubuntu.com/mailman/listinfo/edubuntu-users</a>
</pre>
    </body>
</html>