Amanda-Users

Re: SELinux attrs

2008-07-28 13:55:46
Subject: Re: SELinux attrs
From: Albrecht Dreß <albrecht.dress AT arcor DOT de>
To: amanda-users AT amanda DOT org
Date: Mon, 28 Jul 2008 18:52:35 +0200
Am 28.07.08 15:08 schrieb(en) Nickolas Gray:
New to list, looking for a good solution to backing up SELinux systems with MLS policues

The reference in the Amanda documentation regarding SELinux xattrs is a rather cryptic one-liner

The problem is that amanda relies upon GNU tar which is not able to back up extended attributes, including ACL's as well as SELinux ones.

Star <http://developer.berlios.de/projects/star> is an alternative to GNU tar which *does* include perfect (afaict) extended attribute support using the "exustar" format, but it's options are somewhat different from gtar's. In particular, iirc it lacks gtar's '--ignore-failed-read' option which is important for amanda.

A while ago I started to write a simple wrapper script for star (you have to re-build amanda, as the "tar" application it calls is hard-coded in the executable), but did not yet succeed. I probably have to look deeper into the sources to see which options might be used with gtar, so the proper star replacements are mapped. Of course, it would also make sense to include a "star" backup mode into amanda, as the extended attributes problem ist rather common. If anyone else did that work already, I would highly appreciate any pointers!

Sorry for the "mixed" news,
Albrecht.

Attachment: pgpejhmL3Qcqo.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>