Hi Tom and Peter, Thanks for your suggestions! First the CentOS: Apparently my memory here was related to before our recent upgrade from a RHEL6 based system. In CentOS7 systemd is used, which seems to work as expected. For the Ubuntu machines in question, they are all running 14.04 LTE. From what I've understood after spending more time investigating, they are using a lovely mix of Upstart and standard SysV (?), and I am having a hard time to understand where one ends and the other begins. The Condor startup script from /etc/init.d is soft linked to the different run levels with K20 and S20. I figured out that S20 is probably much too low (as Peter also suggested), so I changed that to S98 with the commands: # update-rc.d -f condor remove # update-rc.d -f condor defaults 98 20 From what I understand about run levels, I thought that if network is needed then it shouldn't go in run level 2, only 3-5. This seems to not be the case for these machines though, where level 2 is the default after startup. The change seems to work half way. Sometimes the machines get the correct network name, sometimes they are displayed as 'localhost', and sometimes with empty hostname. At first I had tried to modify the LSB header, but I did not find any way to update the system based on these changes? For example, it seemed to me from the documentation that the "Required-Start" should perhaps include $named in the list? Regarding the 'allow-hotplug', this does not seem to be activated on our machines. The only content we have in /etc/network/interfaces is: $ cat /etc/network/interfaces # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback Using static IP address is not an (easy) solution unfortunately, as we are on a managed work network with a reasonably complex system to govern the distribution of IP addresses and hostnames (as far as I know). Cheers, Yngve On 29/05/15 14:52, Tom Downes wrote:
|