mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
During processing, the zdev-provided dracut module creates a temporary file using the mktemp tool. Due to a missing path specification in the filename template, mktemp tries to create the temporary file in the current working directory which fails if that directory is not writable: # cd /sys # dracut -Nf mktemp: failed to create file via template 'dracut-zdev.XXXX': No such file or directory chzdev: Could not write to file : No such file or directory sed: can't read : No such file or directory chzdev: Could not open file : No such file or directory Fix this by specifying option --tmpdir when calling mktemp. Signed-off-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com> Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>