]> code.ossystems Code Review - openembedded-core.git/commit
rpm: prevent race in tempdir creation
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Fri, 14 Oct 2016 10:41:26 +0000 (13:41 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 15 Oct 2016 08:58:54 +0000 (09:58 +0100)
commit84de3283fa2a2908d367eb58953903ae685b0298
tree34b22ee8914c31d970525a29083eb26eb8a78ee8
parent4e61d8d6f4619dbfaeb5ca642449de7cf4b3e92d
rpm: prevent race in tempdir creation

This patch fixes an extramely rare race condition in creation of rpmdb
temporary directory. The "rpmdb-more-verbose-error-logging" patch is
still left in place, just for the case.

[YOCTO #9416]

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/rpm/rpm/rpmdb-more-verbose-error-logging-in-rpmTempFile.patch
meta/recipes-devtools/rpm/rpm/rpmdb-prevent-race-in-tmpdir-creation.patch [new file with mode: 0644]
meta/recipes-devtools/rpm/rpm_5.4.16.bb