[Bug 876458] Re: dnsmasq started before all interfaces are up

2012-02-22 Thread Clint Byrum
Thomas, thanks for the updates. I think you have a pretty complicated setup, and we can't necessarily cater to such a setup in the packaging given the number of options dnsmasq has. There's a path for other users with a similar setup to yours, and that is --listen-interface. Closing this as Invali

[Bug 876458] Re: dnsmasq started before all interfaces are up

2012-01-09 Thread Thomas Schweikle
Thanks for the clarification here. I've tried now with --listen- interface and I am sure dnsmasq does what it is supposed to do --- only answer dhcp requests arriving on certain interfaces, but ignoring others! In this case It was a missinterpretation of how the various interface related options w

Re: [Bug 876458] Re: dnsmasq started before all interfaces are up

2012-01-02 Thread Simon Kelley
On 02/01/12 09:44, Thomas Schweikle wrote: >> That's exactly what happens without --bind-interface, interfaces which >> are configured in dnsmasq but don't exist at startup generate a warning >> only, and start to work when they are created. > > This seems to be correct. > >> Packets from interfa

Re: [Bug 876458] Re: dnsmasq started before all interfaces are up

2012-01-02 Thread Simon Kelley
An addition to my last reply: If a DHCP request is received via in interface which doesn't have an IP address, there will be a log message, but the request will be otherwise ignored. Cheers, Simon. -- You received this bug notification because you are a member of Ubuntu Server Team, which is

[Bug 876458] Re: dnsmasq started before all interfaces are up

2012-01-02 Thread Thomas Schweikle
Have to be a bit more precise: there is an additional interface not configured at all. This interface only receives and answers dhcp queries. The other interface, which is configured is OK. The problem seems to be interfaces which are not configured and may be up sometimes. As soon as I configure

[Bug 876458] Re: dnsmasq started before all interfaces are up

2012-01-02 Thread Thomas Schweikle
> That's exactly what happens without --bind-interface, interfaces which > are configured in dnsmasq but don't exist at startup generate a warning > only, and start to work when they are created. This seems to be correct. > Packets from interfaces which are not configured are ignored. This isn't

Re: [Bug 876458] Re: dnsmasq started before all interfaces are up

2011-12-20 Thread Simon Kelley
On 20/12/11 20:55, Thomas Schweikle wrote: > H. If this is the reason, how to force dnsmasq not to respond on > some interfaces, while listening on all others, with different > configurations per interface? > > Wouldn't it be better to configure dnsmasq even for interfaces not there > at start

[Bug 876458] Re: dnsmasq started before all interfaces are up

2011-12-20 Thread Thomas Schweikle
H. If this is the reason, how to force dnsmasq not to respond on some interfaces, while listening on all others, with different configurations per interface? Wouldn't it be better to configure dnsmasq even for interfaces not there at startup, and if these interfaces come up take them, if confi

[Bug 876458] Re: dnsmasq started before all interfaces are up

2011-12-08 Thread Clint Byrum
Thomas, i'd argue that any service not using ifup/ifdown, and not manually calling the /etc/network/if-up.d scripts after bringing interfaces up is the bug then. NetworkManager has a plugin specifically to do this, and vmware/virtualbox should too if they're going to manage interfaces. Of course, i

Re: [Bug 876458] Re: dnsmasq started before all interfaces are up

2011-12-08 Thread Simon Kelley
On 08/12/11 12:57, Thomas Schweikle wrote: > Yes, that's right, but there are interfaces not started from > /etc/network/interfaces or Network Manager: > * VMware Workstation / Player installs interfaces starting VMware daemons > * VirtualBox installs interfaces > * KVM may install an additional b

[Bug 876458] Re: dnsmasq started before all interfaces are up

2011-12-08 Thread Thomas Schweikle
tps@ivory:~$ ls -l /etc/rcS.d total 4 -rw-r--r-- 1 root root 447 Jul 14 07:11 README lrwxrwxrwx 1 root root 18 Oct 20 00:23 S01apparmor -> ../init.d/apparmor lrwxrwxrwx 1 root root 16 Oct 20 00:23 S01brltty -> ../init.d/brltty lrwxrwxrwx 1 root root 23 Nov 27 21:21 S01etc-setserial -> ../init.d

[Bug 876458] Re: dnsmasq started before all interfaces are up

2011-12-08 Thread Thomas Schweikle
** Attachment added: "A bit a complicated interfaces file ... :-)" https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/876458/+attachment/2624512/+files/interfaces -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to dnsmasq in Ubuntu

[Bug 876458] Re: dnsmasq started before all interfaces are up

2011-12-08 Thread Thomas Schweikle
Yes, that's right, but there are interfaces not started from /etc/network/interfaces or Network Manager: * VMware Workstation / Player installs interfaces starting VMware daemons * VirtualBox installs interfaces * KVM may install an additional bridge * some VPN software installs tun/tap interfaces

[Bug 876458] Re: dnsmasq started before all interfaces are up

2011-12-03 Thread Clint Byrum
Thomas, runlevel 2 is not entered until after all interfaces listed as 'auto' in /etc/network/interfaces are up, as of Ubuntu 11.10. Since dnsmasq starts in runlevel 2, it should not have any chance to start before that network configuration is applied. Can you send an ls -l /etc/rcS.d and /etc/rc

[Bug 876458] Re: dnsmasq started before all interfaces are up

2011-10-19 Thread Serge Hallyn
** Changed in: dnsmasq (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to dnsmasq in Ubuntu. https://bugs.launchpad.net/bugs/876458 Title: dnsmasq started before all interfaces are up To manage

[Bug 876458] Re: dnsmasq started before all interfaces are up

2011-10-17 Thread Thomas Schweikle
-- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to dnsmasq in Ubuntu. https://bugs.launchpad.net/bugs/876458 Title: dnsmasq started before all interfaces are up To manage notifications about this bug go to: https://bugs.launchpad.net/ub