Re: rsyncd.conf: "timeout=" crazyness

2005-01-13 Thread Eberhard Moenkeberg
Hi, On Thu, 13 Jan 2005, Wayne Davison wrote: On Thu, Jan 13, 2005 at 03:47:52AM +0100, Eberhard Moenkeberg wrote: this "local" rsync phase may need a long long (currently very long long here) time Are you running with the --delete option? If so, switch to using the --delete-after option (which I

Re: connection unexpectedly closed... solved

2005-01-13 Thread Nigel Gilbert
Utter silence! socnt01:~ # ssh [EMAIL PROTECTED] 'missing-rsync 2>&1' socnt01:~ # ssh [EMAIL PROTECTED] 'echo testing >&2' socnt01:~ # The key in authorized_keys is completely vanilla, as generated by ssh-keygen. Here's the last few characters: HDX9YgmYKiYyOvQMDKpeJXs= [EMAIL PROTECTED]

[Bug 2240] Add last-match/short-circuit processing of include/exclude

2005-01-13 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=2240 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |ASSIGNED --- Additional Comments

Re: connection unexpectedly closed... solved

2005-01-13 Thread Wayne Davison
On Thu, Jan 13, 2005 at 08:17:42PM +, Nigel Gilbert wrote: > Interestingly, when I use ssh to execute a non-existent command on the > remote machine, no error message is returned Fascinating. Perhaps your ssh isn't returning the stderr output? Try these commands: ssh [EMAIL PROTECTED] '

Re: connection unexpectedly closed... solved

2005-01-13 Thread Nigel Gilbert
Interestingly, when I use ssh to execute a non-existent command on the remote machine, no error message is returned (BTW, it is not clear in your email below whether you mean by "Your shell" the shell on the local machine - which certainly will complain if asked to execute a non-existent comman

Re: --bwlimit doesn't work for daemon mode

2005-01-13 Thread Wayne Davison
On Thu, Jan 13, 2005 at 09:12:12AM +, [EMAIL PROTECTED] wrote: > Some time after 2.6.0 the --bwlimit code was enhanced, but the code now > doesn't work anymore when you set the bandwidth limit for the daemon First, thanks for the patch -- they are always appreciated! However, your patch is id

Re: rsyncd.conf: "timeout=" crazyness

2005-01-13 Thread Wayne Davison
On Thu, Jan 13, 2005 at 03:47:52AM +0100, Eberhard Moenkeberg wrote: > this "local" rsync phase may need a long long (currently very long > long here) time Are you running with the --delete option? If so, switch to using the --delete-after option (which I think should remove any delay on the loc

error in rsync protocol data stream (code 12) at io.c(692)

2005-01-13 Thread Dag Wieers
Hi Wayne, Jeff, With the same version/build as the last report, I got this error now: ... extra/state/all-packages.list 145 100% 46.83kB/s0:00:30 (634, 0.0% of 201605) WARNING: fedora/1/en/i386/base/pkglist.dag.bz2 failed verification -- up

Re: connection unexpectedly closed... solved

2005-01-13 Thread Wayne Davison
On Thu, Jan 13, 2005 at 05:20:51PM +, Nigel Gilbert wrote: > This might be thought to be a bug or a missing feature in rsync; rsync > could have produced a more comprehensible error message. Your shell should have told you about the command problem -- for instance, I see this trying to run th

Chrooted rsync over ssh

2005-01-13 Thread Bob
I have posted on this mailing list to ask if using realpath() in a dummy-shell to chroot a user was secure. Since it is not, i have coded a dummy shell that uses both chroot() and a virtual root. Here is what it does : Suppose that you have a user called "alpha". His home directory is /home/alph

Re: connection unexpectedly closed... solved

2005-01-13 Thread Nigel Gilbert
I'm sorry about the rather confusing error report - I wanted to be brief and to the point, but ended up leaving out important detail. I was running a script. The missing "" were an artefact of me debugging the script by copy and pasting the rsync line as the argument to an echo command, and fo

[Bug 2216] remote dies, local hangs when disk full

2005-01-13 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=2216 --- Additional Comments From [EMAIL PROTECTED] 2005-01-13 08:13 --- Thank you very much for your answer! I did not reply for so long because I thought I'll get an email from bugzilla. It turns out that I forgot to do my homework in the b

[Bug 2240] New: Add last-match/short-circuit processing of include/exclude

2005-01-13 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=2240 Summary: Add last-match/short-circuit processing of include/exclude Product: rsync Version: 2.6.3 Platform: All URL: http://cvs.openpkg.org/getfile/openpkg-

[Bug 2240] Add last-match/short-circuit processing of include/exclude

2005-01-13 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=2240 --- Additional Comments From [EMAIL PROTECTED] 2005-01-13 07:48 --- Created an attachment (id=887) --> (https://bugzilla.samba.org/attachment.cgi?id=887&action=view) rsync.patch.lastmatch -- Configure bugmail: https://bugzilla.samba.

Re: rsyncd.conf: "timeout=" crazyness

2005-01-13 Thread John Van Essen
On Thu, 13 Jan 2005, Eberhard Moenkeberg <[EMAIL PROTECTED]> wrote: > ftp.gwdg.de is running into timeouts of this kind: > > rsync: connection unexpectedly closed (1345637 bytes read so far) > rsync error: error in rsync protocol data stream (code 12) at io.c(342) > > while contacting the ma

Re: connection unexpectedly closed...

2005-01-13 Thread John Van Essen
On Wed, 12 Jan 2005, Nigel Gilbert <[EMAIL PROTECTED]> wrote: > > When I run > > rsync -v --exclude-from= -a --delete --numeric-ids -e ssh -i > /root/.ssh/id_rsa /bin/ [EMAIL PROTECTED]:/export/home/scbackup/socnt01//bin/ Is this the *actual* command? - Why the null --exclude-from? - FYI - you h

--bwlimit doesn't work for daemon mode

2005-01-13 Thread uwe
[I'm not subscribed, please CC me on replies] Some time after 2.6.0 the --bwlimit code was enhanced, but the code now doesn't work anymore when you set the bandwidth limit for the daemon and generates error log entries like: 2005/01/13 08:17:03 [29636] rsync: writefd_unbuffered failed to write 12