Syslog suggests problem with MAAS DHCP lease file creation

Bug #1302962 reported by Mark Shuttleworth
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
maas (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Observed this in garage MAAS syslog:

Apr 5 08:50:18 maas dhcpd: Can't create new lease file: Permission denied

Where would those leases be created, and what are the consequences for not having them?

Revision history for this message
Julian Edwards (julian-edwards) wrote :

Urgh, I've never seen that before. Packaging is responsible for ensuring directory permissions so I'll re-target.

no longer affects: maas
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

I saw this too yesterday. The dhcpd.leases file is owned by root:root, the dhcpd daemon runs as dhcp (which isn't a problem as long as it has an open file handle), but the directory /var/lib/maas/dhcp is root:root.

I changed the directory permissions to dhcpd:dhcpd and restarted maas's dhcpd, but a day later it's all back to root:root.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in maas (Ubuntu):
status: New → Confirmed
tags: added: landscape
Revision history for this message
Zoltan Arnold Nagy (zoltan) wrote :

This is still the case in the latest 1.9 release and seeing the issues.

David Britton (dpb)
tags: added: kanban-cross-team
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.