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.37.module+el8.5.0+11271+290a2dff.x86_64
podman-3.3.0-0.1.module+el8.5.0+11308+711b20b9.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: container-tools:rhel8 security, bug fix, and enhancement 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-2021:4154