Bug 593608 - autorelabel will fail if selinux is upgraded
Summary: autorelabel will fail if selinux is upgraded
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: virt-v2v
Version: 5.6
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Matthew Booth
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-05-19 09:59 UTC by Matthew Booth
Modified: 2011-02-01 11:45 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-02-01 11:45:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Matthew Booth 2010-05-19 09:59:12 UTC
If a conversion upgrades SELinux, SELinux itself will be mislabelled. If the guest boots with SELinux in enforcing mode, autorelabel will fail because /lib/libselinux.so.1 cannot be read.

If the guest has SELinux in enforcing mode, we need to set it to permissive mode to do the relabel, and put it back afterwards, presumably in rc.local.

Comment 2 RHEL Program Management 2010-12-07 10:34:51 UTC
This request was evaluated by Red Hat Product Management for inclusion in Red Hat Enterprise Linux 5.6 and Red Hat does not plan to fix this issue the currently developed update.

Contact your manager or support representative in case you need to escalate this bug.

Comment 3 Rita Wu 2010-12-21 08:55:51 UTC
Hi Matt,

How would I reproduce it? I cannot reproduce it via 2 senarios:
1. Convert a guest registered to rhn
2. Upgrade SELinux

Comment 5 RHEL Program Management 2011-02-01 11:45:17 UTC
Development Management has reviewed and declined this request.  You may appeal
this decision by reopening this request.


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