[OpenAFS] Return of the getcwd bug?
Neil Brown
neilb+afs@inf.ed.ac.uk
Thu, 11 Oct 2018 11:08:23 +0100 (BST)
Hi,
Today I've been bitten twice by what appears to be the getcwd bug. I've
not had this problem in a long time. I thought that had been resolved? Is
anyone else seeing this?
This was on both a 1.8.2 and a 1.8.0 client. My home volume is on a 1.6.23
server.
Some details below.
Cheers,
Neil
(~)> uname -srv
Linux 3.10.0-862.6.3.el7.x86_64 #1 SMP Tue Jun 26 12:13:22 CDT 2018
(~)> cd /afs/inf.ed.ac.uk/user/n/neilb
(~)> getcwd
You should see the cwd here - No such file or directory
(~)> cd tmp
(tmp)> getcwd
You should see the cwd here - /afs/inf.ed.ac.uk/user/n/neilb/tmp
(tmp)> rpm -q openafs-client
openafs-client-1.8.0-1.el7.x86_64
(tmp)> fs version
openafs 1.8.0
On the 1.8.2 machine:
(~)> uname -srv
Linux 3.10.0-862.14.4.el7.x86_64 #1 SMP Tue Sep 25 14:32:52 CDT 2018
(~)> pwd
/afs/inf.ed.ac.uk/user/n/neilb
(~)> getcwd
You should see the cwd here - No such file or directory
(~)> cd tmp
(tmp)> getcwd
You should see the cwd here - /afs/inf.ed.ac.uk/user/n/neilb/tmp
(tmp)> rpm -q openafs
openafs-1.8.2-1.el7.x86_64
(tmp)> fs version
openafs 1.8.2
My "getcwd" script basically does
perl -e 'use Cwd; print getcwd()'
And the server with my home volume:
: uname -srv
Linux 3.10.0-862.14.4.el7.x86_64 #1 SMP Tue Sep 25 14:32:52 CDT 2018
: bos version
openafs 1.6.23
: rpm -q openafs
openafs-1.6.23-1.el7.x86_64
--
Neil Brown - Computing Officer - Appleton Tower 7.12a | Neil.Brown @ ed. ac.uk
School of Informatics, University of Edinburgh | Tel: +44 131 6504422
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.