Bug 593608

Summary: autorelabel will fail if selinux is upgraded
Product: Red Hat Enterprise Linux 5 Reporter: Matthew Booth <mbooth>
Component: virt-v2vAssignee: Matthew Booth <mbooth>
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 5.6CC: mbooth, mshao, rjones, rwu
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-01 11:45:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.