http://www.gentoo.org/doc/mirroring.html does not mention information on how to _start_ the rsync server . This is further compounded by the fact that if you're starting rsync from the CLI, it doesnt start (or didnt start for me ) unless you pass it --config=/etc/rsyncd.conf . I'm assuming that that would also mean that if you were starting the rsyncd server from xinetd, your xinetd conf would have to include server_args= --config=/etc/rsyncd.conf The following /etc/xinetd.d/rsync is from c0ns0le-wk (Brandon Grace) at http://c0ns0le.micr0s0ftsux.com/~bgrace/devel/gentoo/xinetd_conf.html ... many thanks for all the help :) ... /etc/xinetd.d/rsync # description: The rsync server is a good addition to am ftp server, # as it allows crc checksumming etc. # service rsync # you will need to create the /etc/rsyncd.conf file as gentoo does # not redily do this for you ... { disable = no socket_type = stream wait = no user = root server = /usr/bin/rsync server_args = --daemon --config=/etc/rsyncd.conf log_on_failure += USERID }
And for those that would prefer a init.d script, one follows. (I see your using --config=/etc/rsyncd.conf; maybe that should be added below also?) #!/sbin/runscript start() { ebegin "Starting rsyncd" start-stop-daemon --start --quiet --exec /usr/bin/rsync -- --daemon eend $? } stop() { ebegin "Stopping rsyncd" start-stop-daemon --stop --quiet --exec /usr/bin/rsync eend $? }
closing