[ewg] Re: [PATCH] Set the dependencies of openibd and iscsi services
Vladimir Sokolovsky
vlad at dev.mellanox.co.il
Tue Feb 12 01:37:25 PST 2008
Doron Shoham wrote:
> iscsi service should start after openibd service.
> iscsi service should stop before openibd service.
>
> Signed-off-by: Doron Shoham <dorons at voltaire.com>
> ---
Hi Doron,
Why can't you just put in the /etc/init.d/iscsi:
# chkconfig: 2345 16 84
And in the /etc/init.d/open-iscsi:
Required-Start: openibd
And then update ofa_kernel.spec to set
Required-Stop: open-iscsi
In case that iser was selected and OS is SuSE.
This will change about 5 lines of code instead of about 150 lines of your patch.
Regards,
Vladimir
More information about the ewg
mailing list