diff options
author | Phil Blundell <philb@gnu.org> | 2011-11-14 13:06:51 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-15 12:20:56 +0000 |
commit | 689884653938b98899fb3ba791221fdbe2f40e7f (patch) | |
tree | 79ed59eae44e8a31ebbf8fa2fb1e8f0bcbed8831 /meta/recipes-support/apr | |
parent | e7090743df6b38e9ce73743b5bbdd8ab6e9cada4 (diff) | |
download | openembedded-core-689884653938b98899fb3ba791221fdbe2f40e7f.tar.gz openembedded-core-689884653938b98899fb3ba791221fdbe2f40e7f.tar.bz2 openembedded-core-689884653938b98899fb3ba791221fdbe2f40e7f.tar.xz openembedded-core-689884653938b98899fb3ba791221fdbe2f40e7f.zip |
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.
Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/apr')
0 files changed, 0 insertions, 0 deletions