Re: [PATCH] Don't hang user processes if Kerberos ticket for nfs4mount expires

From: Trond Myklebust
Date: Fri Nov 18 2011 - 13:23:49 EST


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@xxxxxxxxxx
www.netapp.com

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/