Patches for rsync.mbox

Nelson H. F. Beebe beebe at math.utah.edu
Thu Mar 28 00:49:52 EST 2002


I found that my mail client reported invalid messages in the
just-downloaded rsync.mbox.  

Further examination showed that they are due to instances of
unprefixed words "From" at beginning of line in the message body.
Once I fixed them, all messages are visible.  

It looks like the rsync.mbox file may have been prepared by simple
concatenation of messages, without the filtering of initial From
lines.

Here is a diff suitable for patch:

diff -c rsync.mbox.bad rsync.mbox
*** rsync.mbox.bad	Wed Mar 27 06:26:50 2002
--- rsync.mbox	Wed Mar 27 06:39:47 2002
***************
*** 48977,48983 ****
  ssh issue, not rsync.
  try "ssh linuxbox uname -a" from a windoze machine.  if that doesn't work 
  without a password, neither will rsync.
! From "man sshd":
  +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  PasswordAuthentication
          Specifies whether password authentication is allowed.  The de-
--- 48977,48983 ----
  ssh issue, not rsync.
  try "ssh linuxbox uname -a" from a windoze machine.  if that doesn't work 
  without a password, neither will rsync.
! >From "man sshd":
  +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  PasswordAuthentication
          Specifies whether password authentication is allowed.  The de-
***************
*** 48993,48999 ****
  PermitEmptyPasswords is also yes, or you won't be allowed passphraseless 
  authentication.
  If you're not permitted to change that, just use a simple ssh passphrase.
! From "man rsync":
  +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
       Some paths on the remote server may require  authentication.
       If  so then you will receive a password prompt when you con-
--- 48993,48999 ----
  PermitEmptyPasswords is also yes, or you won't be allowed passphraseless 
  authentication.
  If you're not permitted to change that, just use a simple ssh passphrase.
! >From "man rsync":
  +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
       Some paths on the remote server may require  authentication.
       If  so then you will receive a password prompt when you con-
***************
*** 85508,85514 ****
  If the symlink is longer, data blocks are allocated as on classic
  Unix.
  
! From linux-2.4.16/fs/ext2/namei.c:ext2_symlink:
  
  	if (l > sizeof (inode->u.ext2_i.i_data)) {
  		/* slow symlink */
--- 85508,85514 ----
  If the symlink is longer, data blocks are allocated as on classic
  Unix.
  
! > From linux-2.4.16/fs/ext2/namei.c:ext2_symlink:
  
  	if (l > sizeof (inode->u.ext2_i.i_data)) {
  		/* slow symlink */
***************
*** 85829,85835 ****
  If the symlink is longer, data blocks are allocated as on classic
  Unix.
  
! From linux-2.4.16/fs/ext2/namei.c:ext2_symlink:
  
                   if (l > sizeof (inode->u.ext2_i.i_data)) {
                                   /* slow symlink */
--- 85829,85835 ----
  If the symlink is longer, data blocks are allocated as on classic
  Unix.
  
! >From linux-2.4.16/fs/ext2/namei.c:ext2_symlink:
  
                   if (l > sizeof (inode->u.ext2_i.i_data)) {
                                   /* slow symlink */
***************
*** 185274,185280 ****
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  My mistake.  I never use the patterns in my application, so i forgot one 
  of the gotchas in the doc.
! From rsync.1:
       If you end an exclude list with  --exclude  '*',  note  that
       since  the  algorithm is applied recursively that unless you
       explicitly include parent directories of files you  want  to
--- 185274,185280 ----
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  My mistake.  I never use the patterns in my application, so i forgot one 
  of the gotchas in the doc.
! > From rsync.1:
       If you end an exclude list with  --exclude  '*',  note  that
       since  the  algorithm is applied recursively that unless you
       explicitly include parent directories of files you  want  to

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- Center for Scientific Computing       FAX: +1 801 585 1640, +1 801 581 4148 -
- University of Utah                    Internet e-mail: beebe at math.utah.edu  -
- Department of Mathematics, 110 LCB        beebe at acm.org  beebe at computer.org -
- 155 S 1400 E RM 233                       beebe at ieee.org                    -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe  -
-------------------------------------------------------------------------------




More information about the rsync mailing list