+++ This bug was initially created as a clone of Bug #1972282 +++
Description of problem:
The environment variable TMPDIR is not working for podman pull and podman load commands. This is fxied in 8.3.
Version-Release number of selected component (if applicable):
podman-3.2.0-0.21.module+el9beta+11158+7195cec9.x86_64
How reproducible:
100%
Steps to Reproduce:
1. make directory and mount it with a small size of tmpfs
# mkdir /tmp/testdir
# mount -t tmpfs -o size=1M tmpfs
2. export TMPDIR and run podman pull or podman load
# export TMPDIR=/tmp/testdir
# podman pull quay.io/libpod/testimage:20200929
Actual results:
podman pull can get the image
Expected results:
podman pull or load will failed to pull the image with error message "no space left on device"
Additional info:
Related bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1769918https://bugzilla.redhat.com/show_bug.cgi?id=1877699
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (Moderate: podman security and bug fix update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2022:7954