Bug 465150 - wrong config file specified for opensmd?
Summary: wrong config file specified for opensmd?
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: opensm
Version: 5.3
Hardware: All
OS: Linux
high
high
Target Milestone: beta
: ---
Assignee: Doug Ledford
QA Contact: Gurhan Ozen
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-10-01 20:07 UTC by Gurhan Ozen
Modified: 2013-11-04 01:37 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-01-20 21:41:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2009:0170 0 normal SHIPPED_LIVE openib bug fix update 2009-01-20 16:05:30 UTC

Description Gurhan Ozen 2008-10-01 20:07:37 UTC
Description of problem:

opensmd start script is looking for /etc/rdma/opensmd.conf config file and hence it's exiting since it doesn't exist:


# grep CONFIG /etc/init.d/opensmd 
CONFIG=/etc/rdma/opensm.conf
    if [ ! -f $CONFIG ]; then
        echo -n "Starting opensm: $CONFIG missing" 
    . $CONFIG
# rpm -ql opensm | grep conf 
/etc/ofed/opensm.conf

Should that be /etc/ofed/opensm.conf instead?

Version-Release number of selected component (if applicable):
# rpm -q opensm 
opensm-3.2.2-2.el5


How reproducible:
Everytime.

Steps to Reproduce:
1. Install opensm-3.2.2-2.el5 (errata 2009:8171)
2. service opensmd start 
3.
  
Actual results:
It fails.

Expected results:
Should start opensmd daemon.

Additional info:

Comment 1 Doug Ledford 2008-10-02 12:38:12 UTC
Oops, this would be a bogosity from my backport of the updated fedora opensmd script into rhel.  I'll need to respin opensm for this.

Comment 2 Gurhan Ozen 2008-10-02 12:46:23 UTC
(In reply to comment #1)
> Oops, this would be a bogosity from my backport of the updated fedora opensmd
> script into rhel.  I'll need to respin opensm for this.

Thanks, I'll update 2009:8171 to need_respin

Comment 7 errata-xmlrpc 2009-01-20 21:41:00 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2009-0170.html


Note You need to log in before you can comment on or make changes to this bug.