[Bug 876458] Re: dnsmasq started before all interfaces are up
Thomas Schweikle
876458 at bugs.launchpad.net
Thu Dec 8 13:06:03 UTC 2011
tps at 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/etc-setserial
lrwxrwxrwx 1 root root 20 Nov 27 21:21 S01lm-sensors -> ../init.d/lm-sensors
lrwxrwxrwx 1 root root 15 Oct 20 00:23 S01quota -> ../init.d/quota
lrwxrwxrwx 1 root root 16 Nov 27 21:21 S01setkey -> ../init.d/setkey
lrwxrwxrwx 1 root root 19 Nov 27 21:21 S01setserial -> ../init.d/setserial
lrwxrwxrwx 1 root root 20 Oct 20 00:23 S01x11-common -> ../init.d/x11-common
lrwxrwxrwx 1 root root 21 Oct 20 00:23 S02pcmciautils -> ../init.d/pcmciautils
lrwxrwxrwx 1 root root 17 Nov 27 21:21 S04urandom -> ../init.d/urandom
tps at ivory:~$ ls -l /etc/rc2.d
total 4
lrwxrwxrwx 1 root root 32 Nov 27 21:23 K08vmware-USBArbitrator -> /etc/init.d/vmware-USBArbitrator
-rw-r--r-- 1 root root 677 Jul 14 07:11 README
lrwxrwxrwx 1 root root 17 Nov 27 21:21 S01openvpn -> ../init.d/openvpn
lrwxrwxrwx 1 root root 19 Nov 27 21:21 S02bacula-fd -> ../init.d/bacula-fd
lrwxrwxrwx 1 root root 19 Nov 27 21:21 S02bluetooth -> ../init.d/bluetooth
lrwxrwxrwx 1 root root 17 Nov 27 21:21 S02dnsmasq -> ../init.d/dnsmasq
lrwxrwxrwx 1 root root 13 Nov 27 21:21 S02gpm -> ../init.d/gpm
lrwxrwxrwx 1 root root 17 Nov 27 21:21 S02hddtemp -> ../init.d/hddtemp
lrwxrwxrwx 1 root root 21 Nov 27 21:21 S02libnss-ldap -> ../init.d/libnss-ldap
lrwxrwxrwx 1 root root 14 Nov 27 21:21 S02lirc -> ../init.d/lirc
lrwxrwxrwx 1 root root 21 Nov 27 21:21 S02loadcpufreq -> ../init.d/loadcpufreq
lrwxrwxrwx 1 root root 14 Nov 27 21:21 S02nscd -> ../init.d/nscd
lrwxrwxrwx 1 root root 22 Nov 27 21:21 S02opencryptoki -> ../init.d/opencryptoki
lrwxrwxrwx 1 root root 20 Nov 27 21:21 S02postgresql -> ../init.d/postgresql
lrwxrwxrwx 1 root root 18 Nov 27 21:21 S02pppd-dns -> ../init.d/pppd-dns
lrwxrwxrwx 1 root root 20 Nov 27 21:21 S02pulseaudio -> ../init.d/pulseaudio
lrwxrwxrwx 1 root root 18 Nov 27 21:21 S02quotarpc -> ../init.d/quotarpc
lrwxrwxrwx 1 root root 15 Nov 27 21:21 S02saned -> ../init.d/saned
lrwxrwxrwx 1 root root 27 Nov 27 21:21 S02speech-dispatcher -> ../init.d/speech-dispatcher
lrwxrwxrwx 1 root root 14 Nov 27 21:21 S02sudo -> ../init.d/sudo
lrwxrwxrwx 1 root root 23 Nov 27 21:21 S02uml-utilities -> ../init.d/uml-utilities
lrwxrwxrwx 1 root root 29 Nov 27 21:21 S02unattended-upgrades -> ../init.d/unattended-upgrades
lrwxrwxrwx 1 root root 20 Nov 27 21:21 S02virtualbox -> ../init.d/virtualbox
lrwxrwxrwx 1 root root 17 Nov 27 21:21 S02winbind -> ../init.d/winbind
lrwxrwxrwx 1 root root 13 Nov 27 21:21 S02xfs -> ../init.d/xfs
lrwxrwxrwx 1 root root 22 Nov 27 21:21 S03acpi-support -> ../init.d/acpi-support
lrwxrwxrwx 1 root root 22 Nov 27 21:21 S03cpufrequtils -> ../init.d/cpufrequtils
lrwxrwxrwx 1 root root 19 Nov 27 21:21 S03dns-clean -> ../init.d/dns-clean
lrwxrwxrwx 1 root root 20 Nov 27 21:21 S03kerneloops -> ../init.d/kerneloops
lrwxrwxrwx 1 root root 27 Nov 27 21:21 S03nfs-kernel-server -> ../init.d/nfs-kernel-server
lrwxrwxrwx 1 root root 15 Nov 27 21:21 S03rsync -> ../init.d/rsync
lrwxrwxrwx 1 root root 21 Nov 27 21:21 S04grub-common -> ../init.d/grub-common
lrwxrwxrwx 1 root root 18 Nov 27 21:21 S04ondemand -> ../init.d/ondemand
lrwxrwxrwx 1 root root 18 Nov 27 21:21 S04rc.local -> ../init.d/rc.local
lrwxrwxrwx 1 root root 16 Nov 27 21:22 S19vmware -> ../init.d/vmware
lrwxrwxrwx 1 root root 32 Nov 27 21:23 S50vmware-USBArbitrator -> /etc/init.d/vmware-USBArbitrator
lrwxrwxrwx 1 root root 35 Nov 27 21:23 S55vmware-workstation-server -> ../init.d/vmware-workstation-server
tps at ivory:~$ ls -l /run/network
total 4
-rw-r--r-- 1 root root 64 Dec 8 13:32 ifstate
-rw-r--r-- 1 root root 0 Dec 8 13:32 ifup.eth0
-rw-r--r-- 1 root root 0 Dec 8 13:32 ifup.eth0.11
-rw-r--r-- 1 root root 0 Dec 8 13:32 ifup.lo
-rw-r--r-- 1 root root 0 Dec 8 13:32 ifup.vm0
-rw-r--r-- 1 root root 0 Dec 8 13:32 ifup.vm1
-rw-r--r-- 1 root root 0 Dec 8 13:32 ifup.vm2
-rw-r--r-- 1 root root 0 Dec 8 13:32 ifup.vm8
drwxr-xr-x 2 root root 40 Dec 8 13:32 static-network-up-emitted
The VMware interfaces are not listed here, because they are unter control of the VMware startup scripts and do not use ifup/ifdown at all:
tps at ivory:~$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc mq master vm0 state UP qlen 1000
link/ether 00:1e:68:06:4b:e9 brd ff:ff:ff:ff:ff:ff
3: vm0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
link/ether 00:1e:68:06:4b:e9 brd ff:ff:ff:ff:ff:ff
4: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether 00:1d:e0:2a:5b:9d brd ff:ff:ff:ff:ff:ff
5: vm2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1492 qdisc noqueue state UP
link/ether 00:1e:68:06:4b:e9 brd ff:ff:ff:ff:ff:ff
6: eth0.11 at eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master vm2 state UP
link/ether 00:1e:68:06:4b:e9 brd ff:ff:ff:ff:ff:ff
7: vm1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
link/ether 36:63:73:dd:cd:8f brd ff:ff:ff:ff:ff:ff
8: vm8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
link/ether 9a:a0:31:a0:bf:60 brd ff:ff:ff:ff:ff:ff
10: vmnet1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
link/ether 00:50:56:c0:00:01 brd ff:ff:ff:ff:ff:ff
11: vmnet8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
link/ether 00:50:56:c0:00:08 brd ff:ff:ff:ff:ff:ff
These interfaces are started after dnsmasq:
lrwxrwxrwx 1 root root 17 Nov 27 21:21 S02dnsmasq -> ../init.d/dnsmasq
lrwxrwxrwx 1 root root 16 Nov 27 21:22 S19vmware -> ../init.d/vmware
And this ignores those interfaces created "on the fly" by VirtualBox,
KVM, and some VPN-Software.
--
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/ubuntu/+source/dnsmasq/+bug/876458/+subscriptions
More information about the Ubuntu-server-bugs
mailing list