Wait for daemons to die in init.d script "stop" commands.
authorBen Pfaff <blp@nicira.com>
Thu, 12 Aug 2010 17:18:19 +0000 (10:18 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 12 Aug 2010 18:15:20 +0000 (11:15 -0700)
commit2cc906419fd8592c24a281a2c4b0932ad978be3d
treed5b8bd0a1474d83e4ec45a187b3d5bd875a4b13c
parentdf5d2ed998115b4aace007508e0cc374f5f84ab5
Wait for daemons to die in init.d script "stop" commands.

Sometimes it takes a moment for the OVS daemons to die.  When that happens,
the "start" half of "openvswitch restart" can fail when ovsdb-tool
runs, because ovsdb-server will still have the lock on the database if it
has not exited yet.  So this commit just makes the "stop" half wait for
the daemons to really die.

Bug #3369.
debian/openvswitch-switch.init
xenserver/etc_init.d_openvswitch