[Bug 526386] Re: dnsmasq exits using --interface if the interface does not exist yet

2010-02-25 Thread Thierry Carrez
Looking at the discussion this appears to be by design, so I propose we keep it as Wishlist at that point. ** Changed in: dnsmasq (Ubuntu) Importance: Undecided = Wishlist ** Changed in: dnsmasq (Ubuntu) Status: New = Confirmed -- dnsmasq exits using --interface if the interface does

Re: [Bug 526386] Re: dnsmasq exits using --interface if the interface does not exist yet

2010-02-24 Thread Simon Kelley
Emmet Hikory wrote: Actually, I filed this bug more as a result of the comments in the libvirt code, which indicate that at least one user of dnsmasq found it unable to accomplish an operation that seemed to make sense based on the documentation with a particular corner-case configuration.

[Bug 526386] Re: dnsmasq exits using --interface if the interface does not exist yet

2010-02-23 Thread Emmet Hikory
From a brief look at the code, it appears that the relevant section is in src/dnsmasq.c : 169-189. In this mode, if unable to access an interface because it doesn't exist, dnsmasq should poll the interface for a configurable timeout to see if it becomes available before quitting. As there may be

Re: [Bug 526386] Re: dnsmasq exits using --interface if the interface does not exist yet

2010-02-23 Thread Simon Kelley
Emmet Hikory wrote: From a brief look at the code, it appears that the relevant section is in src/dnsmasq.c : 169-189. In this mode, if unable to access an interface because it doesn't exist, dnsmasq should poll the interface for a configurable timeout to see if it becomes available before

Re: [Bug 526386] Re: dnsmasq exits using --interface if the interface does not exist yet

2010-02-23 Thread Simon Kelley
Something else that's required: we need to stop a libvirt-started dnsmasq from picking up configuration left around by a removed system dnsmasq, so the start-dnsmasq pseudo-code in libvirt becomes. echo dhcp-range=interface:virt0,ip range /etc/dnsmasq.d/libvirtf if system dnsmasq is not

[Bug 526386] Re: dnsmasq exits using --interface if the interface does not exist yet

2010-02-23 Thread Emmet Hikory
Actually, I filed this bug more as a result of the comments in the libvirt code, which indicate that at least one user of dnsmasq found it unable to accomplish an operation that seemed to make sense based on the documentation with a particular corner-case configuration. I consider it