OpenSM initscript doesn't handle the case where there aren't any configs under /etc/rdma/

Solution Verified - Updated -

Issue

The opensm initscript doesn't handle the case where there aren't any configuration files under /etc/rdma/opensm.conf.*. It incorrectly ends up incrementing the configs counter and setting the configs to the literal "CONFIGS=' /etc/rdma/opensm.conf.[0-9]*'"

Environment

  • Red Hat Enterprise Linux (RHEL) 6.3
  • opensm-3.3.13-1.el6.x86_64

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.