Rsync

is Article description::a powerful file sync program capable of efficient file transfers and directory synchronization.

rsync is included at the system set on all Gentoo profiles has been used as the primary method for syncing the Gentoo ebuild repository since Gentoo was created.

Configuration
rsync can run both as a client or a server.

Files

 * - rsync's configuration file for daemon mode.
 * See for more configuration options.

Service
Daemon help can be seen by running:

OpenRC
To enable the service to run at system boot:

To start the rsync daemon now:

systemd
To enable the service to run at system boot:

To start the rsync daemon now:

Invocation
Client invocation:

rsync daemon stops working after glibc build
Occasionally the rsync daemon will stop working after glibc has been rebuilt. The error on the client side (when trying to sync from the server) will be something like the following:

@ERROR: invalid uid nobody rsync error: error starting client-server protocol (code 5) at main.c(1657) [Receiver=3.1.3]

Unfortunately simply restarting the rsync daemon will not fix the issue.

The solution, found in, is to rebuild the package so that it can re-link against the proper version of glibc's  file.

After the rebuild then restart the daemon.