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

2011-06-16 Thread Ben Pfaff
On Thu, Jun 16, 2011 at 12:18:35PM -0700, Andrew Evans wrote: > 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

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

2011-06-16 Thread Andrew Evans
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 ri

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

2011-06-15 Thread Ben Pfaff
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 da