Building ubuntu images on debian host fails because of tmpdir
Bug #1330290 reported by
Monty Taylor
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
diskimage-builder |
Fix Released
|
High
|
Ghe Rivero |
Bug Description
On a current debian host (testing/unstable) debian defaults to per-user temp dirs. Mine are, for instance:
TMPDIR=
TEMP=/tmp/user/1000
TEMPDIR=
TMP=/tmp/user/1000
When doing the early things, such as "apt-get remove grub" - mkinitramfs gets called in the chroot, and this fails because the tempdir vars are leaking through - turns out, /tmp/user/0 (root's tempdir) doesn't exist in the guest.
In any case, dib should block the passthrough of TMP* env vars.
Changed in diskimage-builder: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in diskimage-builder: | |
assignee: | nobody → Ghe Rivero (ghe.rivero) |
no longer affects: | ubuntu |
Changed in diskimage-builder: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This is only a problem when limpam-tmpdir module is enabled, not something very common. Testing a possible solution.