Project

General

Profile

Bug #10360

PHP error when renewing a CA used by services

Added by Jim Pingle 8 months ago. Updated 8 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Certificates
Target version:
Start date:
03/19/2020
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.5.0
Affected Architecture:

Description

When renewing a CA which is in use by a service, the restart may fail with an error such as:

Fatal error: Uncaught error: Call to undefined function service_control_restart() in /etc/inc/certs.inc:1937

Ref: https://forum.netgate.com/post/897746

Associated revisions

Revision 81423583 (diff)
Added by Jim Pingle 8 months ago

Require service-utils.inc before using a function from it. Fixes #10360

History

#1 Updated by Jim Pingle 8 months ago

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

#2 Updated by Viktor Gurov 8 months ago

  • Status changed from Feedback to Resolved

renewing is OK on 2.5.0.a.20200319.0930

tested with IPsec, OpenVPN and DNS Resolver services

Also available in: Atom PDF