SCIENTIFIC-LINUX-USERS Archives

June 2007

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Michael Hannon <[log in to unmask]>
Reply To:
Michael Hannon <[log in to unmask]>
Date:
Mon, 18 Jun 2007 19:24:35 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (41 lines)
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:[log in to unmask]
Dept. of Physics          530.752.4966
University of California  530.752.4717 FAX
Davis, CA 95616-8677

ATOM RSS1 RSS2