DO NOT REPLY [Bug 5607] New: 3.0.2 client won't cooperate with 2.6.9 server

samba-bugs at samba-bugs at
Thu Jul 10 20:22:47 GMT 2008

           Summary: 3.0.2 client won't cooperate with 2.6.9 server
           Product: rsync
           Version: 3.0.2
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P3
         Component: core
        AssignedTo: wayned at
        ReportedBy: andreas.bolsch at
         QAContact: rsync-qa at

Server: rsync  version 2.6.9  protocol version 29
Client: rsync  version 3.0.2  protocol version 30

Command line:
rsync -aiHOvvvvvvvv --no-implied-dirs -e ssh --filter '+ files/**/.htaccess'
--filter '+ */' --filter '- files/**' --delete-after --max-delete 8
/home/abc/def/www/_ghi/ abc12345 at

Before update of client (mirror source) from 2.6.9 to 3.0.2:
cmd[0]=ssh cmd[1]=-l cmd[2]=abc12345 cmd[3] cmd[4]=rsync
cmd[5]=--server cmd[6]=-vvvvvlOHogDtpr cmd[7]=--log-format=%i
cmd[8]=--max-delete=8 cmd[9]=--delete cmd[10]=--delete-after cmd[11]=.
opening connection using ssh -l abc12345 rsync --server
-vvvvvlOHogDtpr "--log-format=%i" --max-delete=8 --delete --delete-after .

(Client) Protocol versions: remote=29, negotiated=29

After update of client:
cmd[0]=ssh cmd[1]=-l cmd[2]=abc12345 cmd[3] cmd[4]=rsync
cmd[5]=--server cmd[6]=-vvvvvvvvlOHogDtpre.i cmd[7]=--log-format=%i
cmd[8]=--max-delete=8 cmd[9]=--delete-after cmd[10]=.
opening connection using: ssh -l abc12345 rsync --server
-vvvvvvvvlOHogDtpre.i "--log-format=%i" --max-delete=8 --delete-after .
note: iconv_open("ISO-8859-15", "ISO-8859-15") succeeded.

insecure -e option not allowed.
This account is restricted by rssh.
Allowed commands: scp sftp rsync

If you believe this is in error, please contact your system administrator.

rsync: connection unexpectedly closed (0 bytes received so far) [sender]

Apparently the 2.6.9 server gets confused by the "e." option in cmd[6]. After
commenting out addition of "e." in options.c:server_options() everythings works
as before.

Configure bugmail:
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the rsync mailing list