Content-Type: multipart/related; boundary="------------060303060106000504000002" --------------060303060106000504000002 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Answering top myself...

All problems with this install (first, the cgi interface saying unable to read config.pl and second the rsync problem) came from SELinux.

It seems (for fedora users) that there were a change on SELinux in Fedora 5 :
(qutote from the fc5 selinux faq at http://fedora.redhat.com/docs/selinux-faq-fc5/#id2963473)
"Now, su/sudo only change the Linux identy. You will need to use newrole to change the SELinux identity, role, or level"

I think it's the reason that rsync method failed with avc:denied errors.
I have now disable selinux, and BackupPC is working argain.

By the way, I'm interested in any advice for SELinux configuration on fc5.

Thanks a lot :)

Trasher a écrit :
Hello,

I have a strange (for me a least) problem when I try to backup the localhost with backuppc.

I had to change my hdd, so I upgrade my FC4 to FC5. I made a fresh backuppc install and use my FC4 config.pl and hosts files .
Everything seems to be ok for hosts on network.

For my localhost, when I try to use the cgi interface for a full backup, I've the following :
Running: /usr/bin/sudo /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group -D --links --times --block-size=2048 --recursive --include=/etc --include=/boot --include=/var --include=/home --exclude=/\* --exclude=/var/cache --exclude=/var/temp --ignore-times . /
Xfer PIDs are now 19323
Rsync command pid is 19323
Fetching remote protocol
Read EOF: Connexion ré-initialisée par le correspondant
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)

I don't understand what is the error. Everything is ok when I launch backup manually with the command line :
/usr/local/backuppc/bin/BackupPC_dump -v -f localhost

A few precisions now. The config.pl file for localhost looks like :
$Conf{BackupFilesOnly} = ['/etc', '/boot', '/var', '/home'];
$Conf{BackupFilesExclude} = ['/var/cache', '/var/temp'];
$Conf{XferMethod} = 'rsync';
$Conf{XferLogLevel} = 1;
$Conf{RsyncShareName} = '/';
$Conf{RsyncClientCmd} = '/usr/bin/sudo $rsyncPath $argList';
$Conf{RsyncClientRestoreCmd} = '/usr/bin/sudo $rsyncPath $argList';
$Conf{ArchiveComp} = 'bzip2';

Also, in the config.pl file I replaced '--devices' by '-D' for $Conf{RsyncArgs}
I added 'backuppc ALL=NOPASSWD: /usr/bin/rsync' with visudo so I can use directly rsync without ssh for this host.

Thank you fo any help :)
Johan
--
Get Firefox!

Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/

--
Get Firefox!
--------------060303060106000504000002 Content-Type: image/gif Content-Transfer-Encoding: base64 Content-ID: R0lGODlhUAAPAOYAAAAAAObm5q4fCABXlwMfcl8oDbtvQAIVbgCSxedaCHyLidhPB8yZZgB1 tFNfapGRvQA1ejEeTM5jJdFAAszMzBWQyZkcGfCAPRdIWv///wBmme9mGgAZLb8UAJIuM+eC ONRVEQCEvqR+aAmj1TFWXezHjxy15vabUJBfSgBJi1M5KcOKXt1LBPRuJwAxdb86BuduIa8u BxCCv/f39wArVNeUXgBzsABbo6tUKA+TzOFYEaQ5Gdc9AIVhcKsnBEc+R71FJfCPUCxBQog4 Exit3wCNxA59ufarasspAO7u7gBrruqkeACZzABJc+9+L+RTAr1qNKIhBNRNFsdCEgA9gQAq bcaGcmA2RABYgwBmmThRbQ8ZZQd4tLUFABCp2fJqIRam2QJ+qHwrG+iPT+liEACJt/nq4OWY bR666vOPQwBlpQBWnBGLxOp1KQAhO8KWbgAzZgdoprQmAsxHDgAjZwBCevKIO/LDoAebzwma ybczBjdKUABCiQWCrAyDvgB9syH5BAQUAP8ALAAAAABQAA8AAAf/gASCg4SFhoeIiYqEOFcE BwdVKQNqalx+bERomxUyRnEEGaKjpKWmp6ipqqJmOksPW1VUKZNqCiJ+YCa7bEZcoKvBwsOn ZyAgEXRVEFRUDkEXP35E1GBsXL+hxNvcpzMSc+EoKzU1Bi0tO1p5XjkyOUZGeHja3fbcSVMv UhdBJ0dHNnz5gqFPnhEj2OTwgpDeqAQQRUFMIDFiBgAYRQHQmJHjxosdQY76eHFUAD0LyJCZ mGDDBh1iwiBASHMEHibaKJLS+XAkqY9ANf4cWlIoyQwUJrB4wnSiygRyfpRBwGTePCYIcmaw OLGnR6EgSWIE2jGoz1EzejBdyxKiHDl6uAoIQUC3rtatEkvxPBpULFGwfkkGWLC2adsJc8aU IFGmiOMiIepZ3Dp5L1GzY8GO9AvWSmHDEMlskHDnDQYNf0KotvGn3r3Xq4B0QcLWKYw2TqDs waKmgW81fFK4hk281AwPPArbxm3nQ5MBSmxIV9NsePHrx2nXdnnbSZoTWDQoGT+eigvr14kn saC9sJ4oUWJwcKMixY1K+G/wWcS/v39DAnTw2Qs++BDDEDTAUUcKa9zg4IMQBAIAOw== --------------060303060106000504000002 Content-Type: image/gif; name="white_1.gif" Content-Transfer-Encoding: base64 Content-ID: Content-Disposition: inline; filename="white_1.gif" R0lGODlhUAAPAOYAAAAAAObm5q4fCABXlwMfcl8oDbtvQAIVbgCSxedaCHyLidhPB8yZZgB1 tFNfapGRvQA1ejEeTM5jJdFAAszMzBWQyZkcGfCAPRdIWv///wBmme9mGgAZLb8UAJIuM+eC ONRVEQCEvqR+aAmj1TFWXezHjxy15vabUJBfSgBJi1M5KcOKXt1LBPRuJwAxdb86BuduIa8u BxCCv/f39wArVNeUXgBzsABbo6tUKA+TzOFYEaQ5Gdc9AIVhcKsnBEc+R71FJfCPUCxBQog4 Exit3wCNxA59ufarasspAO7u7gBrruqkeACZzABJc+9+L+RTAr1qNKIhBNRNFsdCEgA9gQAq bcaGcmA2RABYgwBmmThRbQ8ZZQd4tLUFABCp2fJqIRam2QJ+qHwrG+iPT+liEACJt/nq4OWY bR666vOPQwBlpQBWnBGLxOp1KQAhO8KWbgAzZgdoprQmAsxHDgAjZwBCevKIO/LDoAebzwma ybczBjdKUABCiQWCrAyDvgB9syH5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