Red Hat Bugzilla – Bug 55337
rsync server does NOT work with clients which don't have DNS entries
Last modified: 2014-03-16 22:24:02 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.5)
Description of problem:
rsync server in Red Hat 7.2 does NOT work with clients which don't have DNS
entriy for their IP address. When the client attempts to connect and
download data nothing happens. Looking in the log files on the server I
see the message:
rsync: reverse name lookup failed
rsync: forward name lookup failed
When I do an rsync servername::
I can see the list of rsync modules available from the server on both of
the client machines with and without DNS entries.
When I do an rsync servername::module
The client without a DNS entry shows nothing.
The client with a DNS entry gets a directory listing.
All clients and servers are running Red Hat 7.2
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Have a client without a DNS entry for its IP address
2. Setup a server that runs the rsync daemon
3. Attempt to do an rsync operation from the client to the server.
Actual Results: No transfer takes place.
Expected Results: A transfer would happen
Created attachment 36961 [details]
Replacement patch file for the one currently in the SRPM
The patch file I just submitted fixes the problem. The patch file is a
replacement for the rsync-2.4.6-ipv6.patch file that is currently in the SRPM.
This fix makes it so that if it is going to check the list of ip addresses
returned by getaddrinfo make sure that getaddrinfo worked.
Will be in 2.4.6-7, thanks!