This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-bugs] [Bug 1224] New: pygrub doesn't correctly find fsimage in /usr

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 1224] New: pygrub doesn't correctly find fsimage in /usr/lib64
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Wed, 23 Apr 2008 06:30:35 -0700
Delivery-date: Wed, 23 Apr 2008 06:30:49 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx

           Summary: pygrub doesn't correctly find fsimage in /usr/lib64
           Product: Xen
           Version: unspecified
          Platform: x86-64
        OS/Version: Linux-2.6
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Tools
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: xyzzy.bob@xxxxxxxxx

I built and installed Xen 3.2 onto a Fedora system running x86_64 Fedora 6. 
pygrub built and installed, but when I created a config that used pygrub as the
bootloader, pygrub failed with an error 'can't find fsimage'.

I looked at the pygrub code, and found the line:

sys.path = [ '/usr/lib/python' ] + sys.path

I changed this to:

sys.path = [ '/usr/lib64/python' ] + sys.path

and everything worked normally.

Not sure if it's an implementation issue on my end (quite possible) or if there
is a way to detect where the fsimage stuff lands on a 64-bit system.

relatively easy fix, so minimal pain, but I thought it may help to bring it up.

Configure bugmail: 
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Xen-bugs mailing list

<Prev in Thread] Current Thread [Next in Thread>