[Server-devel] RFH - xs-rsync on F9 fails with an odd error

Martin Langhoff martin.langhoff at gmail.com
Sun Sep 14 18:24:11 EDT 2008


Just wanted to let you know that I got this from Piotr, and I'm not
sure if he's
CC'd anyone else.

BZ isn't working for me at the moment, hence this email.

cheers, martin


---------- Forwarded message ----------
From: Piotr Roszatycki <dexter at debian.org>
Date: Fri, Sep 12, 2008 at 8:20 AM
Subject: Re: [Server-devel] RFH - xs-rsync on F9 fails with an odd error
To: Martin Langhoff <martin.langhoff at gmail.com>


Thanks for patch. I think I'll apply it to new fakechroot's release.

2008/8/31 Martin Langhoff <martin.langhoff at gmail.com>:
> Hi Piotr,
>
> we've hit a minor bug with fakechroot's getpeername() - in this case,
> when used with rsync v3 - I suspect that the same bug affects upstream
> / Debian too. I will CC you on some traffic. Robin Norwood has
> diagnosed  the problem and crafted a patch you might want to see...
>
> cheers!
>
>
> m
>
> ---------- Forwarded message ----------
> From: Robin Norwood <robin.norwood at gmail.com>
> Date: Sun, Aug 31, 2008 at 4:28 AM
> Subject: Re: [Server-devel] RFH - xs-rsync on F9 fails with an odd error
> To: Martin Langhoff <martin.langhoff at gmail.com>
> Cc: XS Devel <server-devel at lists.laptop.org>, fedora-olpc-list
> <fedora-olpc-list at redhat.com>
>
>
> On Sat, Aug 30, 2008 at 12:12 PM, Robin Norwood <robin.norwood at 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
>
> --
> Robin Norwood
>
> "The Sage does nothing, yet nothing remains undone."
> -Lao Tzu, Te Tao Ching
>
>
>
> --
>  martin.langhoff at gmail.com
>  martin at laptop.org -- School Server Architect
>  - ask interesting questions
>  - don't get distracted with shiny stuff - working code first
>  - http://wiki.laptop.org/go/User:Martinlanghoff
>



--
 .''`. Piotr Roszatycki
: :' : mailto:Piotr.Roszatycki at gmail.com
`. `' mailto:dexter at debian.org
 `-



-- 
 martin.langhoff at gmail.com
 martin at laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff


More information about the Server-devel mailing list