maas-dhcp backport does not start on precise
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Invalid
|
High
|
Unassigned | ||
Ubuntu Cloud Archive |
Fix Released
|
High
|
Unassigned | ||
maas (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
The upstart config contains this bit:
# As of Quantal, the leases file must be owned by root:root (even though
# the daemon will run under an unprivileged user).
# In Precise, ownership was supposed to be dhcpd:dhcpd.
mkdir -p $LEASES_DIR
if [ "$RELEASE" = "precise" ]; then
else
fi
Which seems to cause this error:
root@peuchen:
Internet Systems Consortium DHCP Server 4.2.4
Copyright 2004-2012 Internet Systems Consortium.
All rights reserved.
For info, please visit https:/
Can't open /var/lib/
If I remove the custom "precise" clause from that if, things start up fine.
Related branches
- Andres Rodriguez (community): Approve
- Launchpad code reviewers: Pending requested
-
Diff: 55 lines (+9/-12)2 files modifieddebian/control (+1/-1)
debian/maas-dhcp.maas-dhcp-server.upstart (+8/-11)
- Andres Rodriguez (community): Disapprove
- Launchpad code reviewers: Pending requested
-
Diff: 102 lines (+56/-26)1 file modifieddebian/maas-dhcp.maas-dhcp-server.upstart (+56/-26)
tags: | added: theme-oil |
Changed in maas: | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in cloud-archive: | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in maas (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
tags: | added: patch |
Changed in maas: | |
status: | Confirmed → Invalid |
Changed in cloud-archive: | |
status: | Confirmed → Fix Released |
Changed in maas (Ubuntu): | |
status: | Confirmed → Fix Released |
Hi David!
Can you let us know what version of isc-dhcp are you using? Where did you
install Maas from?
On Sep 26, 2013 5:12 PM, "Launchpad Bug Tracker" <email address hidden>
wrote:
> You have been subscribed to a public bug by David Britton (davidpbritton): "root:root" opts="- user dhcpd -group dhcpd" "root:root" opts="- user dhcpd -group dhcpd" /var/log/ upstart# /usr/sbin/dhcpd -f -d -4 -pf dhcp/dhcpd. pid -cf /etc/maas/ dhcpd.conf -lf maas/dhcp/ dhcpd.leases eth0 /www.isc. org/software/ dhcp/ maas/dhcp/ dhcpd.leases for append. /bugs.launchpad .net/bugs/ 1231693
>
> The upstart config contains this bit:
>
>
> # As of Quantal, the leases file must be owned by root:root (even
> though
> # the daemon will run under an unprivileged user).
> # In Precise, ownership was supposed to be dhcpd:dhcpd.
> mkdir -p $LEASES_DIR
> if [ "$RELEASE" = "precise" ]; then
> owner_group=
> dhcpd_owner_
> else
> owner_group=
> dhcpd_owner_
> fi
>
> Which seems to cause this error:
>
> root@peuchen:
> /run/maas/
> /var/lib/
> Internet Systems Consortium DHCP Server 4.2.4
> Copyright 2004-2012 Internet Systems Consortium.
> All rights reserved.
> For info, please visit https:/
> Can't open /var/lib/
>
> If I remove the custom "precise" clause from that if, things start up
> fine.
>
> ** Affects: maas
> Importance: Undecided
> Status: New
>
> --
> maas-dhcp backport does not start on precise
> https:/
> You received this bug notification because you are subscribed to the bug
> report.
>