On Jan 7, I upgraded most of the node in cluster to osx server 10.2.8. And it causes new problems to the cluster. The rsync does not work any more.
We run a rsync as daemon on 192.168.100.13 and when the 10.2.8 client tries to sync with this server, we get such error:
bash-2.05a$ rsync -arv aries::opt_configs
@ERROR: setgroups failed
rsync: connection unexpectedly closed (37 bytes read so far)
Some mailing list points out that rsync 2.5.5 and above on Mac osx are not properly implemented. It would seem that OS X does indeed have a problem zeroing the supplimental groups. Configure is only testing for the existance of setgroups(). What does the setgroups(2) manpage on OS X say? The call is setgroups(0, NULL).
If you built rsync yourself you could work around the problem by editing config.h and changing #define HAVE_SETGROUPS 1 to #define HAVE_SETGROUPS 0 and rebuilding. This workaround could cause some problems if root has any suplimental group memberships.
Instead of building rsync for the entire cluster, I copy an older version from another machine (see.. it is good to different version of oSX…). The rsync ver 2.5.2 works well. In fact, only the server needs a lower version. The client side works well with ver 2.5.7.
The version 2.5.2 rsync is stored in /nfs1/admin.