Bug 882417 - libguestfs tools fail with odd error messages if TMPDIR is not an absolute path
libguestfs tools fail with odd error messages if TMPDIR is not an absolute path
Status: CLOSED UPSTREAM
Product: Virtualization Tools
Classification: Community
Component: libguestfs (Show other bugs)
unspecified
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Richard W.M. Jones
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-30 17:11 EST by Richard W.M. Jones
Modified: 2012-12-01 07:49 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-12-01 07:49:18 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Richard W.M. Jones 2012-11-30 17:11:47 EST
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.