Bug 882417

Summary: libguestfs tools fail with odd error messages if TMPDIR is not an absolute path
Product: [Community] Virtualization Tools Reporter: Richard W.M. Jones <rjones>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: CLOSED UPSTREAM QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: dyasny, mbooth
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-01 12:49:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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