Feature request for rsync for running scripts

2005-07-19 Thread Evan Harris
I was wondering if others might find it useful to have a parameter in the rsync daemon config that would allow running a command on the server at session start or at successful rsync completion. For instance, this would allow a webpage to be automatically maintained (by a script called by this

Re: Feature request for rsync for running scripts

2005-07-19 Thread Andrew Burgess
On Tue, 19 Jul 2005 12:10:18 -0700, Evan Harris [EMAIL PROTECTED] wrote: I was wondering if others might find it useful to have a parameter in the rsync daemon config that would allow running a command on the server at session start or at successful rsync completion. For instance, this

Re: Feature request for rsync for running scripts

2005-07-19 Thread Evan Harris
On Tue, 19 Jul 2005, Andrew Burgess wrote: On Tue, 19 Jul 2005 12:10:18 -0700, Evan Harris [EMAIL PROTECTED] wrote: I was wondering if others might find it useful to have a parameter in the rsync daemon config that would allow running a command on the server at session start or at

Re: Feature request for rsync for running scripts

2005-07-19 Thread Wayne Davison
On Tue, Jul 19, 2005 at 02:10:18PM -0500, Evan Harris wrote: I looked in the patches directory, and see there is already a pre-post-exec.diff patch to allow for running scripts before and after the chroot, but I'm more interested in running after successful rsync completion than after the

rsync wont rsync

2005-07-19 Thread Gary Peltola
i am having a problem getting rsync daemon to run properly. on remote server, i can get the list of files OK...(below) but when i try get them...it flaps out and says connx refused [EMAIL PROTECTED] [/var]# rsync server:: addons Addon Scripts abuse Abuse Scripts [EMAIL

RE: rsync wont rsync

2005-07-19 Thread Gary Peltola
Never mind, I figured it out, forgot the :: instead of : From: Gary Peltola [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 19, 2005 2:08 PM To: 'rsync@lists.samba.org' Subject: rsync wont rsync i am having a problem getting rsync daemon to run properly. on

Re: Feature request for rsync for running scripts

2005-07-19 Thread Evan Harris
I've just upgraded it to add more environment variables (such as module name, module path, host name, host IP, user name, exit status). I also changed where the post-rsync exec happens so that both the pre- and post-xfer are both now run by the user that runs the daemon (not the module's

Verbosity of log messages in daemon mode

2005-07-19 Thread Evan Harris
When running rsync in daemon mode, is there a way to suppress server-excluded messages in the logfile? I've tried setting both of max verbosity = 0 transfer logging = no but they are still showing up. Rsync 2.6.5. Unfortunately, I'm using rsync to get a whole tree every half hour, but there

Re: Verbosity of log messages in daemon mode

2005-07-19 Thread Evan Harris
Aha, I think I answered my own question. Unfortunately, it appears that the max verbosity setting is a global parameter that can't be in a module area. That might be something to change in the future, or at least make clear in the docs. Also, speaking of messages, when running with -vn I can't

Re: Feature request for rsync for running scripts

2005-07-19 Thread Wayne Davison
On Tue, Jul 19, 2005 at 06:27:56PM -0500, Evan Harris wrote: Is it possible that this patch might be added to the mainstream release anytime soon? I was originally against the idea, but have softened my opposition after I saw how self-contained and simple the code turned out to be. One

Re: Verbosity of log messages in daemon mode

2005-07-19 Thread Wayne Davison
On Tue, Jul 19, 2005 at 07:31:41PM -0500, Evan Harris wrote: Unfortunately, it appears that the max verbosity setting is a global parameter that can't be in a module area. This is fixed in 2.6.6pre1. I just want ONLY the files to be transferred to be given back on stdout, so I can get a good

QUARANTINED:

2005-07-19 Thread WorkgroupMail Content Filter
The message from The Post Office, sent on 20/07/2005 23:55 was quarantined because it contained either an executable file, a batch file or a screen saver file. All of these types of attachments are considered security risks. Please consult your mail administrator who can release the message.

CVS update: rsync/patches

2005-07-19 Thread Wayne Davison
Date: Tue Jul 19 21:28:36 2005 Author: wayned Update of /data/cvs/rsync/patches In directory dp.samba.org:/tmp/cvs-serv7631 Modified Files: pre-post-exec.diff Log Message: Added a few more environment variables. Revisions: pre-post-exec.diff 1.3 = 1.4