Comment 2 for bug 1231693

Revision history for this message
David Britton (dpb) wrote : Re: [Bug 1231693] [NEW] maas-dhcp backport does not start on precise

Hey -- should have included that

ubuntu@peuchen:~$ apt-cache policy maas-dhcp
maas-dhcp:
  Installed: 1.4+bzr1551+dfsg-0ubuntu1~ctools0
  Candidate: 1.4+bzr1551+dfsg-0ubuntu1~ctools0
  Version table:
 *** 1.4+bzr1551+dfsg-0ubuntu1~ctools0 0
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu/precise-updates/cloud-tools/main
amd64 Packages
        100 /var/lib/dpkg/status
     1.2+bzr1373+dfsg-0ubuntu1~12.04.2 0
        500 http://archive.ubuntu.com/ubuntu/ precise-updates/universe
amd64 Packages
     0.1+bzr482+dfsg-0ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ precise/universe amd64
Packages
ubuntu@peuchen:~$

On Thu, Sep 26, 2013 at 3:18 PM, Andres Rodriguez
<email address hidden>wrote:

> 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):
> >
> > 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="root:root"
> > dhcpd_owner_opts="-user dhcpd -group dhcpd"
> > else
> > owner_group="root:root"
> > dhcpd_owner_opts="-user dhcpd -group dhcpd"
> > fi
> >
> > Which seems to cause this error:
> >
> > root@peuchen:/var/log/upstart# /usr/sbin/dhcpd -f -d -4 -pf
> > /run/maas/dhcp/dhcpd.pid -cf /etc/maas/dhcpd.conf -lf
> > /var/lib/maas/dhcp/dhcpd.leases eth0
> > Internet Systems Consortium DHCP Server 4.2.4
> > Copyright 2004-2012 Internet Systems Consortium.
> > All rights reserved.
> > For info, please visit https://www.isc.org/software/dhcp/
> > Can't open /var/lib/maas/dhcp/dhcpd.leases for append.
> >
> > 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://bugs.launchpad.net/bugs/1231693
> > You received this bug notification because you are subscribed to the bug
> > report.
> >
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1231693
>
> Title:
> maas-dhcp backport does not start on precise
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/maas/+bug/1231693/+subscriptions
>

--
David Britton <email address hidden>