Re: Error in 'make-ca' script
"Bruce Dubbs" ([email protected] via blfs-dev Mailing List) <[email protected]> Mon, 2 Feb 2026 15:06:41 -0600
| Newsgroups | gmane.linux.lfs.beyond.devel |
|---|---|
| Message-ID | <[email protected]> |
On 2/2/26 2:47 PM, "Erwin" ([email protected] via blfs-dev Mailing List) wrote: > The 'make-ca' script does not work when the environment variable TMPDIR is > set. > The script contains several calls of 'mktemp'. > On call is: mktemp -p ${TEMPDIR}/certs -t make-ca.XXXXXXXX.tmp > Unfortunately the parameter '-p' is ignored when $TMPDIR is set > such that the temporary file is created in the wrong directory. > A solution could be to unset TMPDIR before 'mktemp -p' is called. > > The manual of 'mktemp' suggests that the parameter '-p' has precedence over > $TMPDIR. > But a simple test shows that $TMPDIR has precedence instead. > > 'mktemp' from coreutils 9.9 has been used. Our use is according to the man page. If the implementation is not in accordance with that, then you should probably report it to the coreutils developers. -- Bruce -- http://lists.linuxfromscratch.org/sympa/info/blfs-dev Unsubscribe: See the above information page