Regression #13819
closed
OpenVPN process PID is not logged correctly
Added by Marcos M almost 2 years ago.
Updated almost 2 years ago.
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: --
- 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
- Subject changed from OpenVPN process PID is not logged correctly. to OpenVPN process PID is not logged correctly
- 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
- Status changed from Feedback to Resolved
Value is logged correctly on the current snapshot.
php-fpm[8335]: OpenVPN PID written: 72747
Also available in: Atom
PDF