[OpenAFS-devel] Solaris afs.rc file damage
Marcus Watts
mdw@umich.edu
Sun, 08 Apr 2007 21:30:31 -0400
> I noticed that the solaris afs.rc files have an unscheduled reboot in
...
> not just Solaris that has this problem.
>
> So, I suppose it is necessary to pontificate a bit on the subject, and
<deleted to conserve electrons>
...
These architectures appear to have an afsd.rc that reboots:
alpha
alpha_dux40
darwin
fbsd
hpux10
solaris (various)
I'm not sure why solaris needs 5 different versions,
and some of these wil presumably go away soon.
5.2--5.4
5.7
5.8
5.9, 5.10
5.5 and anything else (5.6).
the reboot seems to be necessary for these 2 things:
/a/
to install an entry in /etc/name_to_sysnum
/b/
if
/usr/afsws/etc/package says to do this.
If I remember right, the name_to_sysnum is part of an evil magical
thing about solaris. If I recall right, you don't get a working cache
manager until you reboot with the right stuff in this file, and there's
just no good way around this.
/usr/afsws/etc/package looks like it's part of some system management
tool. I'm not sure why that's here and not in a separate rc file -
this looks like a choice people might not make automatically. Also,
unless you install with just the right paths, this file probably won't
work anyways. I don't think I have any machines in my local
environment with /usr/afsws, not even the rs_aix43 machine with
transarc paths.
The linux rc file didn't have the reboot issue, but it had its own path
issues - I currently have a patch file that modifies it to match what I
told configure.
I envy your ability to install stuff like this on a production machine
without doing any previous testing. In our production environment, our
production staff won't make this kind of upgrade unless it's been
thoroughly tested and the phase of the moon is just right. Did you
build from scratch or install a binary package? What documentation did
you read before installing it? Did it warn you that it would reboot?
Is there any improvement that can be made to the documentation that
would have avoided this problem for you? < the "quickstart unix" guide
at least appears to warn you that it will reboot -- in auqbg004.htm,
around line 154 of 281 (generic?), in auqbg005.html around linek 1721
of 4427 (solaris specific.), and more places too. >
-Marcus Watts