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

Robin Norwood robin.norwood at gmail.com
Sat Aug 30 12:12:15 EDT 2008


Argh, forgot replytoall again.

On Sat, Aug 30, 2008 at 12:07 PM, Robin Norwood <robin.norwood at gmail.com> wrote:
> On Sat, Aug 30, 2008 at 2:46 AM, Martin Langhoff
> <martin.langhoff at gmail.com> wrote:
>> More fun to be had debugging! Rsync and xinetd - those two old friends
>> - are not playing ball, and there error is not something I've ever
>> seen before.
>> [...]
>
> Well, it looks like fakechroot is the culprit, fwiw.  If I take your
> configs and remove the fakechroot bit from the serverargs line:
>
>        server_args     = -i /library/xs-rsync/state/rsyncd.all --
> /usr/bin/rsync --daemon --config /etc/xs-rsyncd.conf
>
> It works fine.
>
> I dunno anything much about fakechroot, though.

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.

And now I'm curious, so I'll poke around some more while the kids play
Lego Indiana Jones.

-RN

-- 
Robin Norwood

"The Sage does nothing, yet nothing remains undone."
-Lao Tzu, Te Tao Ching


More information about the Server-devel mailing list