Bug 200783

Summary: xen installation fails with "lvcreate failed for LogVol00"
Product: [Fedora] Fedora Reporter: James Morris <jmorris>
Component: xenAssignee: Xen Maintainance List <xen-maint>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: bstein, drepper, dwalsh, jakub, katzj, mbroz, roland
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-09-19 11:19:15 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:
Bug Depends On:    
Bug Blocks: 200124    
Attachments:
Description Flags
Anaconda dump none

Description James Morris 2006-07-31 16:58:42 UTC
Description of problem:

Anaconda text installation of a xen guest (via xenguest-install.py) fails with
"lvcreate failed for LogVol00"

Version-Release number of selected component (if applicable):

xen-3.0.2-22
anaconda is whatever is currently in gromit


Additional info:
- DNS seems to be flaky, too.  Had to specify install location as an IP address,
and it couldn't start vnc because it couldn't determine the address for localhost.

See attachement.

Comment 1 James Morris 2006-07-31 16:58:43 UTC
Created attachment 133331 [details]
Anaconda dump

Comment 2 Jeremy Katz 2006-07-31 17:05:35 UTC
The LVM tools are segfaulting in matchpathcon_init when SELinux is enabled --
selinux=0 works around, but obviously that's not a good long-term solution.  

Unfortunately, really being able to debug this sanely means getting a guest
installed and then we hit but 200127

Comment 3 Jeremy Katz 2006-08-01 17:07:49 UTC
Okay, not lvm2's fault. 

In libselinux, there's a __thread variable.  When we reference it, lvm.static
segfaults.  Easy reproducer is to install kernel-xen on an x86 box, boot into
it, run '/sbin/lvm.mkstatic vgmknodes'

Which starts to make me think this is something in the TLS fixup code in xen,
but not sure yet.

Comment 5 Jeremy Katz 2006-08-01 19:35:11 UTC
This should be fixed with new libselinux + lvm2

Comment 6 James Morris 2006-09-19 02:21:02 UTC
works fine now