DO NOT REPLY [Bug 7672] New: Ability to include (source) other files into the rsncd.conf configuration.

samba-bugs at samba-bugs at
Fri Sep 10 08:18:56 MDT 2010

           Summary: Ability to include (source) other files into the
                    rsncd.conf configuration.
           Product: rsync
           Version: 3.0.7
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: core
        AssignedTo: wayned at
        ReportedBy: bdgregg at
         QAContact: rsync-qa at

Forgive me if this has been suggested before, but I didn't see this in the Bug

Being that we use rsync to transfer web log files from each of our Apache
instances to our central web log server, it would be nice to be able to say use
an Include or Source statement in the main rsyncd.conf file which would
reference other subordinate rsyncd.conf files such as in the following example.
 This would allow us to individually modify each virtual instances rsyncd.conf
file separately but still maintain the main /etc/rsyncd.conf file.  This would
be similar to the Apache "Include" statement in their configuration files.  The
statements in the included files would be same that are used in the main
/etc/rsyncd.conf.  Preferably a quick validation check on the included file
would take place to ensure that it is syntactically correct before invoking it,
otherwise drop it from being included and log a message about it.  The format
of the "Include" can be changed to what ever you see fit as I see there is
already an 'include' stanza already present.  Maybe the use of "Source" would
be a better statement.  I believe that this would be of value to others that
are hosting a large number of systems that wish to dynamically wish to update
their main /etc/rsyncd.conf file but keep parts of the configuration separate.

I hope that you find this a fairly good addition to your software.

# Global
log file = /var/adm/rsyncd.log
pid file = /var/run/
use chroot = yes
uid = nobody
gid = nobody
max connections = 10
read only = yes
timeout = 60
transfer logging = yes

#Include external file
Include: /usr/local/apache/vhost1/rsyncd.conf
Include: /usr/local/apache/vhost2/rsyncd.conf
Include: /usr/local/apache/vhost3/rsyncd.conf
Source: /usr/local/apache/vhost4/rsyncd.conf

Thank you,
Brian Gregg
University of Pittsburgh
University Library System.
bdgregg at

Configure bugmail:
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the rsync mailing list