[OpenAFS] Return of the getcwd bug?

Jonathan Billings jsbillin@umich.edu
Fri, 2 Nov 2018 08:22:18 -0400


--000000000000d1b7990579ad9645
Content-Type: text/plain; charset="UTF-8"

On Fri, Nov 2, 2018 at 7:57 AM Neil Brown <neilb+afs@inf.ed.ac.uk> wrote:

> If it really is just us that's seeing this. I wonder if it may be related
> to our use of automount (autofs). We use automount for various mappings,
> but one is to map /autofs/nethome/USERNAME -> to the corresponding /afs/
> path and /home/ is a symlink to /autofs/nethome/. When the bug strikes
> then I can't access /home/neilb or /autofs/nethome/neilb
>

I've been using autofs to create bind mounts into AFS (because we use an
even more complicated path in AFS that can't be templated), and I've been
seeing a similar bug.  The mount() syscall fails despite being able to see
the AFS home directory via ls and other tools.

-- 
Jonathan Billings <jsbillin@umich.edu>
College of Engineering - CAEN - Unix and Linux Support

--000000000000d1b7990579ad9645
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">On Fri, Nov 2, 2018 at 7:57 AM Neil Brown &lt;<a href=3D"m=
ailto:neilb%2Bafs@inf.ed.ac.uk">neilb+afs@inf.ed.ac.uk</a>&gt; wrote:<br><d=
iv class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:=
0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
If it really is just us that&#39;s seeing this. I wonder if it may be relat=
ed <br>
to our use of automount (autofs). We use automount for various mappings, <b=
r>
but one is to map /autofs/nethome/USERNAME -&gt; to the corresponding /afs/=
 <br>
path and /home/ is a symlink to /autofs/nethome/. When the bug strikes <br>
then I can&#39;t access /home/neilb or /autofs/nethome/neilb<br></blockquot=
e><div><br></div><div>I&#39;ve been using autofs to create bind mounts into=
 AFS (because we use an
 even more complicated path in AFS that can&#39;t be templated), and I&#39;=
ve=20
been seeing a similar bug.=C2=A0 The mount() syscall fails despite being ab=
le
 to see the AFS home directory via ls and other tools. <br></div></div><br>=
-- <br><div dir=3D"ltr" class=3D"gmail_signature" data-smartmail=3D"gmail_s=
ignature">Jonathan Billings &lt;<a href=3D"mailto:jsbillin@umich.edu" targe=
t=3D"_blank">jsbillin@umich.edu</a>&gt;<br>College of Engineering - CAEN - =
Unix and Linux Support<br><br></div></div>

--000000000000d1b7990579ad9645--