On Mon, 18 Jun 2007, Michael Hannon wrote:

[...]
ImportError: /usr/lib/python2.4/site-packages/rdiff_backup/_librsync.so:
    cannot restore segment prot after reloc: Permission denied
[...]
correct: setting selinux to "Permissive" mode makes the error go away.

Instead of effectively disabling SELinux (in permissive mode, you still get the annoying messages but not any protection ;-), relabelling the library would probably work as well:

        chcon -t texrel_shlib_t .../_librsync.so

--
Stephan Wiesand
  DESY - DV -
  Platanenallee 6
  15738 Zeuthen, Germany

Reply via email to