On a Ubuntu 10.04.1 LTS server install certain services fail to start properly after a reboot.
I have a couple of virtual interfaces defined on eth0:
# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet static address 172.16.5.240 netmask 255.255.255.0 gateway 172.16.5.1 auto eth0:1 iface eth0:1 inet static address 172.16.5.241 netmask 255.255.255.0 gateway 172.16.5.1 auto eth0:2 iface eth0:2 inet static address 172.16.5.242 netmask 255.255.255.0 gateway 172.16.5.1 auto eth0:3 iface eth0:3 inet static address 172.16.5.243 netmask 255.255.255.0 gateway 172.16.5.1
and so on...
Some SysV init scripts that try to bind to for example 172.16.5.243 fail during boot, complaining that there is no such IP address.
1) Are the services started parallel by default? Can I disable that so they run sequentially?
2) Is there a way to define dependencies between rc scripts? I'm only familiar with the defining the order of seqentially started scripts using the numbers in /etc/rc[0-6].d/)
Any other fix or workaround appreciated.