Skip Menu |

This queue is for tickets about the Helios CPAN distribution.

Report information
The Basics
Id: 81914
Status: resolved
Priority: 0/
Queue: Helios

People
Owner: LAJANDY [...] cpan.org
Requestors: LAJANDY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 2.60
Fixed in:
  • 2.601_3610
  • 2.601_3670
  • 2.601_3750
  • 2.61



Subject: Race condition on PID file
Client had issue where two instances of a watch script ran at the same time and successfully started two Helios daemons for the same service on the same host.
On Tue Dec 11 20:43:20 2012, LAJANDY wrote: Show quoted text
> Client had issue where two instances of a watch script ran at the same > time and successfully started two Helios daemons for the same service on > the same host.
The helios.pl daemon does not try to lock its PID file currently, so that is a (remote) possibility in a small number of circumstances. We should be able to fix this bug by exclusive flocking the pid file; it should only be a few extra lines of code in the write_pid_file() function in helios.pl.
A branch has been created on GitHub for this bug: https://github.com/logicalhelion/helios/tree/bug/rt81914
On Wed Dec 12 20:01:58 2012, LAJANDY wrote: Show quoted text
> A branch has been created on GitHub for this bug: > > https://github.com/logicalhelion/helios/tree/bug/rt81914 >
A potential fix for this bug has just been submitted to the GitHub branch above. Assuming it passes further testing, it will be rolled in with a forthcoming bugfix release.
On Sun Aug 04 16:26:09 2013, LAJANDY wrote: Show quoted text
> On Wed Dec 12 20:01:58 2012, LAJANDY wrote:
> > A branch has been created on GitHub for this bug: > > > > https://github.com/logicalhelion/helios/tree/bug/rt81914 > >
> > A potential fix for this bug has just been submitted to the GitHub > branch above. Assuming it passes further testing, it will be rolled > in with a forthcoming bugfix release.
On Fri Sep 13 16:50:43 2013, LAJANDY wrote: Show quoted text
> On Sun Aug 04 16:26:09 2013, LAJANDY wrote:
> > On Wed Dec 12 20:01:58 2012, LAJANDY wrote:
> > > A branch has been created on GitHub for this bug: > > > > > > https://github.com/logicalhelion/helios/tree/bug/rt81914 > > >
> > > > A potential fix for this bug has just been submitted to the GitHub > > branch above. Assuming it passes further testing, it will be rolled > > in with a forthcoming bugfix release.
> >
On Sat Sep 14 18:49:44 2013, LAJANDY wrote: Show quoted text
> On Fri Sep 13 16:50:43 2013, LAJANDY wrote:
> > On Sun Aug 04 16:26:09 2013, LAJANDY wrote:
> > > On Wed Dec 12 20:01:58 2012, LAJANDY wrote:
> > > > A branch has been created on GitHub for this bug: > > > > > > > > https://github.com/logicalhelion/helios/tree/bug/rt81914 > > > >
> > > > > > A potential fix for this bug has just been submitted to the GitHub > > > branch above. Assuming it passes further testing, it will be rolled > > > in with a forthcoming bugfix release.
> > > >
> >