Project

General

Profile

Actions

Bug #3146

closed

Apinger still putting spaces after gateway names, leading to failing commands

Added by Jim Pingle over 11 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
High
Assignee:
Ermal Luçi
Category:
Gateways
Target version:
Start date:
08/14/2013
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.1
Affected Architecture:

Description

Using the latest apinger and check_reload_status (confirmed via re-compiling and checking sha256), watching apinger in debug mode during a failover it still is adding spaces to gateway names in some cases.

From the apinger log:

Aug 14 08:59:05 pfs21-1 apinger: Starting: /usr/local/sbin/pfSctl -c 'service reload dyndns WAN_DHCP ' -c 'service reload ipsecdns' -c 'service reload openvpn WAN_DHCP' -c 'filter reload' 

And if I try to run that by hand:

# /usr/local/sbin/pfSctl -c 'service reload dyndns WAN_DHCP ' -c 'service reload ipsecdns' -c 'service reload openvpn WAN_DHCP' -c 'filter reload'
ERROR:  extra arguments passed.
        all <cr>
        dns <cr>
        ipsecdns <cr>

If I remove the space after the gateway name on the dyndns portion of the command, it works.

If it matters, this one was observed on an i386 VM.

Actions #1

Updated by Jim Pingle over 11 years ago

  • Status changed from New to Feedback

After Ermal's last commits to the apinger patches this appears to be working OK again. Failover is working, the commands are running as expected.

Leaving in Feedback until it's in new snapshots to test.

Actions #2

Updated by Chris Buechler over 11 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF