[OpenAFS] Re: unix owner/group of files in AFS

FB fbo2@gmx.net
Sun, 1 Apr 2007 10:28:52 +0200


Hi,

On Sat, Mar 31, 2007 at 10:59:26PM -0700, Adam Megacz wrote:
> 
> >> Did I mention, that the nss-plug is just a very small piece of
> >> software, talking to a local server process (ptdbnssd) which does
> >> the real PTDB-stuff?
> 
> By the way, what are the issues that led you to break out the pts
> operations into a daemon?  Could this all be done in-process using
> pthread locks to keep the nss operations single-threaded?

There were two problems:
   * Some multithreaded applications (i don't remember exactly which ones)
     just didn't work with the thread model of Todd's module. AFAIK it had
     something to do with pthread v.s lwp but I'm not a threading-expert.
   * One of my cells contains a DB-Server which is off-by-default. Moving
     the PTDB-Code to a daemon prevents timeouts while marking DB-servers
     offline. This way I timeouts in any program accessing the
     uid-name-resolution are replace by a single timeout at daemon-start.
     -> A seriously wish, I had such a daemon for host-lookups, too...

Regards,

Frank