Bug 501886 - exec: chroot not found
Summary: exec: chroot not found
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-05-21 08:39 UTC by Richard W.M. Jones
Modified: 2011-04-12 17:20 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-12 17:20:47 UTC
Embargoed:


Attachments (Terms of Use)

Description Richard W.M. Jones 2009-05-21 08:39:36 UTC
[Actually this bug is on EPEL-5, but we don't have
a way to file libguestfs bugs against EPEL at the
moment]

On some distributions, chroot is located in /usr/sbin.
If this is not on the path, then you get the error:

  exec: chroot not found

when building the appliance.

The workaround is to add /usr/sbin to PATH.

Comment 1 Mark McLoughlin 2009-05-25 14:50:26 UTC
Moving upstream

Comment 2 Richard W.M. Jones 2011-04-12 17:20:47 UTC
All platforms that we care about now have /usr/sbin
in the path.  This does still affect RHEL 5 but we
workaround that in the spec file.


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