rsync version 2.6.3 protocol version 28 - hosts allow dows not work

Wayne Davison wayned at samba.org
Tue Jun 21 16:42:17 GMT 2005


On Sun, Jun 19, 2005 at 07:40:23AM -0400, frodo at gmavt.net wrote:
> DNS is working for I can do a NSLOOKUP on the hostname and it
> resolves.

Yes, but can you do an nslookup on the IP and get the hostname?  If not,
rsync won't accept it.

There are several options that will fix this:

- Fix the DNS setup so that it keeps the reverse-DNS in sync with the
  forward-DNS.
- Get someone to modify the DHCP setup at your office to map your
  system's MAC address to a constant IP address.
- Periodically update the rsync.conf file with the latest IP number from
  an nslookup of the hostname (which the running rsync daemon will
  honor, since it re-reads the config file whenever a new connection
  comes in).
- Switch over to using an ssh connection for the copy.

> 2. Rsync is not logging to /var/log/rsyncd.log.

Your config file doesn't define "log file", just "syslog facility".
Either you need to modify the syslog setup to put local3 into that file,
or tell rsync to use the file directly via the "log file" option.

> I would also like to know how to set the protections to 777 on the
> files/dirs that I create on my rsync mirror.

If you want more permissive permissions than the source files, there's
no way to get rsync to do that for you -- the closest you can come is to
leave off the --perms option and manually expand the permissions of
newly transferred files (updates to existing files will retain the
destination's permissions).  See also the patches/chmod-option.diff file
in the rsync distribution for an option that lets you force pemission
bits.

..wayne..


More information about the rsync mailing list