Bug 11446

Summary: mktemp -t reports invalid argument for given template
Product: Busybox Reporter: Michał Fita <michal.fita>
Component: Standard ComplianceAssignee: unassigned
Status: NEW ---    
Severity: major CC: busybox-cvs
Priority: P5    
Version: 1.28.x   
Target Milestone: ---   
Hardware: All   
OS: Linux   
URL: https://git.alpinelinux.org/cgit/aports/tree/main/busybox?h=3.8-stable
Host: Linux x86_64 Target:
Build:

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().