dump/restore and SElinux security context problem
- From: "Kayvan A. Sylvan" <kayvan@xxxxxxxxxx>
- Date: Sat, 22 Apr 2006 01:12:30 -0700
I used "dump" to create a snapshot of a filesystem, then, using
the Fedora Core disc 1 in rescue mode, used "restore" to retrieve
it.
However, for every file, I get messages like this:
restore: lsetxattr ./System.map-2.6.15-1.1833_FC4 failed: Invalid argument
This feels like it's related to SELinux. In fact, looking at
the restored files with "ls -Z", I see that they are all unlabeled.
If I don't use the rescue CD, and instead, on a running system where SELinux
is enabled, do the following:
1) setenforce 0
2) restore from the dump.
3) setenforce 1
Afterwards, the files restored are in their original security context.
How do I get this same result (files completely restored, along with
their extended attributes) while using the rescue CD?
Thanks for any answers.
--
Kayvan A. Sylvan | Proud husband of | Father to my kids:
Sylvan Associates, Inc. | Laura Isabella Sylvan, | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | my beautiful Queen. | Robin Gregory (2/28/92)
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
- Prev by Date: Re: fsck failure at boot
- Next by Date: Re: Sendmail
- Previous by thread: Re :- External HP SDLT Not detecting
- Next by thread: AW: RE: Sharing SCSI tape drives
- Index(es):
Relevant Pages
- Re: Recognizing an external drive when rebooting - thanks, solved
... I must have missed something here, but why did you NEED to create a rescue ...
when the Acronis CD itself can boot up and you can restore a previously ... that
should restore from one of my external drives to my C drive. ... (microsoft.public.windowsxp.general) - Re: dump/restore and SElinux security context problem
... to accomodate the DVD image. ... The problem: during the restore, for
every file, I get messages like this: ... If I don't use the rescue CD, and instead, on
a running system where SELinux ... the restored files are in their correct security context.
... (Fedora) - Re: Bare metal recovery problems
... > what CAN be done with the rescue mode. ... > someone suggested knoppix
ir rolling your own rescue cd is probably not ... Knoppix and timos won't boot on the Dell
2650, ... the CD and restore from tape, ... (RedHat) - Re: Document Rescue
... the OPEN button and select Open and Repair from the choices presented. ... how
to restore or rescue a garbled document in Word. ... (microsoft.public.word.newusers) - Re: dump/restore and SElinux security context problem
... I was trying to upgrade from FC4 to FC5, but my root partition was too small ...
I had to resize some partitions. ... The problem: during the restore, for every
file, I get messages like this: ... If I don't use the rescue CD, and instead, on a running
system where SELinux ... (Fedora)