Bug 1288201 - virt-builder writes temporary files to /tmp
Summary: virt-builder writes temporary files to /tmp
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Pino Toscano
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-03 19:40 UTC by Richard W.M. Jones
Modified: 2015-12-04 10:09 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-04 10:09:34 UTC
Embargoed:


Attachments (Terms of Use)

Description Richard W.M. Jones 2015-12-03 19:40:03 UTC
Description of problem:

Although virt-builder obeys $TMPDIR, by default (if TMPDIR is not
set) it will try to write temporary files to /tmp.  Since the
temporary image files are very large, it ought to write them
to /var/tmp.  Otherwise people suffering from tmp-on-tmpfs
brokenness will have problems.

(Reported by adamw on IRC).

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

libguestfs 1.30 and above.

How reproducible:

100%

Steps to Reproduce:
1. With restricted space in /tmp run virt-builder.

Comment 1 Pino Toscano 2015-12-04 10:09:34 UTC
Fixed with
https://github.com/libguestfs/libguestfs/commit/a090a48f44e8d0c6e3410855b087cc936b1ee1ad
which is libguestfs >= 1.31.29.


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