Subscribe to Mailing Lists     FAQFAQ    SearchSearch      Register  Log in to check your private messagesLog in to check your private messages    Log inLog in 
These forums brought to you by Backup Central, where we also have the Mr. Backup Blog, Mailing Lists, FAQs,
and Directories of Backup Software and Hardware
Extended attributes not stored under /mnt/xyz

 
Post new topic   Reply to topic    Backup Central Forums Forum Index -> Rdiff-Backup
View previous topic :: View next topic  
Author Message
Simon Blandford
Guest





PostPosted: Fri Oct 16, 2009 2:51 am    Post subject: Extended attributes not stored under /mnt/xyz Reply with quote

I have installed the pyxattr-0.4.0-2.el5 rpm and I am using the
rdiff-backup-1.2.8-1.el5.rf rpm on CentOS 5.

I have se-linux fully switched off but I would like to preserve the
se-linux extended attributes in the backup. I would like to restore
files with rsync, not rdiff-backup when necessary and so I need the
extended attributes to actually be stored as extended attributes and not
just represented in the rdiff-backup-data directory.


As a test, if I can see that rdiff-backup works on my root file system.
$ cd /root
$ rdiff-backup --include /etc/fstab --exclude /etc /etc test
$ ll -Z test
-rw-r--r-- root root user_u:object_r:etc_t:s0 fstab
drwx------ root root rdiff-backup-data


If I repeat this test on a mounted ext3 partition the selinux
attributes are missing.
$ cd /mnt/data
$ rdiff-backup --include /etc/fstab --exclude /etc /etc test
$ ll -Z test
-rw-r--r-- root root fstab
drwx------ root root rdiff-backup-data


Yet I can manually set the selinux attributes on this file. So the
mounted partition IS capable of storing the attributes.
$ chcon user_u:object_r:etc_t:s0 test/fstab
$ ll -Z test
-rw-r--r-- root root user_u:object_r:etc_t:s0 fstab
drwx------ root root rdiff-backup-data


Is rdiff-backup wrongly assuming that the target directory location
can't handle extended attributes?


_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users < at > nongnu.org
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Backup Central Forums Forum Index -> Rdiff-Backup All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Magic SEO URL for phpBB