[11071] in Athena Bugs
sun4 7.6L: /etc/athena/reactivate
daemon@ATHENA.MIT.EDU (ckclark@MIT.EDU)
Mon Sep 27 07:49:23 1993
From: ckclark@MIT.EDU
Date: Mon, 27 Sep 93 07:48:55 EDT
To: bugs@MIT.EDU
-------
System name: triad
Type and version: SPARC/Classic 7.6L
Display type: cgthree
What were you trying to do?
Log in.
What's wrong:
The first line of my console window is:
07:16 detach: public-sunsys detached
This is becase detach is not executed with the -q flag
in /etc/athena/reactivate on the sun.
What should have happened:
On all of the other systems, the attached filesystems are
detached with the line:
/bin/athena/detach -O -h -n $quiet $dflags -a
in /etc/athena/reactivate. There is code
in earlier parts of the file which sets $quiet to -q if
the $USER environment variable isn't set. This
code seems to work, so I don't know why the line
in the sun's reactivate script doesn't also include $quiet:
/bin/athena/detach -O -h -n -a
Note that $dflags in the earlier detach line is
sometimes an empty string, and sometimes `-clean,'
depending on whether the reactivate script was called
with a first argument of `-detach.'
Perhaps someone discovered that the `-clean' option
to detach did something bad on the sun, and so
both $quiet and $dflags were removed? I don't know.
In any case, the detach verbose output is confusing
to users; I have run into more than one person
who thought that the machine was ``screwed up''
or ``didn't have the system packs'' simply because
this detach line is verbose and the subsequent
syspack attach line isn't (it uses $quiet/-q).
Please describe any relevant documentation references:
reactivate(8)