Project

General

Profile

Bug #7558

l2tp configure kills and sleeps even if first time

Added by Jeremy C. Reed 4 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
VPN
Target version:
-
Start date:
05/20/2017
Due date:
% Done:

0%

Affected version:
Affected Architecture:

Description

vpn_l2tp_configure in /etc/inc/vpn.inc
has killbypid and sleep(8) even if starting it for first time.
I suggest it should check if file_exists() first.
Note that killbypid via sigkillbypid does check for that
but wrap both with it since the sleep(8) is done regardless.

(I noticed this while working on my book.
My list of bugs is at http://reedmedia.net/books/pfsense/bugs.html )

Also available in: Atom PDF