Red Hat Bugzilla – Bug 163683
amanda seems to lack SELinux support
Last modified: 2015-01-07 19:10:14 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4
Description of problem:
As RHEL4 has support for SELinux and we enable it by default, we should make sure we can back up and restore a machine which has SELinux enabled.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. grab amanda-2.4.4p3-1 source rpm
2. install said srpm
3. look at the ./configure line in the spec file
Actual Results: --with-gnutar=/bin/tar
Expected Results: --with-gnutar=/usr/bin/star
AFAIK these are the only tow options to back up SELinux flags.
IIRC the consenss on tech-list was that while both are not perfect, pax is preferable.
The last time I tried, neither star or pax included gnutar's incremental
backup functionality, which Amanda uses. Therefore, before Amanda can use
either of them, their functionality will have to be improved. On
fenlason-rhide.boston.redhat.com, the command Amanda used was:
/bin/tar: gtar --create --file - --directory / --one-file-system
--ignore-failed-read --totals --exclude-from
Neither pax or star will accept these options. Submit an enhancement request
against pax or star (or both) to accept these options. Or submit an
enhancement request against dump or tar to support EAs and ACLs.
I had forseen this difficulty and was working on a new archiver called ATDS to
be used as a back end for Amanda to deal with this (and some other) problems.
Unfortunatly, laroche told me to stop working on it, and I haven't had any
free time to work on it at home. . .
This should probably be CLOSED->NOTAMANDASBUG but I'm going to leave it open
as a placeholder.
I have opened an RFE for both pax (163715) and star (163716).
As I have no customer request so far I did not open a FZ.
Feel free to close this one, as CLOSED->NOTAMANDASBUG