Bug 11446 - mktemp -t reports invalid argument for given template
Summary: mktemp -t reports invalid argument for given template
Status: NEW
Alias: None
Product: Busybox
Classification: Unclassified
Component: Standard Compliance (show other bugs)
Version: 1.28.x
Hardware: All Linux
: P5 major
Target Milestone: ---
Assignee: unassigned
URL: https://git.alpinelinux.org/cgit/apor...
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-29 12:18 UTC by Michał Fita
Modified: 2018-10-29 12:45 UTC (History)
1 user (show)

See Also:
Host: Linux x86_64
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Fita 2018-10-29 12:18:17 UTC
Busybox 1.28.4 from Alpine Linux 3.8:

host:~# mktemp -t template_XXXX
mktemp: Invalid argument
host:~# ls -la `which mktemp`
lrwxrwxrwx 1 root root 12 Oct 25 16:32 /bin/mktemp -> /bin/busybox

Configs used by this distro:
https://git.alpinelinux.org/cgit/aports/tree/main/busybox/busyboxconfig?h=3.8-stable

https://git.alpinelinux.org/cgit/aports/tree/main/busybox/busyboxconfig-extras?h=3.8-stable
Comment 1 Michał Fita 2018-10-29 12:45:42 UTC
Is it bug in busybox if XXXXXX works? Seem to be trouble with library call to mktemp().