Bug 829705 - initscript of ipmi contains incomplete path and cannot start by certain users
Summary: initscript of ipmi contains incomplete path and cannot start by certain users
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: OpenIPMI
Version: 5.5
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: rc
: ---
Assignee: Jan Safranek
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-07 11:14 UTC by ta.kadowaki
Modified: 2013-01-08 04:52 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Previously, the 'ipmi' service init script did not specify full path to /sbon/lsmod and /sbin/modprobe system utilities. The init script then failed when it was executed with PATH not pointing to /sbin, for example using sudo /etc/init.d/ipmi. In this update, the init script contains full path to lsmod and modrpobe, therefore it can be executed with sudo.
Clone Of:
Environment:
Last Closed: 2013-01-08 04:52:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2013:0123 0 normal SHIPPED_LIVE Low: OpenIPMI security, bug fix, and enhancement update 2013-01-08 09:10:13 UTC

Description ta.kadowaki 2012-06-07 11:14:44 UTC
Description of problem:
/etc/init.d/ipmi

Version-Release number of selected component (if applicable):
OpenIPMI-2.0.16-12.el5

How reproducible:


Steps to Reproduce:
1. login as a non-root user
2. sudo /etc/init.d/ipmi start
  
Actual results:
ipmi driver is loaded.

Expected results:
impi driver is not loaded.

Additional info:
/etc/init.d/ipmi contains execution of lsmod without complete command path.

Comment 1 RHEL Program Management 2012-06-07 12:57:37 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 2 Jan Safranek 2012-06-08 16:18:31 UTC
I sent a patch upstream: http://thread.gmane.org/gmane.linux.kernel.openipmi/1972

Comment 3 Jan Safranek 2012-06-11 08:09:23 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Previously, the 'ipmi' service init script did not specify full path to /sbon/lsmod and /sbin/modprobe system utilities. The init script then failed when it was executed with PATH not pointing to /sbin, for example using sudo /etc/init.d/ipmi. In this update, the init script contains full path to lsmod and modrpobe, therefore it can be executed with sudo.

Comment 8 errata-xmlrpc 2013-01-08 04:52:35 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2013-0123.html


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