Bug 5381 - make test fails without /etc/rsyncd.conf
Summary: make test fails without /etc/rsyncd.conf
Status: CLOSED FIXED
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 3.0.3
Hardware: Other Linux
: P3 normal (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-09 11:47 UTC by Sven Strickroth
Modified: 2008-07-28 20:09 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Strickroth 2008-04-09 11:47:41 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
FAIL    daemon
Comment 1 Wayne Davison 2008-04-10 09:53:56 UTC
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.
Comment 2 Sven Strickroth 2008-04-11 12:58:46 UTC
try to run "make test" as root
Comment 3 Wayne Davison 2008-04-12 00:03:09 UTC
Thanks for pointing that out.  This is fixed in the git repository.