[ovs-dev] [initscripts 4/5] xenserver: Don't delete pidfile in stop_daemon.

Andrew Evans aevans at nicira.com
Thu Jun 16 19:18:35 UTC 2011


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.





More information about the dev mailing list