BackupPC-users

Re: [BackupPC-users] Problems with sudo rsync and OpenVZ Containers

2008-07-29 09:41:12
Subject: Re: [BackupPC-users] Problems with sudo rsync and OpenVZ Containers
From: Holger Latz <tech AT globalview DOT de>
To: Holger Parplies <wbppc AT parplies DOT de>
Date: Tue, 29 Jul 2008 15:41:00 +0200
Holger Parplies schrieb:
> Hi,
> 
> tech AT globalview DOT de wrote on 2008-07-25 17:03:32 +0200 
> [[BackupPC-users] Problems with sudo rsync and OpenVZ Containers]:
>> Hi all,
>>
>> I have problems to make rsync-backups inside of OpenVZ-Containers.
>> [...]
>> On the server side, I see the following:
>>
>> [...]
>> Running: /usr/bin/ssh -q -x -l backuppc domain.name sudo /usr/bin/rsync 
>> --server --sender --numeric-ids --perms --owner --group -D --links 
>> --hard-links --times --block-size=2048 --recursive --ignore-times . etc/
>> Xfer PIDs are now 31562
>> xferPids 31562
>> Rsync command pid is 31562
>> Got remote protocol 1768191329
>> Fatal error (bad version): audit_log_user_command(): Connection refused
> 
> rsync is not expecting the output "audit_log_user_command...". It is taking
> the "audi" as the rsync version number 1768191329, which is invalid. You need
> to make sure 'sudo' does not output *anything* to stdout (and probably stderr)
> on its own (i.e. only the output of the rsync command).

Hi Holger,

that was the right hint, thank you!

I guess sudo complains because of the missing auditd inside the 
OpenVZ-Container. I could fix this bug with the patch of Daniel Drake 
(https://bugzilla.redhat.com/show_bug.cgi?id=401201). Without the 
sudo-error BackupPC now works fine!

Cheers
Holger

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

<Prev in Thread] Current Thread [Next in Thread>