lkml.org 
[lkml]   [2011]   [Nov]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] Don't hang user processes if Kerberos ticket for nfs4 mount expires
From
Date
On Fri, 2011-11-18 at 12:54 -0500, Jim Rees wrote: 
> Myklebust, Trond wrote:
>
> So what are they supposed to do without tickets? Crash?
>
> No, why would they want to do that?
>
> I feel like I've entered the Twilight Zone here, so please continue without
> me while I dig up the relevant background info.

The point is that if the server won't allow them to issue read or write
system calls, then there are 2 options available to them:

1. hang until someone renews their ticket
2. get an error which means crash, since most (all?) applications
aren't written according to the non-posix assumption that read
and write can return EACCES/EKEYEXPIRED errors.



Trond

--
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust@netapp.com
www.netapp.com



\
 
 \ /
  Last update: 2011-11-18 19:25    [W:0.105 / U:0.500 seconds]
©2003-2014 Jasper Spaans. Advertise on this site