[ofa-general] Re: [PATCH] opensm/scripts: handling opensm config file
Sasha Khapyorsky
sashak at voltaire.com
Thu Oct 23 12:34:50 PDT 2008
Hi Doug,
On 14:58 Thu 23 Oct , Doug Ledford wrote:
>
> Well, I don't use the OFED scripts anyway. They aren't LSB compliant in
> so many ways it's not worth discussing. Plus they do things that that
> should not be done in a production environment, or things that should be
> handled via other scripts. So, it's of little importance to me.
Why to not help us to make it in a proper way? We are discussing this
right now.
> However, if you guys have moved the opensm stuff to /etc/opensm just to
> have a single opensm.conf file in there, then I have to wonder why
> bother with an /etc/opensm directory?
It is not just a single file. In addition to opensm.conf OpenSM by
default will look in this directory (directory name is configurable btw)
for partition, route prefixes configuration and QoS policy files.
> Are there other files in there by
> default now?
There are nothing by default, but user may put files there.
> You don't save any /etc/ directory namespace pollution if
> you create a subdirectory for a single file. Oh well, that doesn't
> matter too much to me either. All the packages I maintain use /etc/ofed
> for rhel4 and rhel5, and will use /etc/rdma for fedora and rhel6 and
> later.
Directory name can be configured if somebody cares. However OpenSM itself
does not required OFED or RDMA to be installed, we are fine to run in
stand-alone mode. Then '/etc/opensm' (or actually ${sysconfdir}/opensm)
looks fine for me.
Sasha
More information about the general
mailing list