AIX issue using chroot
Corey Stup
Corey at Stup.net
Tue Apr 9 22:50:02 EST 2002
Took a while to figure this one out:
Since "use chroot" defaults to true, I was having issues of UID/GID's
not mapping between servers. On AIX, if chroot() is called, the
getpwuid() calls fail, no longer being able to find /etc/passwd.
Since the that call doesn't differentiate between a 'failure' and a
'unable to map uid', rsync assumes it can't map the UID and the server
side doesn't send the maps.
Setting "use chroot" to false is a workaround. Not sure if there is an
easy way to fix this, or its just a caveat that might want to be stated
in the documentation.
Also, I would be happy to provide builds of rsync for AIX4.1.5 and
4.3.3.
More information about the rsync
mailing list