From owner-freebsd-current Thu Dec 19 12:02:19 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id MAA08183 for current-outgoing; Thu, 19 Dec 1996 12:02:19 -0800 (PST) Received: from skynet.ctr.columbia.edu (skynet.ctr.columbia.edu [128.59.64.70]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id MAA08178 for ; Thu, 19 Dec 1996 12:02:14 -0800 (PST) Received: (from wpaul@localhost) by skynet.ctr.columbia.edu (8.6.12/8.6.9) id PAA08082; Thu, 19 Dec 1996 15:00:10 -0500 From: Bill Paul Message-Id: <199612192000.PAA08082@skynet.ctr.columbia.edu> Subject: Re: tcsh NIS strangeness To: kuku@gilberto.physik.rwth-aachen.de Date: Thu, 19 Dec 1996 15:00:09 -0500 (EST) Cc: current@freebsd.org In-Reply-To: <199612191440.PAA29931@gilberto.physik.rwth-aachen.de> from "Christoph Kukulies" at Dec 19, 96 03:40:38 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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" =============================================================================