Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 474914 - xen-tools installs qemu binaries into /usr/lib64/xen/bin
Summary: xen-tools installs qemu binaries into /usr/lib64/xen/bin
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Ian Delaney (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-26 22:17 UTC by Tobias Heinlein (RETIRED)
Modified: 2013-06-28 11:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Heinlein (RETIRED) gentoo-dev 2013-06-26 22:17:56 UTC
The xen-tools ebuild has /usr/lib64 hardcoded:

    if use qemu; then
        mkdir -p "${D}"usr/lib64/xen/bin || die
        mv "${D}"usr/lib/xen/bin/qemu* "${D}"usr/lib64/xen/bin/ || die
    fi


This results in qemu* binaries not being found when starting a domU on an x86 system:

# xl create /etc/xen/1.config
Parsing config from /etc/xen/1.config
libxl: error: libxl_dm.c:1092:libxl__spawn_local_dm: device model /usr/lib/xen/bin/qemu-dm is not executable: No such file or directory
libxl: error: libxl_dm.c:1218:device_model_spawn_outcome: (null): spawn failed (rc=-3)
Daemon running with PID 16194
#
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2013-06-28 11:50:36 UTC
ouch;  ooops.  thx Tobias.

  28 Jun 2013; Ian Delaney <idella4@gentoo.org> xen-tools-4.2.1-r3.ebuild,
  xen-tools-4.2.1-r4.ebuild, xen-tools-4.2.2-r1.ebuild,
  xen-tools-4.2.2-r2.ebuild:
  correct setting of libdir, fixes Bug #474914 by keytoaster

Just 4.2.1-r4 & 4.2.2-r2 are corrected, other 2 have accidental & incidental changes.  In anticipation of stabling of the former 2, those uncorrected can then be purged, unless you think I ought revbump them in their own right.