On Sat, Aug 30, 2008 at 12:12 PM, Robin Norwood robin.norwood@gmail.com wrote:
Though I notice that rsync does some strange business to figure out the right args for getpeername() in configure.sh, and fakechroot seems to have it's own version of getpeername, et. al. so it's probably that getpeername from fakechroot uses different args than the system getpeername.
Yeah, I can confirm that fakechroot's getpeername() is the problem. If I remove getpeername from fakechroot [1], then I get a fakechroot that works with your test [2]. Obviously we need to instead sort out the parameters to match the system getpeername like rsync does. Not really my area of expertise, but I can file a bug in RH bugzilla for fakechroot when I get back. Got to run, now.
[1] http://rnorwood.fedorapeople.org/robin-fakechroot.patch [2] http://rnorwood.fedorapeople.org/fakechroot-2.8-13.fc9.2.i386.rpm
-RN