Project

General

Profile

Actions

Regression #13819

closed

OpenVPN process PID is not logged correctly

Added by Marcos M over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
OpenVPN
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Release Notes:
Force Exclusion
Affected Plus Version:
23.01
Affected Architecture:
All

Description

Tested on the latest snapshot.

The system logs now show the following when the OpenVPN service is started:

Jan 1 14:52:12 php-fpm 20491 OpenVPN PID written: --

Actions #1

Updated by Marcos M over 1 year ago

  • Project changed from pfSense to pfSense Plus
  • Category changed from OpenVPN to OpenVPN
  • Status changed from New to Pull Request Review
  • Target version changed from 2.7.0 to 23.01
  • Plus Target Version deleted (23.01)
  • Affected Version deleted (2.7.0)
  • Affected Plus Version set to 23.01
  • Affected Architecture All added
Actions #2

Updated by Jim Pingle over 1 year ago

  • Subject changed from OpenVPN process PID is not logged correctly. to OpenVPN process PID is not logged correctly
Actions #3

Updated by Jim Pingle over 1 year ago

  • Status changed from Pull Request Review to Feedback
  • % Done changed from 0 to 100

Fix tested and merged.

Before the fix, there was nothing logged when starting OpenVPN with the actual PID.

After the fix:

/var/log/system.log:Jan  5 10:25:37 pfsense php-fpm[923]: OpenVPN PID written: 32273

: ps uxaww | grep 32273
root    32273   0.0  0.7  22396  7032  -  Ss   10:25     0:00.02 /usr/local/sbin/openvpn --config /var/etc/openvpn/server4/config.ovpn
Actions #4

Updated by Jim Pingle over 1 year ago

  • Status changed from Feedback to Resolved

Value is logged correctly on the current snapshot.

php-fpm[8335]: OpenVPN PID written: 72747
Actions

Also available in: Atom PDF