The Samba-Bugzilla – Bug 5381
make test fails without /etc/rsyncd.conf
Last modified: 2008-07-28 20:09:24 UTC
"make test" fails in >=3.0.1 when there is no /etc/rsyncd.conf. After "touch /etc/rsyncd.conf" make test doesn't fail any more.
----- daemon log follows
Testing for symlinks using 'test -h'
building configuration /usr/src/RPM/BUILD/rsync-3.0.2/testtmp/daemon/test-rsyncd.conf
building help script /usr/src/RPM/BUILD/rsync-3.0.2/testtmp/daemon/ignore23
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(635) [receiver=3.0.2]
----- daemon log ends
That test is doing a daemon-over-remote-shell test using a shell script as a pretend "remote shell" to do a transfer with the localhost. This expects the rsyncd.conf file to be in the current directory of the test run, and does not need the /etc/rsyncd.conf file to be present. I have tested this on Linux to verify this, so am curious what is causing it to fail for you.
try to run "make test" as root
Thanks for pointing that out. This is fixed in the git repository.