On 11.04.2019 10:17, Vincent Lefevre wrote:
> On 2019-04-11 04:22:29 +0200, Branko Čibej wrote:
>> I think that svnserve would only use that function to find the current
>> user's home directory, to locate the config files. And that seems wrong
>> because svnserve has no business looking at the client's config area ...
> I think that it would be better to honor the value of $HOME
> for that purpose.

I disagree. For a daemon, $HOME shouldn't be set in the first place. But
in any case, we don't really care what APR or glibc do under the covers;
that's our platform abstraction.


>
>> Still, I don't see from the code how it could hang. The homedir is
>> either found or not, and if it's not, it's ignored.
> So it would mean that it is at the glibc level that it blocks.

I don't know, I'm only guessing, since I have no way to reproduce the
problem. Getting a call stack from the blocked svnserve process would
help diagnose the reason.


-- Brane

Reply via email to