Project

General

Profile

Bug #7379

Virtual IPs/Proxy ARP: Not defined pid file on starting choparp.

Added by aLexander Panfilov about 3 years ago. Updated 10 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Virtual IP Addresses
Target version:
-
Start date:
03/12/2017
Due date:
% Done:

0%

Estimated time:
Affected Version:
Affected Architecture:

Description

Not defined pid file on starting choparp. The pfSense may not kill the program to reconfiguration.

--- interfaces.inc.orig 2017-03-12 18:56:36.471976000 +0300
+++ interfaces.inc 2017-03-12 19:32:14.875358000 +0300
@ -2248,7 +2248,9 @
if (!is_ipaddr($paaifip)) {
return;
}
- $args = get_real_interface($interface) . " auto";
+ $vipif = get_real_interface($interface);
+ $args = "-p {$g['varrun_path']}/choparp_{$vipif}.pid ";
+ $args .= $vipif . " auto";
foreach ($paa[$interface] as $paent) {
if (isset($paent['subnet'])) {
$args .= " " . escapeshellarg("{$paent['subnet']}/{$paent['subnet_bits']}");
@ -2264,7 +2266,9 @
if (!is_ipaddr($paaifip)) {
continue;
}
- $args = get_real_interface($paif) . " auto";
+ $vipif = get_real_interface($interface);
+ $args = "-p {$g['varrun_path']}/choparp_{$vipif}.pid ";
+ $args .= $vipif . " auto";
foreach ($paents as $paent) {
if (isset($paent['subnet'])) {
$args .= " " . escapeshellarg("{$paent['subnet']}/{$paent['subnet_bits']}");

History

#1 Updated by aLexander Panfilov about 3 years ago

New Bug after applying the patch:
There are several PoxyARP VIPs. Open one of them to edit and change the type to an Alias or Another (CARP not checked). choparp is dying, but not starting again.

Helps:
Open to edit any ProxyARP VIP and save unchanged. choparp start successfully.

#2 Updated by Kill Bill about 3 years ago

Yeah, it'd help to determine what's the actual bug before attempting to fix it.

P.S. Please, use GitHub for patches: https://github.com/pfsense/pfsense

#3 Updated by Jim Pingle 10 months ago

  • Category set to Virtual IP Addresses

Also available in: Atom PDF