rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] "warning security violation" on fs_abilities.re


From: Nathan Kinkade
Subject: Re: [rdiff-backup-users] "warning security violation" on fs_abilities.restore_set_globals when trying to restore
Date: Fri, 20 Jul 2007 23:29:14 -0700

2007/7/20, Andrew Ferguson <address@hidden>:
Nathan Kinkade wrote:
> 2007/7/16, Andrew Ferguson <address@hidden>:
>> Nathan Kinkade wrote:
>> > Hi all.  I have just recently started to use rdiff-backup and so far
>> > have managed to get the backups working well, but today I had occasion
>> > to need to restore and am getting an error that I'm unable to track
>> > down.  I'm trying to restore from local -> remote.  Both sides have
>> > v1.1.5, and the remote side of the connection is operating as the root
>> > user.  I believe the error is being generated on the local side.
>> > Does anyone have an idea of where I could start looking?  Saludos,
>> > Nathan
>>
>> Nathan,
>>
>> This bug was fixed in a later release. Please upgrade to the newest version.
>>
>> Thanks,
>> Andrew
>
> I upgraded the relevant machines to v1.1.12, but still seem to be
> getting the same error when I try to restore.  Backups still seem to
> be operating just fine.  Again, this is what I'm seeing:
>
> $ rdiff-backup --restore-as-of now ./some/backup remote::/some/dir/restore
> Exception
> Warning Security Violation!
> Bad request for function: fs_abilities.restore_set_globals
> with arguments: [<rdiff_backup.rpath.RPath instance at 0x404eca2c>]
> <snip>
>
> Thanks,
> Nathan


Nathan,

Can you please send the complete traceback? It is very important for
debugging any issue.

Thanks,
Andrew

Andrew,

Here is the complete traceback, or at least as much as is dumped to
stderr when I try to restore.  Let me know if there is any other info
that may be helpful.  Thanks so much for your help. rdiff-backup seems
like a great tool:

$ rdiff-backup --restore-as-of now /some/backup remote::/some/restore/point
Exception '
Warning Security Violation!
Bad request for function: fs_abilities.restore_set_globals
with arguments: [<rdiff_backup.rpath.RPath instance at 0x404eca2c>]
' raised of class '<class 'rdiff_backup.Security.Violation'>':
 File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line
299, in error_check_Main
   try: Main(arglist)
 File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line
319, in Main
   take_action(rps)
 File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line
285, in take_action
   elif action == "restore-as-of": Restore(rps[0], rps[1], 1)
 File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line
485, in Restore
   dest_rp.conn.fs_abilities.restore_set_globals(dest_rp)
 File "/var/lib/python-support/python2.5/rdiff_backup/connection.py",
line 447, in __call__
   return apply(self.connection.reval, (self.name,) + args)
 File "/var/lib/python-support/python2.5/rdiff_backup/connection.py",
line 369, in reval
   if isinstance(result, Exception): raise result

Traceback (most recent call last):
 File "/usr/bin/rdiff-backup", line 23, in <module>
   rdiff_backup.Main.error_check_Main(sys.argv[1:])
 File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line
299, in error_check_Main
   try: Main(arglist)
 File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line
319, in Main
   take_action(rps)
 File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line
285, in take_action
   elif action == "restore-as-of": Restore(rps[0], rps[1], 1)
 File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line
485, in Restore
   dest_rp.conn.fs_abilities.restore_set_globals(dest_rp)
 File "/var/lib/python-support/python2.5/rdiff_backup/connection.py",
line 447, in __call__
   return apply(self.connection.reval, (self.name,) + args)
 File "/var/lib/python-support/python2.5/rdiff_backup/connection.py",
line 369, in reval
   if isinstance(result, Exception): raise result
rdiff_backup.Security.Violation:
Warning Security Violation!
Bad request for function: fs_abilities.restore_set_globals
with arguments: [<rdiff_backup.rpath.RPath instance at 0x404eca2c>]




reply via email to

[Prev in Thread] Current Thread [Next in Thread]