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
>
Hey -- should have included that
ubuntu@peuchen:~$ apt-cache policy maas-dhcp dfsg-0ubuntu1~ ctools0 dfsg-0ubuntu1~ ctools0 dfsg-0ubuntu1~ ctools0 0 ubuntu- cloud.archive. canonical. com/ubuntu/ precise- updates/ cloud-tools/ main dpkg/status 2+bzr1373+ dfsg-0ubuntu1~ 12.04.2 0 archive. ubuntu. com/ubuntu/ precise- updates/ universe 1+bzr482+ dfsg-0ubuntu1 0 archive. ubuntu. com/ubuntu/ precise/universe amd64
maas-dhcp:
Installed: 1.4+bzr1551+
Candidate: 1.4+bzr1551+
Version table:
*** 1.4+bzr1551+
500 http://
amd64 Packages
100 /var/lib/
1.
500 http://
amd64 Packages
0.
500 http://
Packages
ubuntu@peuchen:~$
On Thu, Sep 26, 2013 at 3:18 PM, Andres Rodriguez
<email address hidden>wrote:
> Hi David! "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 /bugs.launchpad .net/bugs/ 1231693 /bugs.launchpad .net/maas/ +bug/1231693/ +subscriptions
>
> 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=
> > 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.
> >
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> maas-dhcp backport does not start on precise
>
> To manage notifications about this bug go to:
> https:/
>
--
David Britton <email address hidden>