Note to self: SElinux and duplicity

March 22, 2008 at 2:15 am | In sysadm |
Tags:

A box with RHEL5 or Centos5 and SElinux enabled could make duplicity fail with this error:


ImportError: /usr/lib/python2.4/site-packages/duplicity/_librsync.so: cannot restore segment prot after reloc: Permission denied

To fix it, run the following command:


chcon -t texrel_shlib_t /usr/lib/python2.4/site-packages/duplicity/_librsync.so

1 Comment »

RSS feed for comments on this post. TrackBack URI

  1. Sweeeet. Nice catch.

    Comment by rattyboy — July 8, 2008 #

Leave a comment

XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.