[Bug 247583] Re: add option to start dnsmasq with a custom configuration file

2013-02-28 Thread Serge Hallyn
As has been discussed upstream, adding a generic custom conf file hides
useful information when debugging.  The dnsmasq features which need to
be tweaked should be explicitly supported in new xml bits.  Marking this
wontfix here, but hoping that the features will show up upstream soon.

** Changed in: libvirt (Ubuntu)
   Status: Triaged = Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in Ubuntu.
https://bugs.launchpad.net/bugs/247583

Title:
  add option to start dnsmasq with a custom configuration file

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/247583/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 247583] Re: add option to start dnsmasq with a custom configuration file

2013-02-28 Thread Serge Hallyn
As has been discussed upstream, adding a generic custom conf file hides
useful information when debugging.  The dnsmasq features which need to
be tweaked should be explicitly supported in new xml bits.  Marking this
wontfix here, but hoping that the features will show up upstream soon.

** Changed in: libvirt (Ubuntu)
   Status: Triaged = Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/247583

Title:
  add option to start dnsmasq with a custom configuration file

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/247583/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 247583] Re: add option to start dnsmasq with a custom configuration file

2013-02-28 Thread TJ
I'm contributing new dhcp relay='(yes|no)'/ functionality upstream,
and the state of the current upstream is such that it writes its own
conffile for dnsmasq based on an expanding range of settings taken from
the network XML definition.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/247583

Title:
  add option to start dnsmasq with a custom configuration file

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/247583/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 247583] Re: add option to start dnsmasq with a custom configuration file

2013-02-28 Thread Serge Hallyn
Awesome, thanks very much.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/247583

Title:
  add option to start dnsmasq with a custom configuration file

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/247583/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 247583] Re: add option to start dnsmasq with a custom configuration file

2013-02-24 Thread TJ
I needed the same flexibility on my network for several libvirtd
instances each running its own dnsmasq and requiring some complex
dnsmasq configuration to meld into the LAN configuration.

I added two new tags to the network XML: conffile and
logfacility:

  conffile name='/etc/libvirt/qemu/dnsmasq.conf'/
  logfacility name='/var/log/libvirt-dnsmasq.log'/

If they are defined then their name attribute is passed to dnsmaq:

/usr/sbin/dnsmasq -u libvirt-dnsmasq --strict-order --bind-interfaces
--domain lan.domain.tld --pid-file=/var/run/libvirt/network/default.pid
--conf-file=/etc/libvirt/qemu/dnsmasq.conf --log-facility=/var/log
/libvirt-dnsmasq.log --except-interface lo --listen-address 10.254.1.1
--dhcp-range 10.254.1.101,10.254.1.254 --dhcp-
leasefile=/var/lib/libvirt/dnsmasq/default.leases --dhcp-lease-max=154
--dhcp-no-override --expand-hosts

which logs to:

$ sudo tail -f /var/log/libvirt-dnsmasq.log 
Feb 24 09:32:16 dnsmasq[4595]: started, version 2.59 cachesize 150
Feb 24 09:32:16 dnsmasq[4595]: compile time options: IPv6 GNU-getopt DBus i18n 
DHCP TFTP conntrack IDN
Feb 24 09:32:16 dnsmasq-dhcp[4595]: DHCP, IP range 10.254.1.101 -- 
10.254.1.254, lease time 1h
Feb 24 09:32:16 dnsmasq[4595]: using nameserver 10.254.251.1#53
Feb 24 09:32:16 dnsmasq[4595]: read /etc/hosts - 9 addresses
Feb 24 09:34:56 dnsmasq-dhcp[4595]: DHCPDISCOVER(virbr1) 10.254.1.244 
52:54:00:75:df:89 
Feb 24 09:34:56 dnsmasq-dhcp[4595]: DHCPOFFER(virbr1) 10.254.1.244 
52:54:00:75:df:89 
Feb 24 09:34:56 dnsmasq-dhcp[4595]: DHCPREQUEST(virbr1) 10.254.1.244 
52:54:00:75:df:89 
Feb 24 09:34:56 dnsmasq-dhcp[4595]: DHCPACK(virbr1) 10.254.1.244 
52:54:00:75:df:89 vm-ubuntu-raring-playpen

The attached patch is  for Ubuntu 12.04.2 Precise's libvirt
0.9.8-2ubuntu17.7 but should be usable for later releases too.

** Patch added: sourcecode: diff to add --conf-file=... and --log-facility=... 
to libvirt 0.9.8-2ubuntu17.7
   
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/247583/+attachment/3544491/+files/dnsmasq-conf%2Blog.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/247583

Title:
  add option to start dnsmasq with a custom configuration file

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/247583/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 247583] Re: add option to start dnsmasq with a custom configuration file

2013-02-24 Thread Ubuntu Foundations Team Bug Bot
The attachment sourcecode: diff to add --conf-file=... and --log-
facility=... to libvirt 0.9.8-2ubuntu17.7 of this bug report has been
identified as being a patch.  The ubuntu-reviewers team has been
subscribed to the bug report so that they can review the patch.  In the
event that this is in fact not a patch you can resolve this situation by
removing the tag 'patch' from the bug report and editing the attachment
so that it is not flagged as a patch.  Additionally, if you are member
of the ubuntu-reviewers team please also unsubscribe the team from this
bug report.

[This is an automated message performed by a Launchpad user owned by
Brian Murray.  Please contact him regarding any issues with the action
taken in this bug report.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/247583

Title:
  add option to start dnsmasq with a custom configuration file

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/247583/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 247583] Re: add option to start dnsmasq with a custom configuration file

2012-08-07 Thread Bruno Medeiros
 Since libvirt 0.4.5 you can define the DNS domain in the network XML 
 definition. See [1] for the domain element.
 [1] http://www.libvirt.org/formatnetwork.html#elementsConnect

True, but don't forget to issue a 'virsh net-destroy xx' before edit
the network, of course using 'virsh net-edit xxx', and a 'virsh net-
start xx' after. Otherwise, your edition will be ignored. I wasted
several hours trying to edit the file manually and after trying to use
'virsh net-edit' without stopping it first.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/247583

Title:
  add option to start dnsmasq with a custom configuration file

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/247583/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 247583] Re: add option to start dnsmasq with a custom configuration file

2010-09-08 Thread E.T. Anderson
Does the network XML allow for MX records? I'd like to have an email
server VM, but email servers need MX records, and I didn't see a way to
specify that in the documentation linked above.

-- 
add option to start dnsmasq with a custom configuration file
https://bugs.launchpad.net/bugs/247583
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 247583] Re: add option to start dnsmasq with a custom configuration file

2010-09-08 Thread E.T. Anderson
Does the network XML allow for MX records? I'd like to have an email
server VM, but email servers need MX records, and I didn't see a way to
specify that in the documentation linked above.

-- 
add option to start dnsmasq with a custom configuration file
https://bugs.launchpad.net/bugs/247583
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 247583] Re: add option to start dnsmasq with a custom configuration file

2010-06-10 Thread photron
Since libvirt 0.4.5 you can define the DNS domain in the network XML
definition. See [1] for the domain element.

[1] http://www.libvirt.org/formatnetwork.html#elementsConnect

-- 
add option to start dnsmasq with a custom configuration file
https://bugs.launchpad.net/bugs/247583
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 247583] Re: add option to start dnsmasq with a custom configuration file

2010-06-10 Thread photron
Since libvirt 0.4.5 you can define the DNS domain in the network XML
definition. See [1] for the domain element.

[1] http://www.libvirt.org/formatnetwork.html#elementsConnect

-- 
add option to start dnsmasq with a custom configuration file
https://bugs.launchpad.net/bugs/247583
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 247583] Re: add option to start dnsmasq with a custom configuration file

2010-01-26 Thread GoofY
Oohps forgot to mention I'm using Ubuntu Lucid (10.04, new long term
support)

-- 
add option to start dnsmasq with a custom configuration file
https://bugs.launchpad.net/bugs/247583
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 247583] Re: add option to start dnsmasq with a custom configuration file

2010-01-26 Thread GoofY
Oohps forgot to mention I'm using Ubuntu Lucid (10.04, new long term
support)

-- 
add option to start dnsmasq with a custom configuration file
https://bugs.launchpad.net/bugs/247583
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 247583] Re: add option to start dnsmasq with a custom configuration file

2010-01-23 Thread GoofY
Problem in my case is, I've got a DHCP server, bridged networking which is 
working when not enabling LIBVIRT.
After enabling LIBVIRT for some reason, I can't seem to find out why, my DHCP 
server stops serving IP's  configs for my clients.
After a reboot my DHCP server works for about 5 min,  then stops. In the 
logging I can't find any reasons why it stops.

So it would be nice to would be nice to specify that LIBVIRT (read
DNSMASQ) only binds  listens to the VIRBR*  not to the rest...

Below is my interfaces conf.

# The loopback network interface
auto lo
iface lo inet loopback

# The first network interface
auto eth0
iface eth0 inet dhcp

# The second network interface
auto eth1
iface eth1 inet static
address 192.168.192.1
netmask 255.255.255.0

# The third network interface
auto eth2
iface eth2 inet manual

# Bridge
auto br0
iface br0 inet static
address 172.18.172.1
network 172.18.172.0
netmask 255.255.255.0
broadcast 172.16.172.255
bridge_ports eth2
bridge_fd 9
bridge_hello 2
bridge_maxage 12
bridge_stp off

-- 
add option to start dnsmasq with a custom configuration file
https://bugs.launchpad.net/bugs/247583
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 247583] Re: add option to start dnsmasq with a custom configuration file

2010-01-23 Thread GoofY
After trying the solution to stop dhcp from starting I still have the
same issue  dhpc is still started (with libvrirt)

ps aux|grep dns gives this:
nobody2048  0.0  0.0  21404   904 ?S17:07   0:00 dnsmasq 
--strict-order --bind-interfaces 
--pid-file=/var/run/libvirt/network/default.pid --conf-file=  --listen-address 
192.168.122.1 --except-interface lo --dhcp-range 192.168.122.2,192.168.122.254

So appearantly i do something wrong...
XML default looks like this:
network
  namedefault/name
  uuidfa166c0d-ad71-5046-9915-18ccd31f5be5/uuid
  forward mode='nat'/
  bridge name='virbr0' stp='on' delay='0' /
  ip address='192.168.122.1' netmask='255.255.255.0' /
/network

-- 
add option to start dnsmasq with a custom configuration file
https://bugs.launchpad.net/bugs/247583
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 247583] Re: add option to start dnsmasq with a custom configuration file

2010-01-23 Thread GoofY
Problem in my case is, I've got a DHCP server, bridged networking which is 
working when not enabling LIBVIRT.
After enabling LIBVIRT for some reason, I can't seem to find out why, my DHCP 
server stops serving IP's  configs for my clients.
After a reboot my DHCP server works for about 5 min,  then stops. In the 
logging I can't find any reasons why it stops.

So it would be nice to would be nice to specify that LIBVIRT (read
DNSMASQ) only binds  listens to the VIRBR*  not to the rest...

Below is my interfaces conf.

# The loopback network interface
auto lo
iface lo inet loopback

# The first network interface
auto eth0
iface eth0 inet dhcp

# The second network interface
auto eth1
iface eth1 inet static
address 192.168.192.1
netmask 255.255.255.0

# The third network interface
auto eth2
iface eth2 inet manual

# Bridge
auto br0
iface br0 inet static
address 172.18.172.1
network 172.18.172.0
netmask 255.255.255.0
broadcast 172.16.172.255
bridge_ports eth2
bridge_fd 9
bridge_hello 2
bridge_maxage 12
bridge_stp off

-- 
add option to start dnsmasq with a custom configuration file
https://bugs.launchpad.net/bugs/247583
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 247583] Re: add option to start dnsmasq with a custom configuration file

2010-01-23 Thread GoofY
After trying the solution to stop dhcp from starting I still have the
same issue  dhpc is still started (with libvrirt)

ps aux|grep dns gives this:
nobody2048  0.0  0.0  21404   904 ?S17:07   0:00 dnsmasq 
--strict-order --bind-interfaces 
--pid-file=/var/run/libvirt/network/default.pid --conf-file=  --listen-address 
192.168.122.1 --except-interface lo --dhcp-range 192.168.122.2,192.168.122.254

So appearantly i do something wrong...
XML default looks like this:
network
  namedefault/name
  uuidfa166c0d-ad71-5046-9915-18ccd31f5be5/uuid
  forward mode='nat'/
  bridge name='virbr0' stp='on' delay='0' /
  ip address='192.168.122.1' netmask='255.255.255.0' /
/network

-- 
add option to start dnsmasq with a custom configuration file
https://bugs.launchpad.net/bugs/247583
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 247583] Re: add option to start dnsmasq with a custom configuration file

2010-01-23 Thread GoofY
after some trying I just stuck with killing the dnsmasq process  (re)starting 
the dhcp server via a little script.
In rc.local I added this script so it will be carried out at the end of 
everything... Not a real nice solution but it's working...
The sleeps are for some reason necessary 

#!/bin/bash
echo wait 10sec
sleep 10
PROCS=dnsmasq
#
# Get pids 
PIDS=$(awk -F: '{print}' /var/run/libvirt/network/default.pid)
# Now kill em
echo Killing $PROCS process with PID $PIDS ...
kill -9 $PIDS
echo wait 10sec
sleep 10
echo dhcp start
/etc/init.d/dhcp3-server restart

-- 
add option to start dnsmasq with a custom configuration file
https://bugs.launchpad.net/bugs/247583
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 247583] Re: add option to start dnsmasq with a custom configuration file

2009-10-06 Thread Chuck Short
** Changed in: libvirt (Ubuntu)
   Status: New = Triaged

-- 
add option to start dnsmasq with a custom configuration file
https://bugs.launchpad.net/bugs/247583
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 247583] Re: add option to start dnsmasq with a custom configuration file

2009-10-06 Thread Chuck Short
** Changed in: libvirt (Ubuntu)
   Status: New = Triaged

-- 
add option to start dnsmasq with a custom configuration file
https://bugs.launchpad.net/bugs/247583
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 247583] Re: add option to start dnsmasq with a custom configuration file

2009-06-09 Thread Terence
dnsmasq started by libvirtd contains --conf-file= argument which
prevents dnsmasq to read its default config file in /etc/dnsmasq.conf.
It is simple and clean to remove this argument to allow modification of
dnsmasq behavior. In my own setting, I need dnsmasq to send a DNS domain
to the guests to configure their /etc/resolv.conf properly.

I also tried --domain=... argument in the command-line. However, it is
not a very clean method to wrap dnsmasq by a script.

-- 
add option to start dnsmasq with a custom configuration file
https://bugs.launchpad.net/bugs/247583
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 247583] Re: add option to start dnsmasq with a custom configuration file

2008-09-26 Thread Soren Hansen
On Thu, Sep 18, 2008 at 08:34:37PM -, Mario Manno wrote:
 I already have a bridge, a dhcp server and a dns cache. Do I really have
 to dpkg-divert the dnsmasq binary to stop libvirtd from starting it?

Um.. No? You can just disable the dhcp server. Try this:

$ virsh net-dumpxml default  default-net.xml

Use your favourite editor to remove the four lines starting with dhcp
and ending with /ip, and change the preceding line from

   ip address='192.168.122.1' netmask='255.255.255.0'

to

   ip address='192.168.122.1' netmask='255.255.255.0' /

and finally do:

$ virsh net-define default-net.xml

Next time libvirtd starts, it won't start a DHCP server for you. I'm not
sure why you want to do this though. dnsmasq shouldn't come into play
when you're using bridged networking.

-- 
Soren Hansen   | 
Virtualisation specialist  | Ubuntu Server Team
Canonical Ltd. | http://www.ubuntu.com/

-- 
add option to start dnsmasq with a custom configuration file
https://bugs.launchpad.net/bugs/247583
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 247583] Re: add option to start dnsmasq with a custom configuration file

2008-09-18 Thread Mario Manno
I already have a bridge, a dhcp server and a dns cache. Do I really have
to dpkg-divert the dnsmasq binary to stop libvirtd from starting it?

-- 
add option to start dnsmasq with a custom configuration file
https://bugs.launchpad.net/bugs/247583
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 247583] Re: add option to start dnsmasq with a custom configuration file

2008-09-18 Thread Mathias Gug
Hi Mario,

On Thu, Sep 18, 2008 at 08:34:37PM -, Mario Manno wrote:
 I already have a bridge, a dhcp server and a dns cache. Do I really have
 to dpkg-divert the dnsmasq binary to stop libvirtd from starting it?

If you have a bridge and you're using it for your guest network libvirt
should not start dnsmasq.

-- 
Mathias Gug
Ubuntu Developer  http://www.ubuntu.com

-- 
add option to start dnsmasq with a custom configuration file
https://bugs.launchpad.net/bugs/247583
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 247583] Re: add option to start dnsmasq with a custom configuration file

2008-07-11 Thread Soren Hansen
Will never ever happen. :) By design. Allowing you to pass arbitrary
options to kvm, iptables and/or dnsmasq would result in an unknown and
unmanagable environment.

If you really, truly want this, you should replace dnsmasq with a
wrapper that uses your configuration file.


I'm curious what sort of options you want to add, though? Should we extend the 
network description xml to be able to describe it?

-- 
add option to start dnsmasq with a custom configuration file
https://bugs.launchpad.net/bugs/247583
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 247583] Re: add option to start dnsmasq with a custom configuration file

2008-07-11 Thread Mathias Gug
On Fri, Jul 11, 2008 at 01:41:43PM -, Soren Hansen wrote:
 Will never ever happen. :) By design. Allowing you to pass arbitrary
 options to kvm, iptables and/or dnsmasq would result in an unknown and
 unmanagable environment.
 
 If you really, truly want this, you should replace dnsmasq with a
 wrapper that uses your configuration file.
 
 
 I'm curious what sort of options you want to add, though? Should we extend 
 the network description xml to be able to describe it?

I wanted to be able to set a domain name for my guests on my vm network
so that dnsmasq can properly resolve dns queries from the host.

Another option would be to enable the tftp server to do pxe booting on a
virtual network.

I've looked into doing that by extending the network description xml,
but it required too much work. That's why I thought about starting
dnsmasq with an extra configuration file. Being able to specify an extra
configuration file would help in customizing the network configuration.
But as you pointed out it can lead to an unknown/unmanagable
environment. 

I would consider this as an advanced feature that would help customize
the dnsmasq setup without having to change the network description xml.

-- 
Mathias Gug
Ubuntu Developer  http://www.ubuntu.com

-- 
add option to start dnsmasq with a custom configuration file
https://bugs.launchpad.net/bugs/247583
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs