The initscript for opensm has just one variable $OPTIONS, for the options to be passed to the opensm daemon. In the corresponding configuration file there is exactly one variable $OSM_HOSTS="". $OSM_HOSTS goes unused in the initscript, and $OPTIONS is not found in the config file.
Next time, please put the CATEGORY/PKG in the Summary.
Same here, looks like conf.d should contain OPTIONS, or preferably OSM_OPTIONS to avoid possible variable collisions with other init.d stuff.
Files and patches below provide consistent init.d script and config file. Cluster team, please review.
Created attachment 392480 [details, diff] opensm.init.d.patch
Created attachment 392482 [details] opensm.conf.d
Created attachment 392484 [details, diff] opensm-3.3.17.ebuild.patch
sldd.sh, where OSM_HOSTS is used was added as optional daemon, see bug 533676.
Hello, I'm going to commit proposed patch it two weeks if there are no objections.
Fixed in 3.3.17-r1.