https://bugzilla.novell.com/show_bug.cgi?id=792324 https://bugzilla.novell.com/show_bug.cgi?id=792324#c0 Summary: directory access on nfs4 mount hangs Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: x86-64 OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: martin@oneiros.de QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Firefox/17.0 I have an nfs4 mount from an 12.2 client to a 12.2 server. The problem showed up in that updatedb hangs. An lsof of that process showed an access to an nfs4 mount (see also bug 792323). Further testing shows that an ls -la on a directory on that mount hangs: mmap(NULL, 337515, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fa33f0a9000 close(3) = 0 lstat("/lucien-raid/bitflu/", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lgetxattr("/lucien-raid/bitflu/", "security.selinux", 0x937e40, 255) = -1 EOPNOTSUPP (Operation not supported) lgetxattr("/lucien-raid/bitflu/", "system.posix_acl_access", 0x0, 0) = -1 EOPNOTSUPP (Operation not supported) socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3 connect(3, {sa_family=AF_FILE, sun_path="/var/run/nscd/socket"}, 110) = 0 sendto(3, "\2\0\0\0\v\0\0\0\7\0\0\0passwd\0", 19, MSG_NOSIGNAL, NULL, 0) = 19 poll([{fd=3, events=POLLIN|POLLERR|POLLHUP}], 1, 5000) = 1 ([{fd=3, revents=POLLIN|POLLHUP}]) recvmsg(3, {msg_name(0)=NULL, msg_iov(2)=[{"", 7}, {"", 8}], msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC) = 0 close(3) = 0 socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3 connect(3, {sa_family=AF_FILE, sun_path="/var/run/nscd/socket"}, 110) = 0 sendto(3, "\2\0\0\0\1\0\0\0\2\0\0\0000\0", 14, MSG_NOSIGNAL, NULL, 0) = 14 poll([{fd=3, events=POLLIN|POLLERR|POLLHUP}], 1, 5000) = 1 ([{fd=3, revents=POLLIN|POLLHUP}]) read(3, "\2\0\0\0\1\0\0\0\5\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\5\0\0\0\6\0\0\0"..., 36) = 36 read(3, "root\0x\0root\0/root\0/bin/bash\0", 28) = 28 close(3) = 0 socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3 connect(3, {sa_family=AF_FILE, sun_path="/var/run/nscd/socket"}, 110) = 0 sendto(3, "\2\0\0\0\f\0\0\0\6\0\0\0group\0", 18, MSG_NOSIGNAL, NULL, 0) = 18 poll([{fd=3, events=POLLIN|POLLERR|POLLHUP}], 1, 5000) = 1 ([{fd=3, revents=POLLIN|POLLHUP}]) recvmsg(3, {msg_name(0)=NULL, msg_iov(2)=[{"", 6}, {"", 8}], msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC) = 0 close(3) = 0 socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3 connect(3, {sa_family=AF_FILE, sun_path="/var/run/nscd/socket"}, 110) = 0 sendto(3, "\2\0\0\0\3\0\0\0\2\0\0\0000\0", 14, MSG_NOSIGNAL, NULL, 0) = 14 poll([{fd=3, events=POLLIN|POLLERR|POLLHUP}], 1, 5000) = 1 ([{fd=3, revents=POLLIN|POLLHUP}]) read(3, "\2\0\0\0\1\0\0\0\5\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0", 24) = 24 read(3, "root\0x\0", 7) = 7 close(3) = 0 openat(AT_FDCWD, "/lucien-raid/bitflu/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3 getdents(3, ^CProcess 23500 detached I can access other dirs on /lucien-raid; the server also has no problems accessing the exported directory. Here's an ls -la of /lucien-raid
l /lucien-raid/ insgesamt 40 drwxr-xr-x 7 root root 4096 17. Sep 2011 ./ drwxr-xr-x 28 root root 4096 28. Nov 21:01 ../ drwxrwxr-x 8 root root 4096 24. Aug 2011 bitflu/ drwx------ 2 root root 16384 30. Jul 2011 lost+found/ drwxr-xr-x 4 root root 4096 6. Aug 2011 lucien/ drwxr-xr-x 11 ms users 4096 29. Aug 2010 medien/ drwxrwxrwt 2 root root 4096 25. Nov 08:22 tmp/
I can stat dirs in /lucien-raid/bitflu/ Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.