Bug #10891
closedCaptive Portal related files are not deleted after deleting CP zone in WebGUI
100%
Description
If you remove Captive Portal Zone on the services_captiveportal_zones.php page,
related files are still there:
/var/db/captiveportal<zone>.db
/var/db/captiveportal_usedmacs_<zone>.db
/var/db/voucher_<zone>_active_X.db
/var/db/voucher_<zone>_used_X.db
Updated by Viktor Gurov about 4 years ago
Updated by Jim Pingle about 4 years ago
- Status changed from New to Pull Request Review
- Target version set to 2.5.0
Updated by Renato Botelho about 4 years ago
- Status changed from Pull Request Review to Feedback
- Assignee set to Renato Botelho
- % Done changed from 0 to 100
PR has been merged. Thanks!
Updated by Max Leighton about 4 years ago
Tested in:
2.5.0-DEVELOPMENT (amd64)
built on Sun Oct 04 18:53:52 EDT 2020
FreeBSD 12.2-STABLE
The captive portal related files were removed from /var/db after deleting the zone from Services>Captive Portal
I tested in an HA pair and saw that the even though the zone gets deleted on the secondary, the /var/db directory on the secondary node kept the files captiveportal_usedmacs, captiveportal_<zone>.db, voucher_<zone>_active_1.db, and voucher_<zone>_used_1.db. Does this need to be addressed?
Updated by Anonymous about 4 years ago
- Status changed from Feedback to In Progress
Updated by Renato Botelho about 4 years ago
- Assignee changed from Renato Botelho to Viktor Gurov
Viktor, can you please check this out?
Updated by Viktor Gurov about 4 years ago
Max Leighton wrote:
I tested in an HA pair and saw that the even though the zone gets deleted on the secondary, the /var/db directory on the secondary node kept the files captiveportal_usedmacs, captiveportal_<zone>.db, voucher_<zone>_active_1.db, and voucher_<zone>_used_1.db. Does this need to be addressed?
Updated by Renato Botelho about 4 years ago
- Status changed from In Progress to Feedback
PR has been merged. Thanks!
Updated by Max Leighton almost 4 years ago
- Status changed from Feedback to Resolved
Tested in
2.5.0-DEVELOPMENT (amd64)
built on Sun Oct 11 13:01:59 EDT 2020
FreeBSD 12.2-STABLE
confirmed that the deleted files were removed from /var/db on the secondary as well. Marking the ticket resolved.