Comment 1 for bug 697239

Revision history for this message
Steve Beattie (sbeattie) wrote : Re: [Bug 697239] Re: dnsmasq profile doesn't work with libvirt

On Tue, Jan 04, 2011 at 07:03:41PM -0000, Jamie Strandboge wrote:
> + Also need to add capability net_admin. NET_ADMIN is required for using
> + as a DHCP server. May need to add net_raw later for ICMP ping checks.
> + See the FAQ in the dnsmasq source for details.

I haven't seemed to need net_raw when using dnsmasq as a dhcp server;
however, when enabling the tftpd server functionality, I did need to add
the net_bind_service capability.

Also for supporting the latter, a tunable/dnsmasq containing a definition
for @{TFTPROOT} and adding:

  @{TFTPROOT}/ r,
  @{TFTPROOT}/** r,

may be useful.

If the default configuration file is to be believed, the default
tftp-root is /var/ftpd (I use a non-standard location locally).

--
Steve Beattie
<email address hidden>
http://NxNW.org/~steve/