internal abbrev error! ?

2008-01-09 Thread Max Lane
Hello,

I'm trying the latest rsync(3.0.0prev7) on Mac OS 10.5.1 and getting the
following error:

rsync: writefd_unbuffered failed to write 887 bytes [sender]: Broken pipe
(32)
recv_xattr_request: internal abbrev error!
rsync: connection unexpectedly closed (26242 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(600)
[sender=3.0.0pre7]

Can someone explain what an internal abbrev error is?

The rsync is to an attached firewire disk using:
  rsync --acls --xattrs --fake-super -a -v -exclude EXCLUDE
--link-dest=LINKDIR  SRCDIR  DESTDIR

Thanks in advance.
-- 
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: yet another rsync encryption program

2008-01-09 Thread Eric S. Johansson

Milutin Voinivich wrote:

How to use  murk when rsync entire directory?


I expect in conjunction with find.

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


module name check

2008-01-09 Thread Ming Zhang
Hi All

I tried to find out in the man page about what is the valid character we
can use in module name in rsyncd.conf but failed. Anyone knows?

Anyway, here is a bug.

I defines a module with abc/def as name.

$ rsync lab11-101::
abc/def

this one show the module name, but when i try to use it.


$ rsync vpn lab11-101::abc/def
@ERROR: Unknown module 'abc'
rsync error: error starting client-server protocol (code 5) at
main.c(1383) [sender=2.6.9]


Ming

-- 
Ming Zhang


@#$%^ purging memory... (*!%
http://blackmagic02881.wordpress.com/
http://www.linkedin.com/in/blackmagic02881


-- 
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: module name check

2008-01-09 Thread Paul Slootman
On Wed 09 Jan 2008, Ming Zhang wrote:

 I tried to find out in the man page about what is the valid character we
 can use in module name in rsyncd.conf but failed. Anyone knows?

Well, your example of using a slash is obviously wrong, how to
distinguish the module name from a filename / directory name part
after it?!  That's like complaining that you can't create a file called
abc/def.


Paul Slootman
-- 
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 5182] New: -r --include= --exclude= broken for version=3.0.0pre5?

2008-01-09 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=5182

   Summary: -r --include= --exclude=  broken for version=3.0.0pre5?
   Product: rsync
   Version: 3.0.0
  Platform: x86
OS/Version: Linux
Status: NEW
  Severity: normal
  Priority: P3
 Component: core
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
 QAContact: [EMAIL PROTECTED]


Hello,

I'm probably missing something (apologies if so), but this has worked
for me for years, and starting from 3.0.0pre5 has stopped working in a
way that smells of some kind of bug.

To reproduce the (possible) bug, set up the following scene.

Remote host/directory: remote_host:/some/dir
Local host:current directory containing file `foo'

(I'm assuming working passwordless ssh connection between local and
remote host)



From the directory containing the file foo I issue the following command:

  rsync -e ssh  -r --include='/foo' --exclude='*' ./ remote_host:/some/dir


Now: for versions =3.0.0pre4 this copies foo to the remote host, but
for versions =3.0.0pre5, foo is not copied any more.

Running the command in verbose mode does not throw any light into my
(lack of) knowledge:

  rsync -e ssh  -rvv --include='/foo' --exclude='*' ./ remote_host:/some/dir

gives:

opening connection using: ssh remote_host rsync --server -vvre30.14i . 
/some/dir
sending incremental file list
removing duplicate name . from file list (2)
removing duplicate name . from file list (3)
removing duplicate name . from file list (4)
removing duplicate name . from file list (5)
delta-transmission enabled
total: matches=0  hash_hits=0  false_alarms=0 data=0

sent 51 bytes  received 15 bytes  132.00 bytes/sec
total size is 0  speedup is 0.00


I can add that all works nicely even with version=3.0.0pre5 the other
way around: i.e.:

  rsync -e ssh  -r --include='/foo' --exclude='*' remote_host:/some/dir ./

copies remote_host:/some/dir/foo into local current directory, as I
was always used to obtain.

Am I doing something wrong or something has changed between 3.0.0pre4
and 3.0.0pre5?

I could not find any report on this in bugzilla, and this makes me
think I might be making some gross mistake, but, as I said, that used
to work for years and still perfectly works for versions=3.0.0pre4.

I'm on linux (2.6.23.12, i686)

I thank you very much in advance for any hint and, of course, for
making rsync available.


ciao
gabriele


-- 
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


DO NOT REPLY [Bug 5183] New: -r --include= --exclude= broken for version=3.0.0pre5?

2008-01-09 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=5183

   Summary: -r --include= --exclude=  broken for version=3.0.0pre5?
   Product: rsync
   Version: 3.0.0
  Platform: x86
OS/Version: Linux
Status: NEW
  Severity: normal
  Priority: P3
 Component: core
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
 QAContact: [EMAIL PROTECTED]


Hello,

I'm probably missing something (apologies if so), but this has worked
for me for years, and starting from 3.0.0pre5 has stopped working in a
way that smells of some kind of bug.

To reproduce the (possible) bug, set up the following scene.

Remote host/directory: remote_host:/some/dir
Local host:current directory containing file `foo'

(I'm assuming working passwordless ssh connection between local and
remote host)



From the directory containing the file foo I issue the following command:

  rsync -e ssh  -r --include='/foo' --exclude='*' ./ remote_host:/some/dir


Now: for versions =3.0.0pre4 this copies foo to the remote host, but
for versions =3.0.0pre5, foo is not copied any more.

Running the command in verbose mode does not throw any light into my
(lack of) knowledge:

  rsync -e ssh  -rvv --include='/foo' --exclude='*' ./ remote_host:/some/dir

gives:

opening connection using: ssh remote_host rsync --server -vvre30.14i . 
/some/dir
sending incremental file list
removing duplicate name . from file list (2)
removing duplicate name . from file list (3)
removing duplicate name . from file list (4)
removing duplicate name . from file list (5)
delta-transmission enabled
total: matches=0  hash_hits=0  false_alarms=0 data=0

sent 51 bytes  received 15 bytes  132.00 bytes/sec
total size is 0  speedup is 0.00


I can add that all works nicely even with version=3.0.0pre5 the other
way around: i.e.:

  rsync -e ssh  -r --include='/foo' --exclude='*' remote_host:/some/dir ./

copies remote_host:/some/dir/foo into local current directory, as I
was always used to obtain.

Am I doing something wrong or something has changed between 3.0.0pre4
and 3.0.0pre5?

I could not find any report on this in bugzilla, and this makes me
think I might be making some gross mistake, but, as I said, that used
to work for years and still perfectly works for versions=3.0.0pre4.

I'm on linux (2.6.23.12, i686)

I thank you very much in advance for any hint and, of course, for
making rsync available.


ciao
gabriele


-- 
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


DO NOT REPLY [Bug 5183] -r --include= --exclude= broken for version=3.0.0pre5?

2008-01-09 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=5183





--- Comment #1 from [EMAIL PROTECTED]  2008-01-09 11:15 CST ---
oops, sorry for the duplicate
please delete


-- 
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


DO NOT REPLY [Bug 5182] -r --include= --exclude= broken for version=3.0.0pre5?

2008-01-09 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=5182





--- Comment #1 from [EMAIL PROTECTED]  2008-01-09 11:24 CST ---
I can reproduce this.  The problem happens even without the --include and
--exclude options, but apparently only if the source argument is given as
exactly ./.  A workaround is to change the source to ..


-- 
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


DO NOT REPLY [Bug 5182] -r --include= --exclude= broken for version=3.0.0pre5?

2008-01-09 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=5182





--- Comment #3 from [EMAIL PROTECTED]  2008-01-09 11:57 CST ---
Created an attachment (id=3091)
 -- (https://bugzilla.samba.org/attachment.cgi?id=3091action=view)
Fix

The attached patch seems to fix the bug; I don't know if it's the right fix. 
The trouble was that, when rsync nulled out the trailing slash of the ./
source argument, it failed to retreat the pointer at which it appended the
names of files in the directory.  As a result, it tried to send .\0/src
(i.e., .) instead of ./src, hence the removing duplicate name message. 
I'm not sure why this wasn't a problem in rsync 3.0.0pre4.


-- 
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


DO NOT REPLY [Bug 5182] -r --include= --exclude= broken for version=3.0.0pre5?

2008-01-09 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=5182





--- Comment #4 from [EMAIL PROTECTED]  2008-01-09 12:02 CST ---
thank you very much!
I'm going home now: I'll try the patch tomorrow and let you know

ciao


-- 
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


DO NOT REPLY [Bug 5183] -r --include= --exclude= broken for version=3.0.0pre5?

2008-01-09 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=5183


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE




--- Comment #2 from [EMAIL PROTECTED]  2008-01-09 14:10 CST ---


*** This bug has been marked as a duplicate of 5182 ***


-- 
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


DO NOT REPLY [Bug 5182] -r --include= --exclude= broken for version=3.0.0pre5?

2008-01-09 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=5182





--- Comment #6 from [EMAIL PROTECTED]  2008-01-09 14:10 CST ---
*** Bug 5183 has been marked as a duplicate of this bug. ***


-- 
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: internal abbrev error! ?

2008-01-09 Thread Wayne Davison
On Wed, Jan 09, 2008 at 09:41:33AM +, Max Lane wrote:
 Can someone explain what an internal abbrev error is?

The internal code that that is trying to request the contents of a large
xattr value from the sender is confusing the receiver somehow.  I have
an idea of what may be the problem, and will check into it soon.

..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


DO NOT REPLY [Bug 5182] -r --include= --exclude= broken for version=3.0.0pre5?

2008-01-09 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=5182


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Comment #5 from [EMAIL PROTECTED]  2008-01-09 14:09 CST ---
This is now fixed in the latest dev version (including git and nightly tar
file).

Thanks for the report and the diagnosis.


-- 
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: module name check

2008-01-09 Thread Ming Zhang
On Wed, 2008-01-09 at 17:51 +0100, Paul Slootman wrote:
 On Wed 09 Jan 2008, Ming Zhang wrote:
 
  I tried to find out in the man page about what is the valid character we
  can use in module name in rsyncd.conf but failed. Anyone knows?
 
 Well, your example of using a slash is obviously wrong, how to
 distinguish the module name from a filename / directory name part
 after it?!  That's like complaining that you can't create a file called
 abc/def.
 

actually i intentionally choose /...

my point is rsync need to check module name. and Wayne just replied that
he added such check.

Thanks!


 
 Paul Slootman
-- 
Ming Zhang


@#$%^ purging memory... (*!%
http://blackmagic02881.wordpress.com/
http://www.linkedin.com/in/blackmagic02881


-- 
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: module name check

2008-01-09 Thread Ming Zhang
Hi Wayne

On Wed, 2008-01-09 at 11:45 -0800, Wayne Davison wrote:
 On Wed, Jan 09, 2008 at 11:25:20AM -0500, Ming Zhang wrote:
  I defines a module with abc/def as name.
 
 I've added code to disallow such a module name and documented
 the module naming rules in the rsyncd.conf manpage.

thanks. it is in pre7 already or in cvs?


 
 ..wayne..
-- 
Ming Zhang


@#$%^ purging memory... (*!%
http://blackmagic02881.wordpress.com/
http://www.linkedin.com/in/blackmagic02881


-- 
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: module name check

2008-01-09 Thread Olivier Thauvin
Le mercredi 09 janvier 2008, Ming Zhang a écrit :
 Hi Wayne

 On Wed, 2008-01-09 at 11:45 -0800, Wayne Davison wrote:
  On Wed, Jan 09, 2008 at 11:25:20AM -0500, Ming Zhang wrote:
   I defines a module with abc/def as name.
 
  I've added code to disallow such a module name and documented
  the module naming rules in the rsyncd.conf manpage.

 thanks. it is in pre7 already or in cvs?

The rsync code is now under git, which explain cvs mailing list is now likelly 
silent.
Website is still under cvs AFAICT.

Regards.


signature.asc
Description: This is a digitally signed message part.
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html