Bug #10891
closed
Captive Portal related files are not deleted after deleting CP zone in WebGUI
Added by Viktor Gurov about 4 years ago.
Updated about 4 years ago.
Affected Version:
2.4.5-p1
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
- Status changed from New to Pull Request Review
- Target version set to 2.5.0
- Status changed from Pull Request Review to Feedback
- Assignee set to Renato Botelho
- % Done changed from 0 to 100
PR has been merged. Thanks!
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?
- Status changed from Feedback to In Progress
- Assignee changed from Renato Botelho to Viktor Gurov
Viktor, can you please check this out?
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?
Fix:
https://github.com/pfsense/pfsense/pull/4477
- Status changed from In Progress to Feedback
PR has been merged. Thanks!
- 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.
Also available in: Atom
PDF