mount.nfs doesn't give up on EACCESS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nfs-utils (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: nfs-common
After upgrading from Ubuntu 7.10 to 8.04rc I noticed that the /net automounter is badly broken, in that it attempts to mount exports for which the client is not authorized, cacusing large (infinite?) delays. The problem seems to be in mount.nfs (nfs-common 1:1.1.2-2ubuntu2) , which simply retries after a brief pause if it received an EACCESS (which it shouldn't since its unlikely, that the permissions change). It should instead return an error, indicating the permission problem.
--8<--
[pid 25211] 13:22:01.090430 mount("
[pid 25211] 13:22:01.090891 rt_sigprocmask(
[pid 25211] 13:22:01.090925 rt_sigaction(
[pid 25211] 13:22:01.090954 rt_sigprocmask(
[pid 25211] 13:22:01.090980 nanosleep({1, 0}, {1, 0}) = 0
[pid 25211] 13:22:02.091088 mount("
[pid 25211] 13:22:02.803854 rt_sigprocmask(
[pid 25211] 13:22:02.803953 rt_sigaction(
[pid 25211] 13:22:02.804020 rt_sigprocmask(
[pid 25211] 13:22:02.804078 nanosleep({2, 0}, {2, 0}) = 0
[pid 25211] 13:22:04.804229 mount("
[pid 25211] 13:22:04.805112 rt_sigprocmask(
[pid 25211] 13:22:04.805343 rt_sigaction(
[pid 25211] 13:22:04.805567 rt_sigprocmask(
[pid 25211] 13:22:04.805752 nanosleep({4, 0}, {4, 0}) = 0
[pid 25211] 13:22:08.805957 mount("
[pid 25211] 13:22:08.806691 rt_sigprocmask(
[pid 25211] 13:22:08.806780 rt_sigaction(
[pid 25211] 13:22:08.806854 rt_sigprocmask(
-->8--
seems to be bug #214041