generic-poky/meta/recipes-connectivity/libnss-mdns
Phil Blundell 3cbd20dbf8 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>
2011-11-16 17:19:12 +00:00
..
files update patch upstream status 2011-05-13 11:02:14 +01:00
libnss-mdns_0.10.bb libnss-mdns: avoid race condition in postinst 2011-11-16 17:19:12 +00:00