[comp.sys.ibm.pc.rt] AIX 2.2 problems

beaucham@uxh.cso.uiuc.edu (01/24/90)

We continue to have mucho problems with our upgrade from AIX 2.1.2 to
AIX 2.2.1, although now most major things are under control.  We have
found the step to be more difficult than it was going from 1.5 to 2.1,
even that software upgrade was accompanied by a big hardware upgrade  
and necessitated recompiling most of our C programs.

Some of our symptoms are:

mail thinks your home directory is root instead of $HOME.

su takes you into / instead of leaving you at your current directory.

mail now leaves a zero length file in /usr/adm, which necessitated changing
all users .login files to detect the presence of mail correctly.  We had
to change the statement
				if(-e ${mail}) then
to
				if(-e ${mail} && -z {mail} != 1) then

in about 40 .login files -- time consuming, but done.

The worst thing is that csh does not behave correctly.  Sometimes csh scripts
(which begin with '#! /bin/csh -f') do not accept input, sometimes they do
nothing, but the most consistent problem currently is that they will not
fork background jobs.  We suspect some interaction with the kernal, as the
combinations of what works and what doesn't has varied with time over the
past two weeks.  We have many scripts that we depend on using in our lab, and
we are seriously held up by not being able to use these scripts.

If anyone has any insight into the causes of and/or the solutions to these
problems, please let me know.

Jim Beauchamp    j-beauchamp@uiuc.edu

beaucham@uxh.cso.uiuc.edu (01/24/90)

I  should clarify the problem I referred to:
 "mail thinks your home directory is root instead of $HOME".

What I meant was if you do a !ls at the & mail prompt it gives
the root directory.  & s file still saves to the home directory.
What seems to be happening is that !ls is run under a separate c-shell
which thinks that its home, or at least its initial directory, is root.

I have found that any csh command takes / as the default directory 
rather than the current directory.  This may be related to our general
problems with the c-shell scripts.

Jim Beauchamp j-beauchamp@uiuc.edu