Skip to content

Note to self: SElinux and duplicity

2008 March 22

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

One Response leave one →
  1. July 8, 2008

    Sweeeet. Nice catch.

Leave a Reply

Note: You can use basic XHTML in your comments. Your email address will never be published.

Subscribe to this comment feed via RSS