DO NOT REPLY [Bug 4957] rsync with acl patch crashes with fuzzy option

2007-09-10 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=4957





--- Comment #4 from [EMAIL PROTECTED]  2007-09-10 09:55 CST ---
ah, perfect. thanks for the confirmation and the hint about 2.6.9!

if there is no issue with 3.0, you can probably close this one.


-- 
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: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


code 5 error

2007-09-10 Thread infolistas listas
Hello rsync users I'm having the following problem could someone help me?

Inicio do backup - Seg Set 10 14:45:07 BRT 2007

@ERROR: auth failed on module srvmail
rsync error: error starting client-server protocol (code 5) at main.c(1383)
[sender=2.6.9]

Fim do backup - Seg Set 10 14:45:07 BRT 2007

My confs

http://rapido.mfplan.com.br
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: What is the different between these rsync command

2007-09-10 Thread Aaron W Morris
On 9/9/07, Matt McCutchen [EMAIL PROTECTED] wrote:
 The first two commands do exactly the same thing because the
 destination has a single colon, indicating rsync over a remote shell,
 and the default remote shell is ssh.  All -e ssh does in this
 situation is explicitly restate the default.  (If the source or
 destination is an rsync daemon, -e ssh does make a difference: it
 indicates a single-use daemon invoked over ssh.)

 Matt

Unless it is a really old version of rsync where the default shell was rsh.

Yue, what version of rsync are you using?

-- 
Aaron W Morris (decep)
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


DO NOT REPLY [Bug 4957] rsync with acl patch crashes with fuzzy option

2007-09-10 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=4957


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Comment #5 from [EMAIL PROTECTED]  2007-09-10 21:00 CST ---
excellent.  Closing.


-- 
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: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Re: Batch mode scenario (use case)

2007-09-10 Thread Chris Shoemaker
On Sun, Sep 09, 2007 at 11:17:05PM +, Suresh Govindachar wrote:
 
   Responding to the question of how to use the batch file 
   /e/cmds/foo created via the command:
 
rsync -a --only-write-batch=/e/cmds/foo /c/home/wer/work/ /e/gold
 
   to selectively restore a subdirectory of work/ such as 
 
   some/path/projects/c_a 
 
   into a new location such as  
 
  /f/new_home/wer/work
 
   which has a copy of some/path/projects/c_a gotten from /e/gold but
   is otherwise empty, Matt wrote:
 
Rsync currently doesn't provide a good way to do this.  It would
be great if sender filters could be used to control which
file-list entries from the batch file are processed.  For now, a
hackish way to quickly recover a subdirectory is to --read-batch
to a destination that has been set up specially so that the user
cannot write to anything in the destination except the
subdirectory to be recovered.
 
   Is there a specification for the format of the batch file?  

The batch file format is simply a dump of rsync's network protocol.
That way, replaying the batch file is quite similar to performing the
original sync, except for the bytes come from the file instead of from
the socket.

At least, that's the way it worked last time I looked, which was
several years ago.

-chris

   Might
   it be possible to write a script to read /e/cmds/foo and create a
   new batch file that would correspond to having been created while
   rsync'ing --only-write-batch of work/path/c_a with gold/path/c_a?
 
   Thanks,
 
   --Suresh
   
 -- 
 To unsubscribe or change options: 
 https://lists.samba.org/mailman/listinfo/rsync
 Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Re: code 5 error

2007-09-10 Thread Wayne Davison
On Mon, Sep 10, 2007 at 02:55:36PM -0300, infolistas listas wrote:
 @ERROR: auth failed on module srvmail

That means that you didn't specify the right user and/or the right
password to the rsync daemon transfer.  The server's log will tell you
exactly what was wrong, if you have access to it (that info is not
provided to the user to make it harder to guess usernames).

..wayne..
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Re: Batch mode scenario (use case)

2007-09-10 Thread Matt McCutchen
On 9/9/07, Suresh Govindachar [EMAIL PROTECTED] wrote:
 How about the following scheme?

   open /e/cmds/foo
   do till end-of-file:
   begin-continue

   discard lines till there is a match to some/path/projects/c_a

   keep lines till there is a match to a directory outside c_a
 Note that the lines being kept could be
 data/commands corresponding to files inside c_a

   end-continue
   end-do
   write kept lines to new batch file

This is a clever idea, but I think it would be very difficult to
subset the batch file correctly since the rsync protocol is quite
complex (and binary).  For one thing, the new batch file would need to
contain the protocol initialization and at least the relevant portion
of the file list.  You might be able to accomplish this by keeping
everything until the first file transfer is logged, but that won't
work if the sender used incremental recursion because the relevant
portion of the file list will be randomly interspersed with file
transfers.

If you need to restore a subtree from a batch file, another thing you
could do is make a modified copy of rsync just for the job with a
strncmp thrown in to skip all file transfers except the ones in the
subtree.  Also, instead of a batch file, you might consider copying to
a new destination with --compare-dest to the original; that gives you
a tree of changed files from which you can easily restore files or
subtrees.

Matt
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


CVS update: rsync

2007-09-10 Thread Wayne Davison

Date:   Mon Sep 10 06:15:22 2007
Author: wayned

Update of /data/cvs/rsync
In directory dp.samba.org:/tmp/cvs-serv22244

Modified Files:
proto.h 
Log Message:
Regenerated.


Revisions:
proto.h 1.347 = 1.348
http://www.samba.org/cgi-bin/cvsweb/rsync/proto.h?r1=1.347r2=1.348
___
rsync-cvs mailing list
rsync-cvs@lists.samba.org
https://lists.samba.org/mailman/listinfo/rsync-cvs


CVS update: rsync

2007-09-10 Thread Wayne Davison

Date:   Mon Sep 10 06:15:25 2007
Author: wayned

Update of /data/cvs/rsync
In directory dp.samba.org:/tmp/cvs-serv22274

Modified Files:
hlink.c 
Log Message:
- Simplified the flist-spanning gnum logic in match_gnums().
- Don't use hlink_flist in hard_link_check().
- Made the prev_name logic in hard_link_check() better.
- Added an ndx arg to the finish_hard_link() call.  Also, set the
  prev value of any prior entries to the first finished item (which
  ensures that any item that follows a re-shuffled item (which was
  waiting for a transferred file to finish) can find the FIRST+DONE
  item.


Revisions:
hlink.c 1.87 = 1.88
http://www.samba.org/cgi-bin/cvsweb/rsync/hlink.c?r1=1.87r2=1.88
___
rsync-cvs mailing list
rsync-cvs@lists.samba.org
https://lists.samba.org/mailman/listinfo/rsync-cvs


CVS update: rsync

2007-09-10 Thread Wayne Davison

Date:   Mon Sep 10 06:15:28 2007
Author: wayned

Update of /data/cvs/rsync
In directory dp.samba.org:/tmp/cvs-serv22332

Modified Files:
generator.c 
Log Message:
Added an ndx arg to all the finish_hard_link() calls.


Revisions:
generator.c 1.353 = 1.354
http://www.samba.org/cgi-bin/cvsweb/rsync/generator.c?r1=1.353r2=1.354
___
rsync-cvs mailing list
rsync-cvs@lists.samba.org
https://lists.samba.org/mailman/listinfo/rsync-cvs