Bug 46705 - NFS-exported directory from RH 7.1 to HP-UX 10.20 corrupted
Summary: NFS-exported directory from RH 7.1 to HP-UX 10.20 corrupted
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: nfs-server   
(Show other bugs)
Version: 7.1
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Steve Dickson
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2001-06-29 22:53 UTC by Stephen Walton
Modified: 2007-04-18 16:34 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-09-01 18:24:55 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Stephen Walton 2001-06-29 22:53:39 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.2.19-6.2.7 i686)

Description of problem:
I installed RH 7.1 on two systems;  on one it was a clean re-install
complete with disk format, on the other it was an update to a working 6.2
system.  On both systems, I see a very strange result when exporting to an
HP-UX 10.20 system.  Suppose my system is called 'redhat' and I export /usr
to my HP-UX system.  On the HP-UX system I do:

# mkdir /redhatusr
# mount redhat:/usr /redhatusr
# cd /redhatusr
# ls
[see directory listing]
# pwd
# cd man
# ls
[again see directory listing]
# pwd

Notice the stripping of the leading directory path element on the pwd
command.  I can fix the problem by backing up to the 2.2 kernel,
specifically 2.2.19-6.2.7, so this is definitely a new bug at 2.4.2.

How reproducible:

Steps to Reproduce:
1. Install RH 7.1.
2. Export a directory via NFS to an HP-UX system.
3. NFS-mount the RH directory on the HP system.
4. cd to a subdirectory of the NFS mount and do 'pwd'.

Additional info:

Comment 1 Stephen Walton 2001-07-05 18:47:58 UTC
I have additional information to add to this report:

1.  The reported behavior only occurs when the 'pwd' command is issued from
within tcsh.  It doesn't appear to do it when the command is typed from within
/bin/sh on HP-UX (which is the Posix shell).  But the behavior recurs when a
simple C program is written to print the result of the 'getwd' system call.

2.  The behavior does not occur when the mount is forced to be NFSv2.

Comment 2 Matthew Temple 2001-11-30 17:18:10 UTC
This same behavior is found when mounting an nfs filesystem residing on a RH7.2
to an IRIX 6.5 system.   It can also be fixed by forcing a mount using version 2
protocols from the irix computer.

Comment 3 Steve Dickson 2004-09-01 18:24:55 UTC
I have not heard of this being a problem in the
later kernels (like the ones in Fedora Core 1 and 2)
Please try those and reopen if necessary

Note You need to log in before you can comment on or make changes to this bug.