On Fri, May 20, 2011 at 02:33:52PM +0200, Rene Nussbaumer wrote:
> On Fri, May 20, 2011 at 11:25 AM, Iustin Pop <[email protected]> wrote:
> > On Fri, May 20, 2011 at 10:50:22AM +0200, René Nussbaumer wrote:
> >> Testing with different UID/GID configuration revealed that we upload the 
> >> files
> >> to the MC using the local uid/gid. This series make this call uid/gid 
> >> agnostic
> >> by convert it back to a name which can be resolved on the other side back 
> >> to
> >> the uid/gid. Using runtime which is a Singleton this will not indicate any 
> >> nss
> >> issue, respectively just once upon first call after that, if it could be
> >> resolved successfully it will be cached.
> >
> > Hmm. So it could be that we startup successfully, and only later we do
> > this resolving?
> >
> > I believe it would be best if we do the resolving up-front, at daemon
> > startup (for all our users/groups), as a prerequisite.
> 
> Thought about that too, but now when you say it's a prerequisite, it
> makes much more sense. So I added that too. Patch sent.

Plus that noded is a single-threaded, forked server, so unless the
initialisation is done in the original, parent process, all children
start with an empty resolver.

thanks,
iustin

Reply via email to