Project

General

Profile

Bug #3757

Minicron process inexplicaly terminated

Added by dem co over 5 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Captive Portal
Target version:
Start date:
07/14/2014
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.1.x
Affected Architecture:
All

Description

The minicron process handling rc.prunecaptiveportal get terminated when command 'pkill -HUP cron' is called.

The pkill command is called by configure_cron() in services.inc. Package like squid uses this while applying configuration. Causing minicron to be terminated.

This only happen if the minicron process has been restarted (example changing captive portal settings). Minicron started during bootup are not affected.

Version 2.1.3, 2.1.4 all arch affected.

Associated revisions

Revision dca795b7 (diff)
Added by Renato Botelho over 5 years ago

Use cron.pid to get pid number and avoid kill minicron processes. It fixes #3757

History

#1 Updated by Renato Botelho over 5 years ago

  • Target version set to 2.2

#2 Updated by Renato Botelho over 5 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

#3 Updated by Chris Buechler about 5 years ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF