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

Re: svn behavior in chroot-environments

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-07-08 21:46:05 CEST

On Thu, 2004-07-08 at 14:38, Mathias Gumz wrote:

> +----------------------
> Authentication realm: 4dae73a5-61d1-0310-b756-82608f2b7470
> Username:
> +----------------------

Sure enough, if you look in ra_local's open() function, it's using
session->uuid as the "realmstring" to the auth system. But why the heck
is it *ever* calling a prompting function? Is this a bug in our auth
system?

Maybe not. Looking at the username-provider, it looks like we (1) try
to get --username, (2) try to get a username from the auth cache, (3)
run getuid().

Somehow, by running in a chroot environment, our auth system is "rolling
over" into a prompting provider, which is prompting for a username. I
guess the behavior is explainable, but not the underlying cause of the
provider rollover. Perhaps getuid() is failing?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 8 21:47:22 2004

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