[Bug 243551] Cannot checkout src tree in automounted $HOME
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 23 Jun 2021 19:05:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243551
--- 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 = 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 there
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=1 alfred.sax.de:/home/foobar /home/foobar/", pid
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=1 alfred.sax.de:/home/foobar /home/foobar/", pid
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=1 alfred.sax.de:/home/foobar /home/foobar/", pid
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
--
You are receiving this mail because:
You are the assignee for the bug.