Jon Peatfield wrote:
On Mon, 18 Jun 2007, Michael Hannon wrote:
Greetings. We're having trouble with the rdiff-backup package on i386
systems with SL 5.0 installed.
.
.
.
<snip>
ImportError:
/usr/lib/python2.4/site-packages/rdiff_backup/_librsync.so:
cannot restore segment prot after reloc: Permission denied
Please let me know if you have any suggestions about this. Thanks.
Typing "cannot restore segment prot after reloc" into google suggests
that it is probably selinux related. Do you have the same selinux setup
on the 64-bit system as on the 32-bit ones? What do you get for:
ls -alZ /usr/lib/python2.4/site-packages/rdiff_backup/_librsync.so
it would probably be worth checking all the other files in the package
too with something like:
rpm -ql rdiff-backup | xargs ls -ldZ
and see if those match whatever selinux expects for those object types.
Does running restorecon help at all? Does disabling (or
Hi, Jon. Well. THAT was dumb. On my part, that is. You are absolutely
correct: setting selinux to "Permissive" mode makes the error go away.
Thanks.
- Mike
--
Michael Hannon mailto:[EMAIL PROTECTED]
Dept. of Physics 530.752.4966
University of California 530.752.4717 FAX
Davis, CA 95616-8677