bugrdiff-backup - Bugs: bug #26679, Backward compatibility

 
 

bug #26679: Backward compatibility

Submitted by:  None
Submitted on:  Tue 26 May 2009 06:06:23 AM UTC  
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Wont Fix
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 24 Feb 2020 10:11:48 AM UTC, comment #1: 

We know of the problem but we can't fix it with the amount of effort we can provide, it has deep roots in the code base and in Python. Sorry!

Eric L. <ericzolf>
Project Administrator
Tue 26 May 2009 06:06:23 AM UTC, original submission:  

I use Ubuntu 9.04 on the client and Ubuntu 8.10 on the server, but the versions are not compatibles :

$ rdiff-backup test rom-eeebox::test
/var/lib/python-support/python2.6/rdiff_backup/SetConnections.py:148: DeprecationWarning: os.popen2 is deprecated. Use the subprocess module.
  stdin, stdout = os.popen2(remote_cmd)
Warning: Local version 1.2.7 does not match remote version 1.1.16.
Exception '
Warning Security Violation!
Bad request for function: rpath.make_file_dict
with arguments: ['test']
' raised of class '<class 'rdiff_backup.Security.Violation'>':
  File "/var/lib/python-support/python2.6/rdiff_backup/Main.py", line 304, in error_check_Main
    try: Main(arglist)
  File "/var/lib/python-support/python2.6/rdiff_backup/Main.py", line 321, in Main
    rps = map(SetConnections.cmdpair2rp, cmdpairs)
  File "/var/lib/python-support/python2.6/rdiff_backup/SetConnections.py", line 78, in cmdpair2rp
    return rpath.RPath(conn, filename).normalize()
  File "/var/lib/python-support/python2.6/rdiff_backup/rpath.py", line 884, in _init_
    else: self.setdata()
  File "/var/lib/python-support/python2.6/rdiff_backup/rpath.py", line 908, in setdata
    self.data = self.conn.rpath.make_file_dict(self.path)
  File "/var/lib/python-support/python2.6/rdiff_backup/connection.py", line 450, in _call_
    return apply(self.connection.reval, (self.name,) + args)
  File "/var/lib/python-support/python2.6/rdiff_backup/connection.py", line 370, in reval
    if isinstance(result, Exception): raise result

Traceback (most recent call last):
  File "/usr/bin/rdiff-backup", line 30, in <module>
    rdiff_backup.Main.error_check_Main(sys.argv[1:])
  File "/var/lib/python-support/python2.6/rdiff_backup/Main.py", line 304, in error_check_Main
    try: Main(arglist)
  File "/var/lib/python-support/python2.6/rdiff_backup/Main.py", line 321, in Main
    rps = map(SetConnections.cmdpair2rp, cmdpairs)
  File "/var/lib/python-support/python2.6/rdiff_backup/SetConnections.py", line 78, in cmdpair2rp
    return rpath.RPath(conn, filename).normalize()
  File "/var/lib/python-support/python2.6/rdiff_backup/rpath.py", line 884, in _init_
    else: self.setdata()
  File "/var/lib/python-support/python2.6/rdiff_backup/rpath.py", line 908, in setdata
    self.data = self.conn.rpath.make_file_dict(self.path)
  File "/var/lib/python-support/python2.6/rdiff_backup/connection.py", line 450, in _call_
    return apply(self.connection.reval, (self.name,) + args)
  File "/var/lib/python-support/python2.6/rdiff_backup/connection.py", line 370, in reval
    if isinstance(result, Exception): raise result
rdiff_backup.Security.Violation:
Warning Security Violation!
Bad request for function: rpath.make_file_dict
with arguments: ['test']

Fatal Error: Lost connection to the remote system

Even if I understand the need of adding new features or modifying the protocol, this non compatibility is not acceptable for me, especially with 2 versions separated by 6 months !

A backup manager must work with heterogeonous system, so a minor version of the program should not break the compatibility.

To avoid the problem, the client and server should negociate the protocol version, and the new versions should be able to switch to an older version of the protocol automatically…

The client and the server

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ericzolf (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-02-24 ericzolf StatusNone => Wont Fix
        Open/ClosedOpen => Closed

    Back to the top


    Powered by Savane 3.5