jaunty rdiff-backup can't use --test-server with a "rdiff-backup --server --restrict" command-locked remote side
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rdiff-backup |
Fix Committed
|
Undecided
|
Unassigned | ||
rdiff-backup (Debian) |
Fix Released
|
Unknown
|
|||
rdiff-backup (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: rdiff-backup
I have a backup system that uses rdiff-backup. I first test my connection to the server before firing off a backup. I also use ssh command-limited keys to restrict access to /srv/backups/
Testing server started by: ssh -i /var/lib/
Server tests failed
Exception '
Warning Security Violation!
Request to handle path .
which doesn't appear to be within restrict path /srv/backups/
' raised of class '<class 'rdiff_
File "/var/lib/
ror_check_Main
try: Main(arglist)
File "/var/lib/
in
take_
File "/var/lib/
ke_action
elif action == "test-server": SetConnections.
File "/var/lib/
248, in TestConnections
for i in range(1, len(Globals.
File "/var/lib/
256, in test_connection
assert type(conn.
File "/var/lib/
in __call__
return apply(self.
File "/var/lib/
in reval
if isinstance(result, Exception): raise result
Traceback (most recent call last):
File "/usr/bin/
rdiff_
File "/var/lib/
ror_check_Main
try: Main(arglist)
File "/var/lib/
in
take_
File "/var/lib/
ke_action
elif action == "test-server": SetConnections.
File "/var/lib/
248, in TestConnections
for i in range(1, len(Globals.
File "/var/lib/
256, in test_connection
assert type(conn.
File "/var/lib/
in __call__
return apply(self.
File "/var/lib/
in reval
if isinstance(result, Exception): raise result
rdiff_backup.
Warning Security Violation!
Request to handle path .
which doesn't appear to be within restrict path /srv/backups/
Fatal Error: Lost connection to the remote system
Changed in rdiff-backup (Debian): | |
status: | Unknown → Fix Released |
I have tried adding a "cd /srv/backups/ first.last &&" to the front of the command-limited key, but the traceback still happens.