On Wed, 2011-06-15 at 16:41 -0700, Ben Pfaff wrote:
> Deleting the pidfile introduces a minor race: if some other process is
> starting a daemon at the same time that the init script is stopping the
> same daemon, then this could delete the new daemon's pidfile.
> 
> This is really a theoretical risk, because no one should be starting and
> stopping a single daemon at the same time.

Good catch. Looks good to me.


_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to