Comment 1 for bug 829405

Revision history for this message
_AnK (andk) wrote :

I observe similar with a newer version of duplicity.

Description of problem:
SELinux context of restored files are not preserved.

Version-Release number of selected component (if applicable):
duplicity 0.6.22
Linux myhost.home 3.12.6-300.fc20.x86_64 #1 SMP Mon Dec 23 16:44:31 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

How reproducible: always

Steps to Reproduce:
1. duplicity --verbosity=9 --encrypt-key=12345678 --rsync-options="-avX" /Some/File file:///path/to/duplicity/backup
2. Restore the file into the different directory.
3. Compare SELinux context before and after.

Actual results:
Observe different SELinux context.

Expected results:
Expected to have the same SELinux context.

Additional info:
Attempts to use 'rsync://...' instead of 'file:///...' fails for root user as sshd prevents direct root logins.