[17112] in Athena Bugs
Re: netscape-fix and the cache location
daemon@ATHENA.MIT.EDU (t. belton)
Mon Aug 30 13:17:08 1999
Date: Mon, 30 Aug 1999 13:16:54 -0400 (EDT)
From: "t. belton" <tbelton@MIT.EDU>
To: Greg Hudson <ghudson@MIT.EDU>
Cc: bug-infoagents@MIT.EDU, web-agents@MIT.EDU
In-Reply-To: <199908291512.LAA23035@small-gods.mit.edu>
Message-Id: <Pine.GSO.3.96L.990830130217.16857B-100000@iphigenia.mit.edu>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
The netscape-fix script had a bug in it, which I just fixed. The cache
location was one of two items which needed to have an ATHENA_USERNAME
substitution made, and that wasn't working correctly, so the previous
setting (the incorrect one) didn't get overwritten.
I'm curious how you managed to get a set of prefs which cached into the
wrong place to begin with, since I'd like to prevent that from happening
if possible! All the first-run Netscape prefs (i.e. what you get when you
start from scratch) have set it properly since 3.0.
The cache location is the #1 thing we want to make sure the user's doing
correctly (i.e. not into AFS space).
By the by, netscape-fix is undergoing renovation right now, and soon that
rm -rf message below is going to vanish because netscape-fix will nuke
.netscape/cache/ automatically if it finds it. This is one case where we
feel strongly enough about it that we're willing to risk rude script
behavior .... although there's still some thinking to do about which
choices netscape-fix will give you, what it'll ask about, etc, moving the
cache out of AFS probably should not be optional.
-Todd
On Sun, 29 Aug 1999, Greg Hudson wrote:
> A while ago, netscape managed to rewrite its default preferences over
> my own (I ran it without tokens and then renewed my tokens... perhaps
> there's something to be done about this, but it's a secondary
> problem). As part of this, my cache directory was set to be in my
> homedir. So when I start netscape, I get the message from this part
> of the script:
>
> echo "To correct, this situation, quit Netscape, and then run"
> echo " add infoagents"
> echo " netscape-fix"
> echo " cd"
> echo " rm -rf .netscape/cache"
>
> But when I run netscape-fix, it does not actually change my cache
> directory or otherwise fix the problem.
>
> I don't speak for ASO, of course, but having netscape caches in AFS
> places a relatively serious load on the infrastructure, so I think
> solving this problem is a relatively high priority.