Not only am I not an ACL expert either, neither am I adequately knowledgeable about SELinux. So, I'm really hoping Frank can explain xattrs in the context of backup.
--Gary -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kern Sibbald Sent: Wednesday, January 04, 2006 11:20 AM To: bacula-users@lists.sourceforge.net Cc: Frank Sweetser; Gary Kopp Subject: Re: [Bacula-users] Backup xattrs (SELinux)? On Wednesday 04 January 2006 17:54, Frank Sweetser wrote: > On Wed, Jan 04, 2006 at 09:45:32AM -0700, Gary Kopp wrote: > > Searching has so far only turned up one old post in another mailing list > > suggested Bacula needed a patch to handle this, so let me ask here. > > > > Will Bacula back up and restore the xattrs (extended attributes) used by > > SELinux? My environment is RHEL4, but SELinux xattrs are common across > > all implementations AFAIK. > > No, it doesn't. > > If all of your files have the default selinux contexts, the simplest > solution is to simply ensure that on a bare metal recovery you also ensure > that /.autolabel file (IIRC) is created. On FC4 at least this will cause > the boot scripts to troll through / and make the contexts match those > defined in the policy. > > Other than that, you could probably hack up a script similar to the one > listed for backing up ACLs. This could take a while on a system with a lot > of files, and you would have to work a way to reapply those contexts on > restore manually, but at least the data would be there. > > That said, I don't suppose there happen to be any plans to backup xattrs? I am not an ACL expert, so could you explain to me what the difference between xattrs are and "regular" Linux ACLs, which can be backed up and restored by Bacula? > I'd be more than happy to volunteer to test out any code to do so. -- Best regards, Kern ("> /\ V_V ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users