Date: Wed, 23 Jun 2021 19:05:20 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 243551] Cannot checkout src tree in automounted $HOME Message-ID: <bug-243551-227-VZmf2PyYhd@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-243551-227@https.bugs.freebsd.org/bugzilla/> References: <bug-243551-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243551 --- Comment #5 from Joerg Wunsch <joerg@FreeBSD.org> --- For a simple test, use something like this: #include <sys/stat.h> #include <stdio.h> int main(void) { struct stat sb; int rv =3D stat("/home/foobar", &sb); printf("stat() got %d\n", rv); return 0; } /home/foobar is supposed to be a directory that would never exist since the= re is no such user "foobar". After running the above on an automounted /home, /home/foobar has been created. Trying to access anything there yields Jun 23 21:03:51 daemon automountd[33777]: "mount -t nfs -o nfsv4,automounted,retrycnt=3D1 alfred.sax.de:/home/foobar /home/foobar/", p= id 33833, terminated with exit status 1 Jun 23 21:03:51 daemon kernel: WARNING: autofs_trigger_one: request for /home/foobar/ completed with error 5 Jun 23 21:03:51 daemon automountd[33777]: mount failed Jun 23 21:03:53 daemon automountd[34841]: "mount -t nfs -o nfsv4,automounted,retrycnt=3D1 alfred.sax.de:/home/foobar /home/foobar/", p= id 35155, terminated with exit status 1 Jun 23 21:03:53 daemon kernel: WARNING: autofs_trigger_one: request for /home/foobar/ completed with error 5 Jun 23 21:03:53 daemon automountd[34841]: mount failed Jun 23 21:03:54 daemon automountd[35511]: "mount -t nfs -o nfsv4,automounted,retrycnt=3D1 alfred.sax.de:/home/foobar /home/foobar/", p= id 35610, terminated with exit status 1 Jun 23 21:03:54 daemon kernel: WARNING: autofs_trigger_one: request for /home/foobar/ completed with error 5 Jun 23 21:03:54 daemon automountd[35511]: mount failed --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243551-227-VZmf2PyYhd>