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 →

Sweeeet. Nice catch.