Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Dec 1996 15:00:09 -0500 (EST)
From:      Bill Paul <wpaul@skynet.ctr.columbia.edu>
To:        kuku@gilberto.physik.rwth-aachen.de
Cc:        current@freebsd.org
Subject:   Re: tcsh NIS strangeness
Message-ID:  <199612192000.PAA08082@skynet.ctr.columbia.edu>
In-Reply-To: <199612191440.PAA29931@gilberto.physik.rwth-aachen.de> from "Christoph Kukulies" at Dec 19, 96 03:40:38 pm

next in thread | previous in thread | raw e-mail | index | archive | help
Of all the gin joints in all the towns in all the world, Christoph 
Kukulies had to walk into mine and say:

> > > Now with the just compiled tcsh-6.07-02 I get the follwomg strangeness:
> > > 
> > > toots> ls ~jolitz
> > > toots>
> > > 
> > > Only when I once have done a cd ~jolitz ; ls then subsequent
> > > ls ~jolitz deliver the expected ls listing.
> > > 
> > > It appears to happen only on the NIS client machines,
> > > not the server. The respective home dirs are NFS mounted BTW.
> > > The behaviour looks like tcsh directory caching problem.

Okay, well I just compiled tcsh 6.07.02 on my FreeBSD 2.2-ALPHA test
box. It seems to work fine. For the record, I compiled it as follows:

- Unpack archive
- cd tcsh-6.07.02
- cp config/bsd4.4 config.h
- vi Makefile.std (add -lcrypt to the LIBES line)
- make -f Makefile.std

That's it. I've always built tcsh this way and I've never had any
trouble with it. My test system is configured as an NIS server and is
bound to itself. (I also tried it as a client of my SunOS servers
and that worked too.) I run ypserv, ypbind, rpc.ypxfrd and rpc.yppasswdd
on it. All user passwd entries (except the usual system ones) are in NIS.
Using cd ~user works, as does ls ~user. On top of everything else, I
use amd to NFS mount all the home filesystems.
 
> > Is the NIS server also the NFS server? What version of FreeBSD are
> > the clients and server running? If you recompile the old version of
> 
> The server is running some 2.2-current of 23rd Oct.
> The clients are most 2.2 of same vintage, one client is 3.0 one week old.
> I believe it wouldn't be possible to me to build an old
> version of tcsh now (unless I take an old package of tcsh)..

tcsh-6.06 is still easy to get. There's no magic required in compiling it.
(The same instructrions I showed above should work.)

Needless to say I'm a little confused. If you want to try the binary
I compiled, it's at ftp.ctr.columbia.edu:/pub/misc/freebsd/tcsh.6.07.02.gz.


-Bill

-- 
=============================================================================
-Bill Paul            (212) 854-6020 | System Manager, Master of Unix-Fu
Work:         wpaul@ctr.columbia.edu | Center for Telecommunications Research
Home:  wpaul@skynet.ctr.columbia.edu | Columbia University, New York City
=============================================================================
 "It is not I who am crazy; it is I who am mad!" - Ren Hoek, "Space Madness"
=============================================================================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612192000.PAA08082>