Linux NFS development
 help / color / mirror / Atom feed
* EACCES in mount.nfs
@ 2008-04-29 21:42 Chuck Lever
  2008-05-05 12:24 ` Steve Dickson
  0 siblings, 1 reply; 2+ messages in thread
From: Chuck Lever @ 2008-04-29 21:42 UTC (permalink / raw)
  To: Steve Dickson; +Cc: Linux NFS Mailing List

Hi Steve-

There is an important case in mount.nfs where EACCES is temporary:   
The kernel's rpcbind client returns EACCES if the remote rpcbind  
server replies that the requested service is not registered.

It would be easy enough for the kernel's mount client to remap that  
error code into something unique for the mount system call.

--
Chuck Lever
chuck[dot]lever[at]oracle[dot]com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: EACCES in mount.nfs
  2008-04-29 21:42 EACCES in mount.nfs Chuck Lever
@ 2008-05-05 12:24 ` Steve Dickson
  0 siblings, 0 replies; 2+ messages in thread
From: Steve Dickson @ 2008-05-05 12:24 UTC (permalink / raw)
  To: Chuck Lever; +Cc: Linux NFS Mailing List

Sorry for the delayed response... I spent most of last week
off line due to Red Hat moving to a new building...  fun, fun, fun! :-\

Chuck Lever wrote:
> Hi Steve-
> 
> There is an important case in mount.nfs where EACCES is temporary:  The
> kernel's rpcbind client returns EACCES if the remote rpcbind server
> replies that the requested service is not registered.
I guess I see the reasoning behind this... a server could be coming
up so the mount should hang around waiting for that...

> 
> It would be easy enough for the kernel's mount client to remap that
> error code into something unique for the mount system call.
I would think ENOENT would be a better mapping for RPC_PROG_UNAVAIL.

But that still leaves the possible problem of the mount not waiting 
around for servers to come up... Or do we even have to worry about 
mounts failing because a server is not up yet?  I'm beginning to
think not...


steved.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-05-05 12:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-29 21:42 EACCES in mount.nfs Chuck Lever
2008-05-05 12:24 ` Steve Dickson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox