Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Dec 1997 09:12:12 -0800
From:      John Polstra <jdp@polstra.com>
To:        stable@freebsd.org
Subject:   Bogus interaction between NFS and mount
Message-ID:  <199712231712.JAA26683@austin.polstra.com>

next in thread | raw e-mail | index | archive | help
This has got to be one of the most bogus things I've ever seen
involving NFS.  I have two machines networked together:

    Server:	2.2-stable from December 11
    Client:	-current from December 5

Client has mounted the /usr/ports tree from Server.  On Client, I
chdir into /usr/ports/editors/emacs20 and start a build:

    >> Checksum OK for emacs-20.2.tar.gz.
    ===>  Extracting for emacs-20.2
    ===>  emacs-20.2 depends on executable: gmake - found

Grind grind grind, the big tar extract starts crunching away.  Since
it's emacs, it takes two forevers.  Meanwhile, over on Server, I
decide to mount a CD-ROM.  The CD is sitting in the drive, but it's
not mounted.  I type "mount /cdrom" and it succeeds.  BUT, at the same
time, over on Client everything suddenly falls apart:

    /usr/bin/tar: Could not create file emacs-20.2/src/chpdef.h : Permission denied
    /usr/bin/tar: Could not create file emacs-20.2/src/cm.h : Permission denied
    /usr/bin/tar: Could not create file emacs-20.2/src/coding.h : Permission denied

followed by many more such complaints until the make dies.  This
problem is reproducible.

It is hard to see why mounting a local CD-ROM on the NFS server should
cause problems for a completely separate exported file system, but
that is what is happening.  The only connection between the CD-ROM and
NFS, as far as I can tell, is that /cdrom happens to be exported.

Suggestions, anyone?
--
   John Polstra                                       jdp@polstra.com
   John D. Polstra & Co., Inc.                Seattle, Washington USA
   "Self-knowledge is always bad news."                 -- John Barth



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