Release 2.6.2-r1 of rsync broke my rsync server. Earlier releases run with no problem. After upgrading to this release, "nothing worked any more". Found out that "rsync --daemon" doesn't work any more, since rsyncd looks for /etc/rsyncd.conf but Gentoo Linux (visely) stores the file as /etc/rsync/rsyncd.conf. I looked in the /etc/conf.d/rsyncd and found that the RSYNC_OPTS variable is commented out. This is as expected, since it was the case before v 2.6.2-r1. But with this new release, it is required. Solution: When I added RSYNC_OPTS="--config=/etc/rsync/rsyncd.conf" to the /etc/conf.d/rsyncd configuration file (with env-update and source /etc/profile as usual) the rsync daemon started as expected. Biker Reproducible: Always Steps to Reproduce: 1. emerge net-misc/rsync v 2.6.2-r1 2. execute /etc/init.d/rsyncd start 3. watch the /ver/log/syslog file 4. See the error message in the syslog Actual Results: rsync daemon failed to start. Expected Results: rsync daemon should start.
Here there are more problems. Even after applying your solution, I'm still unable to stop the rsync service. Apparently /var/run/rsyncd.pid doesn't get written properly at startup and hence the stop routine from /etc/init.d/rsyncd fails. I don't have the time or the knowledge to further investigate so I'm back to 2.6.0.
*** This bug has been marked as a duplicate of 49707 ***