Project

General

Profile

Actions

Bug #4731

closed

softflowd process gets started twice during bootup

Added by Cody Howell almost 9 years ago. Updated about 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
05/25/2015
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
Affected Plus Version:
Affected Architecture:

Description

When rebooting the firewall, the softflowd process(s) can get started twice. I did some investigation and believe what is happening is the pfSense package manager is telling the softflowd package to sync, and then starts the service. The problem is, the softflowd sync also starts the service. If timing is just right (almost always in my case), two softflowd process per enabled interface getstarted.

In the custom_php_global_functions for the package, the function sync_package_softflowd is invoking restart_service near the end. I changed this to restart_service_if_running which appears to have solved the problem.

Actions

Also available in: Atom PDF