SElinux xattrs support for duplicity
Bug #829405 reported by
jo akweb
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
New
|
Undecided
|
Unassigned | ||
duplicity (Fedora) |
Won't Fix
|
Undecided
|
Bug Description
(This is more a feature request than a bug report - I hope that's ok.)
As of duplicity-0.6.14, it doesn't seem to support SElinux file attributes. Without these attributes preserved, it can be virtually impossible to restore a working Redhat or CentOS system, where by default SElinux is activated.
It should be possible to extend duplicity to support these attributes, because rsync provides an command line switch (--xattrs) for this.
Changed in duplicity (Fedora): | |
importance: | Unknown → Undecided |
status: | Unknown → Won't Fix |
To post a comment you must log in.
Description of problem:
SELinux context of restored files are not preserved.
Version-Release number of selected component (if applicable): 300.fc20. x86_64 #1 SMP Mon Dec 23 16:44:31 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
duplicity 0.6.22
Linux myhost.home 3.12.6-
How reproducible: always
Steps to Reproduce: key=12345678 --rsync- options= "-avX" /Some/File file:// /path/to/ duplicity/ backup
1. duplicity --verbosity=9 --encrypt-
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.