Bug 52828 - Can't open lease database /var/lib/dhcp/dhcpd.leases: No such file or directory
Can't open lease database /var/lib/dhcp/dhcpd.leases: No such file or directory
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: DHCP
UCS 5.0
Other Linux
: P5 normal (vote)
: UCS 5.0
Assigned To: Jürn Brodersen
Philipp Hahn
:
Depends on: 43688
Blocks:
  Show dependency treegraph
 
Reported: 2021-02-22 22:25 CET by Jürn Brodersen
Modified: 2021-05-25 16:03 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jürn Brodersen univentionstaff 2021-02-22 22:25:39 CET
Can't open lease database /var/lib/dhcp/dhcpd.leases: No such file or directory

/var/lib/dhcp/dhcpd.leases is not created on startup of isc-dhcp-server.service any more. Previously the file was created by the debian init script for dhcp.
Comment 1 Jürn Brodersen univentionstaff 2021-02-22 23:07:54 CET
[5.0-0 67ab1c89fb] Bug #52828: /var/lib/dhcp/dhcpd.leases needs to exists on startup
[5.0-0 8ba0ef30dd] Bug #52828: changelog
[5.0-0 cf137b5d6e] Bug #52828: changelog package

This should fix 01_base/09services_other_running as well.
Comment 2 Philipp Hahn univentionstaff 2021-03-02 15:19:20 CET
OK: 67ab1c89fb 8ba0ef30dd cf137b5d6e
OK: apt install univention-dhcp
OK: systemctl cat isc-dhcp-server.service

https://taiga.knut.univention.de/project/oschwieg-ucs-5/task/5457?kanban-status=54
Comment 3 Florian Best univentionstaff 2021-05-25 16:03:15 CEST
UCS 5.0 has been released:
 https://docs.software-univention.de/release-notes-5.0-0-en.html
 https://docs.software-univention.de/release-notes-5.0-0-de.html

If this error occurs again, please use "Clone This Bug".