[ewg] openibd service dependency

Moni Shoua monis at voltaire.com
Tue Mar 11 07:19:41 PDT 2008


Hi,
This is a question regarding preconditions for openibd script before it 
starts. The question assumes that OS is SuSE but the only difference 
from other OS is just in the mechanism.

openibd script is installed with Required-Start: $network directive. 
This forces /etc/init.d/network to run before /etc/init.d/openibd

This causes a bug when bonding is configured with ifcfg-* files. Files 
are read and parsed when network script runs but at this time ib* 
interfaces do not exist (openibd wasn't started yet). My questions are:
1) Why does openibd depends on nnetwork to start?
2) Isn't it more logical to reverse the dependency? (network should run 
only when interfaces exist).


thanks

MoniS




More information about the ewg mailing list