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:
Jon Peatfield <[log in to unmask]>
Reply To:
Jon Peatfield <[log in to unmask]>
Date:
Tue, 19 Jun 2007 02:39:44 +0100
Content-Type:
TEXT/PLAIN
Parts/Attachments:
TEXT/PLAIN (48 lines)
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.
>
> We've tried this on three systems so far: two of them are running 32-bit
> SL 5.0 (one on 32-bit hardware, the other on 64-bit hardware), and the
> third is running 64-bit SL 5.0 (on 64-bit hardware, of course).
>
> The package is in the "dag" repository, and we install it via:
>
>    yum --enablerepo=dag install rdiff-backup
>
> This step appears to work just fine on all three systems.  The program
> runs as expected on the 64-bit system:
>
>     # rdiff-backup --version
>     rdiff-backup 1.0.5
>
> But on both of the 32-bit systems we get the following mess:
>
>     # rdiff-backup --version
>     Traceback (most recent call last):
>     File "/usr/bin/rdiff-backup", line 20, in ?
>     import rdiff_backup.Main
<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

  -- Jon

ATOM RSS1 RSS2