Project

General

Profile

Actions

Bug #16030

closed

Captive Portal service management via ``pfSsh.php svc`` fails when the zone name contains uppercase letters

Added by Georgiy Tyutyunnik 2 months ago. Updated 24 days ago.

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

100%

Estimated time:
Plus Target Version:
25.03
Release Notes:
Default
Affected Version:
Affected Architecture:

Description

If the captive portal zone name has capitals in its name, some of the restart-related processes refer its name incorrectly:

/usr/local/sbin/pfSsh.php playback svc restart captiveportal test2
Attempting to issue restart to captiveportal service...
captiveportal has been restarted.

/usr/local/sbin/pfSsh.php playback svc restart captiveportal TEST2
No Captive Portal Zone found with that name.

22266 root 1 68 0 32M 10M pause 1 0:00 0.88% nginx: master process /usr/local/sbin/nginx -c /var/etc/nginx-test2-CaptivePortal.conf (nginx)
cat /cf/conf/config.xml | grep TEST2
<zone>TEST2</zone>

This leads to the ACME package Action Restart Local Service to interact with it incorrectly.

Actions

Also available in: Atom PDF