Re: [libvirt] [PATCH] bridge_driver: use conffile for dnsmasq if it exists

2011-01-06 Thread Daniel P. Berrange
On Wed, Jan 05, 2011 at 09:54:53PM +0100, Paweł Krześniak wrote: 2011/1/4 Daniel P. Berrange berra...@redhat.com: NB, there was a discussion with the dnsmsaq maintainer a few months back now about changing the dnsmasq architecture such that we only need one dnsmasq process. is this

Re: [libvirt] [PATCH] bridge_driver: use conffile for dnsmasq if it exists

2011-01-05 Thread Paweł Krześniak
2011/1/4 Daniel P. Berrange berra...@redhat.com: NB, there was a discussion with the dnsmsaq maintainer a few months back now about changing the dnsmasq architecture such that we only need one dnsmasq process. is this consistent with Laine's arguments about radvd? read last paragraph of this:

Re: [libvirt] [PATCH] bridge_driver: use conffile for dnsmasq if it exists

2011-01-05 Thread Paweł Krześniak
2011/1/4 Daniel P. Berrange berra...@redhat.com: On Wed, Dec 22, 2010 at 10:09:54AM +0100, Paweł Krześniak wrote: I want to create isolated environment for guests - they will be connected to one bridge and will use private DNS data. No single packet from this isolated network can reach

Re: [libvirt] [PATCH] bridge_driver: use conffile for dnsmasq if it exists

2011-01-04 Thread Daniel P. Berrange
On Tue, Dec 21, 2010 at 09:47:10PM -0700, Eric Blake wrote: On 12/21/2010 03:40 PM, Paweł Krześniak wrote: By default dnsmasq is spawned with option --conf-file= which disables reading of global configuration file -- this is fine for most situations. In fact, the libvirt policy is that it

Re: [libvirt] [PATCH] bridge_driver: use conffile for dnsmasq if it exists

2011-01-04 Thread Daniel P. Berrange
On Thu, Dec 23, 2010 at 09:53:57AM -0700, Eric Blake wrote: On 12/23/2010 06:50 AM, Paweł Krześniak wrote: On Wed, Dec 22, 2010 at 16:50, Laine Stump la...@laine.org wrote: I agree with Eric that this should be discussed with Dan Berrange and/or Daniel Veillard before comitting anything to

Re: [libvirt] [PATCH] bridge_driver: use conffile for dnsmasq if it exists

2011-01-04 Thread Daniel P. Berrange
On Wed, Dec 22, 2010 at 10:09:54AM +0100, Paweł Krześniak wrote: 2010/12/22 Eric Blake ebl...@redhat.com: On 12/21/2010 03:40 PM, Paweł Krześniak wrote: This patch adds possibility to run customized DNS/DHCP environment, by spawning dnsmasq with alternative configuration file if such file

Re: [libvirt] [PATCH] bridge_driver: use conffile for dnsmasq if it exists

2010-12-27 Thread Paweł Krześniak
2010/12/23 Eric Blake ebl...@redhat.com: Rather than tying the element name to our current choice of program, can we come up with something more generic? network  namexxxnet/name  ipv4routing/usr/local/bin/my-dnsmasq/ipv4routing  ipv6routing/usr/local/bin/my-radvd/ipv6routing /network

Re: [libvirt] [PATCH] bridge_driver: use conffile for dnsmasq if it exists

2010-12-23 Thread Paweł Krześniak
On Wed, Dec 22, 2010 at 16:50, Laine Stump la...@laine.org wrote: I agree with Eric that this should be discussed with Dan Berrange and/or Daniel Veillard before comitting anything to the tree (definitely it needs doing in some manner, though). Another idea came to my mind: Following logic

Re: [libvirt] [PATCH] bridge_driver: use conffile for dnsmasq if it exists

2010-12-23 Thread Eric Blake
On 12/23/2010 06:50 AM, Paweł Krześniak wrote: On Wed, Dec 22, 2010 at 16:50, Laine Stump la...@laine.org wrote: I agree with Eric that this should be discussed with Dan Berrange and/or Daniel Veillard before comitting anything to the tree (definitely it needs doing in some manner, though).

Re: [libvirt] [PATCH] bridge_driver: use conffile for dnsmasq if it exists

2010-12-22 Thread Paweł Krześniak
2010/12/22 Eric Blake ebl...@redhat.com: On 12/21/2010 03:40 PM, Paweł Krześniak wrote: This patch adds possibility to run customized DNS/DHCP environment, by spawning dnsmasq with alternative configuration file if such file exists. This allows you to set any parameter described in dnsmasq(8).

Re: [libvirt] [PATCH] bridge_driver: use conffile for dnsmasq if it exists

2010-12-22 Thread Laine Stump
On 12/22/2010 04:09 AM, Paweł Krześniak wrote: 2010/12/22 Eric Blakeebl...@redhat.com: On 12/21/2010 03:40 PM, Paweł Krześniak wrote: This patch adds possibility to run customized DNS/DHCP environment, by spawning dnsmasq with alternative configuration file if such file exists. This allows you

[libvirt] [PATCH] bridge_driver: use conffile for dnsmasq if it exists

2010-12-21 Thread Paweł Krześniak
By default dnsmasq is spawned with option --conf-file= which disables reading of global configuration file -- this is fine for most situations. This patch adds possibility to run customized DNS/DHCP environment, by spawning dnsmasq with alternative configuration file if such file exists. This

Re: [libvirt] [PATCH] bridge_driver: use conffile for dnsmasq if it exists

2010-12-21 Thread Eric Blake
On 12/21/2010 03:40 PM, Paweł Krześniak wrote: By default dnsmasq is spawned with option --conf-file= which disables reading of global configuration file -- this is fine for most situations. In fact, the libvirt policy is that it is essential to NOT allow the use of global configuration files -