Merge lp:~jtv/maas/packaging-custom-dhcpd into lp:~maas-maintainers/maas/packaging
Proposed by
Jeroen T. Vermeulen
Status: | Merged |
---|---|
Approved by: | Jeroen T. Vermeulen |
Approved revision: | no longer in the source branch. |
Merged at revision: | 90 |
Proposed branch: | lp:~jtv/maas/packaging-custom-dhcpd |
Merge into: | lp:~maas-maintainers/maas/packaging |
Diff against target: |
72 lines (+58/-1) 2 files modified
debian/maas-dhcp.apparmor (+1/-1) debian/maas-dhcp.maas-dhcp-server.upstart (+57/-0) |
To merge this branch: | bzr merge lp:~jtv/maas/packaging-custom-dhcpd |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Scott Moser (community) | Approve | ||
Review via email: mp+124594@code.launchpad.net |
Commit message
Upstart script for custom instance of dhcpd, using custom config, pidfile, leases file, and interfaces config so that we can dictate which interfaces it should listen on.
The interfaces config is to be written into /var/lib/
Description of the change
Pre-imp (ages ago now) with roaksoax, who told me what name this file needs to have in order to get installed properly.
Jeroen
To post a comment you must log in.
This will not work.
As I showed at https:/ /code.launchpad .net/~smoser/ maas/packaging. lp1049177/ +merge/ 124083/ comments/ 267072 and /etc/init/ isc-dhcp- server. conf, the permissions on the leases file must be root:root and must be or the daemon will fail due to apparmor restrictions.
Additionally, you can avoid a fork and have the same functionality with: FILE}"
read INTERFACES < "${INTERFACES_