Self sign-up has been disabled due to increased spam activity. If you want to get access, please send an email to a project owner (preferred) or at gitlab(at)nic(dot)cz. We apologize for the inconvenience.
Knot doesn’t delete zonefile after de-catalog member zone
After de-catalog member zone there is a message „zone purged“ in logfile, but even if zonefile-sync is default or explicitly set to 0, zonefile is not deleted.
After readd member to catalog, the old zonefile is loaded with old serial. We've noticed it in Knot 3.1.8, but probbably older version are affected too.
Designs
Child items
...
Show closed items
Linked items
0
Link issues together to show that they're related.
Learn more.
Hello @velechac, I'm unable to reproduce your problem, both in a master and in a slave. When a member zone is de-cataloged, it's zonefile is always removed. Can't you have a conflict with zonefile ownership or permissions?
Unfortunately no progress with 3.2 on Focal. I have tried to install Knot 3.1.8 on Bullseye and there is the same problem.
We don't use apparmor.
During the test I purged manually all zone files and restarted Knot. Knot bootstrapped all of zones and after that I removed some of them from catalog.
OT:
Please add directive LogsDirectory=knot in your systemd service for Knot 3.2. Due to TemporaryFileSystem=/run:ro /var:ro we cannot use log file under /var/log/knot.
error: failed to open log, file '/var/log/knot/knot.log' (not exists)
As for the reported issue, the zonefile isn't deleted, there is zone purged in the log and you don't see any related errors in the Knot log (like failed to purge zone file) even with 3.2?