Bug#993762: dh-exec - Uses racy debian/tmp
Package: dh-exec
Version: 0.23.4
Severity: important
dh-exec and dh_prep are racy together in it's usage of the global source
directory "debian/tmp".
dh-exec-install-rename uses "debian/tmp" to create it's files. But at
the same time dh_prep also removes this global directory. So every
concurrent use of dh-exec leads to race conditions.
This leads to errors like this[1]:
| Error in tempdir() using debian/tmp/dh-exec.XXXXXXXX: Parent directory (debian/tmp) does not exist at /usr/share/dh-exec/dh-exec-install-rename line 18.
| BEGIN failed--compilation aborted at
| /usr/share/dh-exec/dh-exec-install-rename line 25.
Bastian
[1]: https://buildd.debian.org/status/fetch.php?pkg=linux&arch=ppc64el&ver=5.14-1%7Eexp2&stamp=1630872170&raw=1
--
The sight of death frightens them [Earthers].
-- Kras the Klingon, "Friday's Child", stardate 3497.2
Reply to: