diff options
author | Phil Blundell <philb@gnu.org> | 2011-11-14 13:06:51 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-30 16:43:42 +0000 |
commit | 709ad806620750bde71b767f4a58fc08dc895888 (patch) | |
tree | 52bbd9e304afd3e500d77bfe00f1daa037ba3031 /meta/recipes-support/js | |
parent | 08a834a08acb5493854680aaf695ed0548d6b65b (diff) | |
download | poky-709ad806620750bde71b767f4a58fc08dc895888.tar.gz |
libnss-mdns: avoid race condition in postinst
Writing to "/tmp/nsswitch.conf" leads to a race condition if two
copies of the postinst are running simultaneously. Fix this by
modifying /etc/nsswitch.conf in place using sed -i. Also make the
same change to the prerm for consistency although the race will not
occur here in practice.
(From OE-Core rev: 689884653938b98899fb3ba791221fdbe2f40e7f)
(From OE-Core rev: 2a2741c12196c34c5e6127488a8eeec7118b2952)
Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/js')
0 files changed, 0 insertions, 0 deletions