Skip to content


Note to self: SElinux and duplicity

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

Posted in sysadm. Tagged with .

One Response

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. Sweeeet. Nice catch.

Some HTML is OK

(required)

(required, but never shared)

or, reply to this post via trackback.