[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn and svnserve hanging

From: Vincent Lefevre <vincent-svn_at_vinc17.net>
Date: Wed, 10 Apr 2019 11:21:39 +0200

On 2019-04-10 04:06:08 +0200, Branko Čibej wrote:
> On 10.04.2019 03:29, Vincent Lefevre wrote:
> > On 2019-04-09 20:09:26 +0200, Branko Čibej wrote:
> >> The only problem with that idea is that svnseve doesn't use unscd at
> >> all, or any kind of LDAP access.
> > Are you so sure about that? A "strace svnserve -t"[*] shows it
> > reads the /etc/nsswitch.conf file. With "ltrace", I can see that
> > svn_user_get_name is called, and I'm wondering whether this is
> > the cause.
>
>
> That just calls apr_uid_name_get(), so the call chain is
> svnserve->APR->glibc. The latter's implementation would look at
> nsswitch.conf. That suggests that is is related to user configuration
> somehow. But I don't know much about that topic.
>
> The name caching daemon is something glibc would use directly, most likely.

Yes, what happens to get the user name depends on the nsswitch.conf.
The user name is not stored on this machine, so I assume that the
glibc function yields a connection to this daemon. Then I don't know
whether the hang occurs there or an error is reported but somewhere
the error makes the process hang.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Received on 2019-04-10 11:21:51 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.