]> 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>
Tue, 8 Nov 2016 23:03:17 +0000 (23:03 +0000)
commit1ae228ee5181f12955356c1fe10d341373dd5fcc
tree5db6ce9ea71bbbebcf9b8cfb0cc67aeac4d18b9e
parente299ac7d5b1e7af7940766e1232f6e425029fab6
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]

(From OE-Core rev: 84de3283fa2a2908d367eb58953903ae685b0298)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.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