rsync hangs in select on linux 2.4.5

2001-06-13 Thread Jurgen Botz
I'm seeing the following bizarre behavior... - rsync -av from one local fs to another local fs (local disk on both) - rsync gets to very near completion then hangs indefinitely - attach strace to rsync process doing the 'copy from' and it starts up again and finishes! This is on a

rsyncd log file option and logrotate

2001-06-13 Thread Scott Russell
Greets. I'm running rsyncd out of xinetd and will be logging to /var/log/rsyncd.log. Is there anything special I need to do with rsync if I use logrotate to manage the rsyncd.log files? Do I need to 'restart' the rsyncd process if one is running and the log gets rotated? -- Regards, Scott

Re: rsyncd log file option and logrotate

2001-06-13 Thread Dave Dykstra
On Wed, Jun 13, 2001 at 04:03:11PM -0400, Scott Russell wrote: Greets. I'm running rsyncd out of xinetd and will be logging to /var/log/rsyncd.log. Is there anything special I need to do with rsync if I use logrotate to manage the rsyncd.log files? Do I need to 'restart' the rsyncd process

Re: rsyncd log file option and logrotate

2001-06-13 Thread Scott Russell
David - No, no problem, yet. Just trying to avoid problems. :) I think the question really boils down to what happens if the logfile rsyncd is writing to gets moved out from under it? Maybe I should just run rsyncd in standalone mode and use /sbin/kill -HUP to restart it after moving the

Re: rsyncd log file option and logrotate

2001-06-13 Thread Dave Dykstra
On Wed, Jun 13, 2001 at 04:38:52PM -0400, Scott Russell wrote: David - No, no problem, yet. Just trying to avoid problems. :) I think the question really boils down to what happens if the logfile rsyncd is writing to gets moved out from under it? If it is during an open connection, it will

Re: rsyncd log file option and logrotate

2001-06-13 Thread Scott Russell
On Wed, Jun 13, 2001 at 03:54:31PM -0500, Dave Dykstra wrote: On Wed, Jun 13, 2001 at 04:38:52PM -0400, Scott Russell wrote: David - No, no problem, yet. Just trying to avoid problems. :) I think the question really boils down to what happens if the logfile rsyncd is writing to gets

RE: librsync and network functions

2001-06-13 Thread Wilson, Mark - MST
Martin To tridge and I, rsync 2.x is essentially in maintenance mode at the moment: it doesn't seem like a good investment to add more features or functionality to the codebase. A better way to improve it is to build a new, cleaner protocol. Does this mean there is a version 3.x on its way?

Re: rsync hangs in select on linux 2.4.5

2001-06-13 Thread Wayne Davison
On Wed, 13 Jun 2001, Jurgen Botz wrote: I'm seeing the following bizarre behavior... - rsync -av from one local fs to another local fs (local disk on both) - rsync gets to very near completion then hangs indefinitely - attach strace to rsync process doing the 'copy from' and it

Bogus error listing modules

2001-06-13 Thread Wayne Davison
The CVS version of rsync outputs an error on exit after listing the modules from an rsync daemon (running rsync host::). The following patch fixes this. (If you haven't applied my nohang patch, you'll see an offset for this patch hunk.) ..wayne.. ---8--8--8--8---cut

RE: rsync hangs in select on linux 2.4.5

2001-06-13 Thread Wilson, Mark - MST
Wayne Umm, errr, I have to confess that I don't know how to apply your hang patch... I did try the patch command, but to no avail. A quick explanation would be appreciated. I have: -downloaded the rsync-2.4.6 source and unpacked it. -am using Solaris 2.6. -am using Solaris compilers and

Re: librsync and network functions

2001-06-13 Thread Martin Pool
On 13 Jun 2001, Deven Phillips [EMAIL PROTECTED] wrote: Hi, I am in the process of gathing up information for the creation of an rsync/srsync io slave for KDE. I'm happy to hear you're interested in working on this. I am wondering if I could get your input on the best approach. I