samba-bugs at samba.org
2010-Sep-10 14:18 UTC
DO NOT REPLY [Bug 7672] New: Ability to include (source) other files into the rsncd.conf configuration.
https://bugzilla.samba.org/show_bug.cgi?id=7672 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 samba.org ReportedBy: bdgregg at pitt.edu QAContact: rsync-qa at samba.org Forgive me if this has been suggested before, but I didn't see this in the Bug database. 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/rsyncd.pid 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 pitt.edu -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
samba-bugs at samba.org
2010-Sep-10 18:08 UTC
DO NOT REPLY [Bug 7672] Ability to include (source) other files into the rsncd.conf configuration.
https://bugzilla.samba.org/show_bug.cgi?id=7672 ------- Comment #1 from carlos at fisica.ufpr.br 2010-09-10 13:08 CST ------- This feature is already implemented in the development (3.1) version. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
samba-bugs at samba.org
2010-Sep-11 01:34 UTC
DO NOT REPLY [Bug 7672] Ability to include (source) other files into the rsncd.conf configuration.
https://bugzilla.samba.org/show_bug.cgi?id=7672 wayned at samba.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE ------- Comment #2 from wayned at samba.org 2010-09-10 20:34 CST ------- See the 3.1.0dev version for this feature. e.g. snag the git version, or a "nightly" tar file. *** This bug has been marked as a duplicate of bug 7633 *** -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.