diff options
| author | Phil Blundell <philb@gnu.org> | 2011-11-14 13:06:51 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-16 17:19:12 +0000 |
| commit | 3cbd20dbf87259cc0e70a222bca92bc86f3b3e94 (patch) | |
| tree | 31fe83e8b16e71cd4b76a3c87e29acfd9fde4354 /scripts/qemuimage-tests/sanity | |
| parent | fa81f8dfb7a342e355b608aa4204cf23ed2b251c (diff) | |
| download | poky-3cbd20dbf87259cc0e70a222bca92bc86f3b3e94.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)
Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/qemuimage-tests/sanity')
0 files changed, 0 insertions, 0 deletions
