| Summary: | dhcp-leases.db does not exist | ||
|---|---|---|---|
| Product: | IPFire | Reporter: | Stefan Schantl <stefan.schantl> |
| Component: | --- | Assignee: | Assigned to nobody - feel free to grab it and work on it <nobody> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | - Unknown - | ||
| Priority: | - Unknown - | CC: | adolf.belka, ag, michael.tremer |
| Version: | 2 | ||
| Hardware: | unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | |||
| Bug Blocks: | 13972 | ||
|
Description
Stefan Schantl
2026-05-23 13:10:26 UTC
This is correct, and somewhat intentional. At the moment, I am not sure when this database should be created. At build time so it is always there? In my test case, /var/lib/knot-resolver/leases.db did exist, but it was owned root:root 0644 while /var/lib/knot-resolver was root:root 0755. Knot Resolver could not use the DB correctly and leases.lua produced sql_fwd/sql_rev nil errors. After chowning /var/lib/knot-resolver and leases.db to knot-resolver:knot-resolver, DHCP lease A/PTR lookups worked and remained working after reboot. This may be the same root cause as bug 13983 rather than a pure “file missing” case. Core Update 203 has been released:
> https://www.ipfire.org/blog/ipfire-2-29-core-update-203-released
|