Re: [Kde-mirrors] rsync errors from rsync.kde.org
On Wed, Jun 09, 2004 at 01:53:52AM +0200, Eberhard Moenkeberg wrote: > If I have configured a "--backup-dir" and the new rsync version finds a > second file which has to get deposited there, it is thinking that it is > an error 23 that the backup directory already is existing. This has been fixed in CVS for a while now. If possible, please try it out. If you'd prefer not to use the CVS version, it shouldn't be too much longer now before I start up a new pre-release cycle, and I'd very much like to get a lot of people testing it when it happens. ..wayne.. -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: [Kde-mirrors] rsync errors from rsync.kde.org
On Wednesday 09 June 2004 01:53, Eberhard Moenkeberg wrote: > ftp.gwdg.de has senn lots of rsync aborts with master.kde.org - I had the > picture that probably master.kde.org got slashdotted since last friday by > being a SUSE mirror... we were talking about rsync.kde.org here.. there are no known problems with master.kde.org (which is used for ftp.kde.org rsyncing). Dirk -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
[Bug 1442] rsync sender appears to hang when receiver recounters an error
https://bugzilla.samba.org/show_bug.cgi?id=1442 --- Additional Comments From [EMAIL PROTECTED] 2004-06-08 19:02 --- rsync will definitely hang in debug mode, because it tries to write more than the TCP window before it is willing to read. The other side is doing the same thing, so both block on writes in a deadly embrace. I doubt this is the cause here, but the I/O loop needs to be fixed. A recent CVS commit may have improved things, but I haven't looked at it. -- 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. -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: [Kde-mirrors] rsync errors from rsync.kde.org
Hi, On Wed, 9 Jun 2004, Dirk Mueller wrote: > it seems a lot of people get recently rsync protocol errors from > rsync.kde.org. Part of the problem is probably that we upgraded to rsync > 2.6.2 due to security problems with older versions. > > the newer rsync release contains a newer rsync protocol that appears to be not > fully backward compatible. The newer, improved protocol should be faster and > less memory hungry too. > > those of you who experience a protocol error during rsyncing.. are you all > using an older version of rsync? which one? perhaps that helps debugging the > problem. ftp.gwdg.de has senn lots of rsync aborts with master.kde.org - I had the picture that probably master.kde.org got slashdotted since last friday by being a SUSE mirror... Yes, ftp.gwdg.de is still using the "old" rsync: [EMAIL PROTECTED]:0 01:47:48 /mirr/bin > rsync --version rsync version 2.5.7 protocol version 26 and I guess I can't change that due to anasty bug of the new rsync version: If I have configured a "--backup-dir" and the new rsync version finds a second file which has to get deposited there, it is thinking that it is an error 23 that the backup directory already is existing. This is more than nasty for me, it is not tolarable if I like to track my server's activities with the help of rsync return codes - which indeed all the time was a huge improvement over any ftp protocol mirroring, the main advantage beneath the true "inode data mirroring" of rsync in my opinion. Cheers -e -- Eberhard Moenkeberg ([EMAIL PROTECTED], [EMAIL PROTECTED]) -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: [Fwd: Re: rsync server complaining about vanishing files while they are not.]
On Tue, Jun 08, 2004 at 04:17:06PM -0600, Tim Conway wrote: > [module] > path = /only/directory/you/want/to/give/them > use chroot = no > > user does > rsync server::module/../../../../../../../etc/security/passwd . Rsync's sanitize function (which runs in the server process) would strip off all the ../ prefixes, turning this into "etc/security/passwd" (relative to the module's path). The sanitize function is used whenever a daemon's module doesn't have chroot enabled. ..wayne.. -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: [Fwd: Re: rsync server complaining about vanishing files while they are not.]
Hans: Unless your server is in a completely trusted network, I'd suggest you put down some include/exclude rules for that module, because people can poke about anywhere they want. [module] path = /only/directory/you/want/to/give/them use chroot = no user does rsync server::module/../../../../../../../etc/security/passwd . Permissions (don't put "uid = 0" in the rsyncd.conf) can prevent that one, but rsync -a server::module/../../../../../../.. . is probably something you don't want. Tim Conway Unix System Administration Contractor - IBM Global Services desk:3032734776 [EMAIL PROTECTED] Yep, I have set "use chroot = no" for the module and it works. The symlinks I have are created automatically by a tool and are absolute. But since "use chroot = no" handles well absolute links from root/, the transfer works A1. Thanks for your input, Wayne. -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
[Bug 1442] rsync sender appears to hang when receiver recounters an error
https://bugzilla.samba.org/show_bug.cgi?id=1442 --- Additional Comments From [EMAIL PROTECTED] 2004-06-08 14:37 --- It's not a bug that the select() no longer includes the file descriptor for reading the next message because rsync is busy trying to write the first message over the socket to the sending (client) side. As soon as that were to succeed, it would read the next message. So, the real question is, Why can't rsync send its message over the socket? Is the remote-shell process hung? What is happening on the sending side? -- 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. -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
[Bug 1442] rsync sender appears to hang when receiver recounters an error
https://bugzilla.samba.org/show_bug.cgi?id=1442 --- Additional Comments From [EMAIL PROTECTED] 2004-06-08 13:26 --- Created an attachment (id=540) --> (https://bugzilla.samba.org/attachment.cgi?id=540&action=view) strace of receiver process -- 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. -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: help with cwrsync
Hi, In the case your problem is caused by open files : -- AFAIK, as all other well-behaved backup solutions, rsync does not handle open files. They must be excluded some way or another. If you use Windows 2003, "openfiles" command gives you a list of open files. Output from this command can be used to generate an exclude-list that may comfort rsync. In the case your problem is due to lack of permissions : - Make sure that rsync user account has read permissions to directory structure you want to backup. Rgrds Tev > Hello everybody > > I use cwrsync in a mixed servers network to make backup. > > I have a problem with Windows perms when rsync makes backups from Windows > directorys like /winnt or /Documents and Settings. Rsync starts his job, > but > anytime when the console shows a message like this: "opendir "Area NET" > (in > unitd) failed: Permission denied" the job stop and the backup is > uncompleted... > > The params I use > are: -av --stats --backup --force --ignore-errors --timeout=3600 > > Then rsync stop his job (doesn´t ignore the mistake however I have > the --ignore-errors option activate). The question is: must I surrender > and > use the --exclude option and lost the copy of these directory? or ¿is > there > other soluction?. > > Thank you very much from Spain. > > > José Luis Poza > [EMAIL PROTECTED] > > -- > To unsubscribe or change options: > http://lists.samba.org/mailman/listinfo/rsync > Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html > -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
[Fwd: Re: rsync server complaining about vanishing files while they are not.]
Greetings. Yep, I have set "use chroot = no" for the module and it works. The symlinks I have are created automatically by a tool and are absolute. But since "use chroot = no" handles well absolute links from root/, the transfer works A1. Thanks for your input, Wayne. Best regards, Hans Deragon -- Consultant en informatique/Software Consultant Deragon Informatique inc. Open source: http://www.deragon.bizhttp://facil.qc.ca (Promotion du libre) mailto://[EMAIL PROTECTED] http://autopoweroff.sourceforge.net (Logiciel) Original Message -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wayne Davison wrote: On Mon, Jun 07, 2004 at 04:30:56PM -0400, Hans Deragon wrote: As seen above, they are absolute, but there is no NFS mounting involved here. You're probably running the rsync daemon with "chroot = yes" then. If the files are inside the chroot area, you can switch the symlinks to be relative and they will work. If they are outside the chroot area, you'll have to turn chroot off. ..wayne.. Greetings again. I am at home now, so I will check this tomorrow (I am not the one who configured rsyncd.conf). But if you are right, would it be possible to have rsync spit out a different error message for this circumstance? A "vanishing" message does not describe the problem. If the link exist, could rsync verify if the symlink is absolute and if chroot is on? If both conditions are true, a more appropriate message could be printed. A message which would not cause a newbie like me to post. :) Thanks for the quick support. Hans Deragon - -- Consultant en informatique/Software Consultant Deragon Informatique inc. Open source: http://www.deragon.bizhttp://facil.qc.ca (Promotion du libre) mailto://[EMAIL PROTECTED] http://autopoweroff.sourceforge.net (Logiciel) -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFAxRdHOvOyYOyQFhwRAkB+AJ9RtwU1Q0/GyZFq3StPn7UKSepyswCbBzR8 WFlPqDsVU1Y1OYxLXl2sP8o= =aABz -END PGP SIGNATURE- -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: rsync 2.6.2 doesn't work with GNU inetutils rsh
The library I referred to was getopt. It just seems to be trying to be a bit too clever... kind of like the automatic tuning radios in Hitch Hiker's Guide to the Galaxy. I didn't know about the existing oddity in rsh. Thanks for the education. Tim Conway Unix System Administration Contractor - IBM Global Services desk:3032734776 [EMAIL PROTECTED] Hmm. To be fair, rsh has always been an outlier - it's allowed flags to follow the hostname ever since I can remember. And there are other fine examples of tradition like tar and dd which are hardly exemplary. If anything, I'd feel things are slowly getting better. But for interest, which new library do you refer to above? > You will have to write an rsh wrapper. Hmm. That was actually what I did yesterday. It's not the right solution to expect every end user to do that though. -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
[Bug 1442] New: rsync sender appears to hang when receiver recounters an error
https://bugzilla.samba.org/show_bug.cgi?id=1442 Summary: rsync sender appears to hang when receiver recounters an error Product: rsync Version: 2.6.2 Platform: All OS/Version: Linux Status: NEW Severity: normal Priority: P3 Component: core AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] QAContact: [EMAIL PROTECTED] As sent to the rsync mailing list on May 4, 2004: (rsync 2.6.2 between two Linux systems) ... What happens is that the sending rsync just appears to hang. The receiving rsync processes are no longer running when I go to look, typically the next morning. I finally managed to capture an strace of the receiving rsync processes, which I've attached below. The child receiver process gets an error return on a write(), informs its parent by sending it two error messages, and calls exit(11). The parent receiver process reads the first of the two error messages, but not the second. It handles the SIGCHLD signal after read()ing the first error message. Thereafter, the patent's select() no longer includes the file descriptor on which (presumably) the second error message is waiting. And it never informs the sending rsync process of the error. (strace output) ... -- 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. -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html