[2986] in testers

home help back first fref pref prev next nref lref last post

Re: sun4 [8.0D]: 8.0D version specific update script

daemon@ATHENA.MIT.EDU (Greg Hudson)
Tue Jul 2 16:07:20 1996

Date: Tue, 2 Jul 1996 16:06:47 -0400
From: Greg Hudson <ghudson@MIT.EDU>
To: Jonathon Weiss <jweiss@MIT.EDU>
Cc: testers@MIT.EDU, jweiss@MIT.EDU
In-Reply-To: "[2985] in testers"

> AFSCLIENT="4 -stat 2800 -dcache 2400 -volumes 70";              export AFSCLIENT        # AFS client?

(This sort of thing is one of the reasons I tend to favor selective
editing when modifying configuration files.  But ignore that comment
for the remainder of the message.)

My take on this is that you were using a "serendipitous"
(i.e. unsupported) feature of the athena startup script.  AFSCLIENT is
supposed to be true, false, or the number of AFS daemons, not "the
number of AFS daemons and anything else you happen to want on the
command line where the value happens to be used."  Nothing else in the
rc.conf file should ever require spaces (the vast majority of values
are true/false values), so I don't consider this to be a bug in the
rc.conf rewrite.

I don't anticipate doing rc.conf rewrites in the future, but one of
the things I do to shell scripts sometimes is tighten up variable
substitutions so that values which are intended to be exactly one word
are substituted in as one word ("$foo" instead of just $foo).  This
would break your use of AFSCLIENT.  (I would probably introduce a
separate variable for random afsd options, though.)

home help back first fref pref prev next nref lref last post