Bug 882417 - libguestfs tools fail with odd error messages if TMPDIR is not an absolute path
Summary: libguestfs tools fail with odd error messages if TMPDIR is not an absolute path
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-30 22:11 UTC by Richard W.M. Jones
Modified: 2012-12-01 12:49 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-01 12:49:18 UTC
Embargoed:


Attachments (Terms of Use)

Description Richard W.M. Jones 2012-11-30 22:11:47 UTC
Description of problem:

$ TMPDIR=. guestfish -a /dev/null run
guestfish: launch-libvirt.c:1172: make_qcow2_overlay: Assertion `path[0] == '/'' failed.
Aborted

TMPDIR isn't supposed to be a relative path.  There are
three possible things we could do here:

(a) When parsing the environment, turn it into an absolute path.

(b) Still fail, but have a better diagnostic.

(c) Document it.

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

libguestfs 1.19.65


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