[Bug 1046397] [NEW] The DHCP config file does not get written.
Raphaël Badin
1046397 at bugs.launchpad.net
Wed Sep 5 15:51:01 UTC 2012
Public bug reported:
When masternodegroup.set_up_dhcp() is called, the script /usr/sbin/maas-
provision is used to write the DHCP configuration. That script is run
using sudo in order to be able to write the config into
/etc/dhcp/dhcpd.conf.
The sudo rule to allow that sudo command to be run is missing from
debian/extras/99-maas-sudoers: The complete command is: "sudo maas-
provision atomic-write --filename /etc/dhcp/dhcpd.conf --mode 744" so I
suggest adding something like: "maas ALL= NOPASSWD: /usr/sbin/maas-
provision" in debian/extras/99-maas-sudoers. (note that I've tested that
fix manually and it solves the problem)
** Affects: maas (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to maas in Ubuntu.
https://bugs.launchpad.net/bugs/1046397
Title:
The DHCP config file does not get written.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1046397/+subscriptions
More information about the Ubuntu-server-bugs
mailing list