BackupPC-users

[BackupPC-users] BackupPC and FreeIPA

2017-01-24 14:39:13
Subject: [BackupPC-users] BackupPC and FreeIPA
From: Paul Water <p.r.water AT setbased DOT nl>
To: backuppc-users AT lists.sourceforge DOT net
Date: Tue, 24 Jan 2017 20:38:34 +0100
Hello,

For those who are running BackupPC on a host with FreeIPA on CentOS 7,
here is a small report about an issue we have encountered.

Recently we have upgraded all packages of our CentOS 7 server on which
BackupPC is running. After this upgrade all backups fail with the same
error message `Unable to read 4 bytes`.

full backup started for directory / (baseline backup #1003)
Running: /usr/bin/ssh -q -x -l root some-host /usr/bin/rsync --server
--sender --numeric-ids --perms --owner --group -D --links --hard-links
--times --block-size=2048 --recursive --checksum-seed=32761
--one-file-system --ignore-times . /
Xfer PIDs are now 13059
Read EOF: Connection reset by peer
Tried again: got 0 bytes
Done: 0 files, 0 bytes
Got fatal error during xfer (Unable to read 4 bytes)
Backup aborted (Unable to read 4 bytes)
Not saving this as a partial backup since it has fewer files than the
prior one (got 0 and 0 files versus 0)


Relevant packages:
* BackupPC-3.3.1-5.el7.x86_64
* rsync-3.0.9-17.el7.x86_64
* perl-File-RsyncP-0.74-2.el7.x86_64
* openssh-6.6.1p1-31.el7.x86_64
* ipa-client-4.4.0-14.el7.centos.1.1.x86_64
* CentOS Linux release 7.3.1611 (Core)

In another environment we are using BackupPC with the same packages as
above too, however, without FreeIPA. In this environment BackupPC is
running without any issues.


We solved this issue by setting the SHELL variable in host configuration
files:
$Conf{RsyncClientCmd} = '/usr/bin/env SHELL=/bin/bash $sshPath -q -x -l
root $host $rsyncPath $argList+';

With best regards,
Paul



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
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>
  • [BackupPC-users] BackupPC and FreeIPA, Paul Water <=