Bug 576213 - EA set security.selinux ... failed
Summary: EA set security.selinux ... failed
Keywords:
Status: CLOSED DUPLICATE of bug 576525
Alias: None
Product: Fedora
Classification: Fedora
Component: dump
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Adam Tkac
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-03-23 14:32 UTC by Terry Horsnell
Modified: 2013-04-30 23:46 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 494303
: 576525 (view as bug list)
Environment:
Last Closed: 2010-04-26 10:20:53 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Terry Horsnell 2010-03-23 14:32:43 UTC
+++ This bug was initially created as a clone of Bug #494303 +++

Description of problem:
When restoring a file that has the immutable flag set, restore displays a
warning (see below) and the SELinux file context is not fully restored. This bug maybe is a regression of bz#208835 , which was filed against Fedora 5.

* following warning was issued when restoring /boot files
restore: ./config-2.6.18-128.el5PAE: EA set security.selinux:system_u:object_r:boot_t:s0 failed: Operation not permitted

* SELinux context before dump was called:
-rw-r--r--  root root system_u:object_r:boot_t         /boot/config-2.6.18-128.el5PAE

* SELinux context after restore was called:
-rw-r--r--  root root root:object_r:boot_t             /boot/config-2.6.18-128.el5PAE


Version-Release number of selected component (if applicable):
RHEL5-Server-U3
dump-0.4b41-2.fc6

How reproducible:
always

Steps to Reproduce:
1. Choose a directory and add immutable flag to one of its files.
2. Create a dump of the directory.
3. Delete all files in the directory.
4. Restore the dump in the same directory.
5. Check immutable flag and SELinux context.
  
Actual results:
restore displays a warning when restoring the file with immutable flag set

Expected results:
restore displays no warnings when restoring the file with immutable flag set

--- Additional comment from pm-rhel on 2009-11-06 14:26:42 EST ---

This request was evaluated by Red Hat Product Management for
inclusion, but this component is not scheduled to be updated in
the current Red Hat Enterprise Linux release. If you would like
this request to be reviewed for the next minor release, ask your
support representative to set the next rhel-x.y flag to "?".

--- Additional comment from jgorig on 2010-01-07 09:09:54 EST ---

Created an attachment (id=382238)
Bug fixed in Fedora

Bug fixed in Fedora. Patch attached.

--- Additional comment from tsh.ac.uk on 2010-03-23 09:44:44 EDT ---

I'm still getting problems like this using dump/restore from the Live FC12.
It seems to be using the latest version of dump/restore dump-0.4-0.3.b42.fc12.i686. Does this version incorporate the patch?
Cheers,
Terry

--- Additional comment from atkac on 2010-03-23 10:02:02 EDT ---

(In reply to comment #4)
> I'm still getting problems like this using dump/restore from the Live FC12.
> It seems to be using the latest version of dump/restore
> dump-0.4-0.3.b42.fc12.i686. Does this version incorporate the patch?

No, because noone reported this issue against Fedora. Patch is applied only in current development branch (Fedora 14). If you would like to get this issue fixed in Fedora 12 & 13 open new ticket, please (click on "Clone This Bug" button in upper right corner and select appropriate product, Fedora 12 in your case).

Comment 1 Adam Tkac 2010-04-26 10:20:53 UTC

*** This bug has been marked as a duplicate of bug 576525 ***


Note You need to log in before you can comment on or make changes to this bug.