Bug #16030
closed
Captive Portal service management via ``pfSsh.php svc`` fails when the zone name contains uppercase letters
Added by Georgiy Tyutyunnik about 1 year ago.
Updated 9 months ago.
Plus Target Version:
25.07
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.
- Project changed from pfSense Packages to pfSense
- Subject changed from ACME package Action Restart Local Service interacts with captive portal incorrectly to pfSsh.php service playback command for Captive Portal fails when the zone name contains uppercase letters
- Category changed from ACME to Captive Portal
- Assignee set to Marcos M
- Release Notes set to Default
- Target version set to 2.8.0
- % Done changed from 0 to 100
- Plus Target Version set to 25.07
Fixed with commit:27927fd401f7d511f3f7320e86581aa6d7d8fe50.
- Status changed from New to Feedback
- Status changed from Feedback to Resolved
patch successfully fixes the issue.
patch changes the name of the existing zones to all lowercase
captive portal naming foornote now correctly states that all letters must be lowercase
- Subject changed from pfSsh.php service playback command for Captive Portal fails when the zone name contains uppercase letters to Captive Portal service management via ``pfSsh.php svc`` fails when the zone name contains uppercase letters
- Plus Target Version changed from 25.07 to 25.03
This was picked back to 25.03
- Plus Target Version changed from 25.03 to 25.07
Also available in: Atom
PDF