[ofa-general] Re: [PATCH] opensm/scripts: handling opensm config file
Yevgeny Kliteynik
kliteyn at dev.mellanox.co.il
Wed Oct 22 09:16:46 PDT 2008
Sasha,
Sasha Khapyorsky wrote:
>> -if [[ -s /etc/sysconfig/opensm ]]; then
>> - . /etc/sysconfig/opensm
>> +if [ -s /etc/sysconfig/opensm.conf ]; then
>> + OPTIONS="--config /etc/sysconfig/opensm.conf"
>
> Why we should specify OpenSM config file explicitly? It has the default
> location (/etc/opensm/opensm.conf or something).
OK, agree
> It is not the same as /etc/sysconfig/blahblah script where $OPTIONS
> environment variable could be defined.
>
> Again, I'm fine with removing all this /etc/sysconfig/* stuff completely
> if nobody uses this.
I'd like to remove it too. I know that people do use it, but
this usage should be replaced by /etc/opensm/opensm.conf anyway.
I really don't think that it's a good idea to have opensm
configured by several different configuration files.
So how do we know whether or not can this stuff be removed?
-- Yevgeny
> Sasha
>
More information about the general
mailing list