[Top][All Lists]
[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: |
Mon, 23 Jul 2007 10:03:20 -0700 |
2007/7/21, Andrew Ferguson <address@hidden>:
Nathan Kinkade wrote:
>> > $ rdiff-backup --restore-as-of now ./some/backup remote::/some/dir/restore
Hmm, Nathan.
I just ran this exact command using the latest code in CVS and it worked
fine.
Can you run rdiff-backup with a higher verbosity (say, 7) and send the
output?
Eg:
rdiff-backup -v7 --restore-as-of now ./some/backup remote::/some/dir/restore
Are you sure that 'restore' is also running version 1.1.12? There was a
bug sometime ago that looked similar to this and was fixed in a later
release.
Andrew
Hi Andrew,
Indeed, "pulling" the backups from the backup host to the backuped-up
machine seems to work fine. The problem seems to arise when I'm
trying to push the backups from the backup host to the original
(remote) machine. It is much more convenient to be able to push
restores because the backup host is already setup with a fairly
forced-command public key ssh login to all of the remote servers that
are to be backed up. In order to pull the backups will require
additional setup of public key authentication from various remote
servers to the central backup host ... this is doable, but means that
restoring can no longer be done from a single point.
I tried the "push" restore again, but this time with a verbosity level
of 7. rdiff-backup said more, but the info didn't really help me.
Perhaps you may see something in this additional info (see following).
Thanks again for your help.
Nathan
$ rdiff-backup -v7 /some/backup/ remote::/restore/point
Executing ssh -C apps-backup rdiff-backup --server
Registering connection 1
Using mirror root directory /some/backup/
Sending back exception
Warning Security Violation!
Bad request for function: fs_abilities.restore_set_globals
with arguments: [<rdiff_backup.rpath.RPath instance at 0x404eca2c>]
of type rdiff_backup.Security.Violation:
File "/usr/lib/python2.4/site-packages/rdiff_backup/connection.py",
line 333, in answer_request
Security.vet_request(request, argument_list)
File "/usr/lib/python2.4/site-packages/rdiff_backup/Security.py",
line 221, in vet_request
raise_violation(request, arglist)
File "/usr/lib/python2.4/site-packages/rdiff_backup/Security.py",
line 203, in raise_violation
raise Violation("\nWarning Security Violation!\n"
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
284, in take_action
elif action == "restore": Restore(*rps)
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
284, in take_action
elif action == "restore": Restore(*rps)
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>]
$ Exception 'Truncated header string (problem probably originated
remotely)' raised of class
'rdiff_backup.connection.ConnectionReadError':
File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line
299, in error_check_Main
try: Main(arglist)
File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line
319, in Main
take_action(rps)
File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line
273, in take_action
connection.PipeConnection(sys.stdin, sys.stdout).Server()
File "/usr/lib/python2.4/site-packages/rdiff_backup/connection.py",
line 354, in Server
self.get_response(-1)
File "/usr/lib/python2.4/site-packages/rdiff_backup/connection.py",
line 314, in get_response
try: req_num, object = self._get()
File "/usr/lib/python2.4/site-packages/rdiff_backup/connection.py",
line 232, in _get
raise ConnectionReadError("Truncated header string (problem "
Fatal Error: Lost connection to the remote system
- [rdiff-backup-users] "warning security violation" on fs_abilities.restore_set_globals when trying to restore, Nathan Kinkade, 2007/07/16
- Re: [rdiff-backup-users] "warning security violation" on fs_abilities.restore_set_globals when trying to restore, Andrew Ferguson, 2007/07/16
- Re: [rdiff-backup-users] "warning security violation" on fs_abilities.restore_set_globals when trying to restore, Nathan Kinkade, 2007/07/19
- Message not available
- Re: [rdiff-backup-users] "warning security violation" on fs_abilities.restore_set_globals when trying to restore, Nathan Kinkade, 2007/07/23
- Re: [rdiff-backup-users] "warning security violation" on fs_abilities.restore_set_globals when trying to restore, Andrew Ferguson, 2007/07/21
- Re: [rdiff-backup-users] "warning security violation" on fs_abilities.restore_set_globals when trying to restore, Andrew Ferguson, 2007/07/21
- Re: [rdiff-backup-users] "warning security violation" on fs_abilities.restore_set_globals when trying to restore,
Nathan Kinkade <=
- Re: [rdiff-backup-users] "warning security violation" on fs_abilities.restore_set_globals when trying to restore, Andrew Ferguson, 2007/07/28
- Re: [rdiff-backup-users] "warning security violation" on fs_abilities.restore_set_globals when trying to restore, Nathan Kinkade, 2007/07/28