Bug 807757 - systemd doesn't take care of ipmievd service fail
systemd doesn't take care of ipmievd service fail
Product: Fedora
Classification: Fedora
Component: ipmitool (Show other bugs)
Unspecified Linux
unspecified Severity medium
: ---
: ---
Assigned To: Jan Safranek
Fedora Extras Quality Assurance
Depends On:
Blocks: 816135
  Show dependency treegraph
Reported: 2012-03-28 11:49 EDT by Martin Cermak
Modified: 2012-06-05 08:01 EDT (History)
1 user (show)

See Also:
Fixed In Version: ipmitool-1.8.11-10.fc17 ipmitool-1.8.11-10.fc18
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-05-26 02:52:11 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Martin Cermak 2012-03-28 11:49:24 EDT
Description of problem:

  systemd doesn't take care of ipmievd service fail

Steps to Reproduce:

I'm running ipmievd on a VM with no /dev/ipmi* device. 
Service ipmi is stopped: Now:

# service ipmievd start
Redirecting to /bin/systemctl  start ipmievd.service
# echo $?
# service ipmievd status
Redirecting to /bin/systemctl  status ipmievd.service
ipmievd.service - Ipmievd Daemon
          Loaded: loaded (/usr/lib/systemd/system/ipmievd.service; disabled)
          Active: failed (Result: exit-code) since Wed, 28 Mar 2012 11:45:00 -0400; 4s ago
         Process: 4854 ExecStart=/usr/sbin/ipmievd $IPMIEVD_OPTIONS (code=exited, status=1/FAILURE)
          CGroup: name=systemd:/system/ipmievd.service

Mar 28 11:45:00 dhcp-25-164.brq.redhat.com ipmievd[4854]: ipmievd: using pidfile /var/run/ipmievd.pid0
Mar 28 11:45:00 dhcp-25-164.brq.redhat.com ipmievd[4854]: Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory

Version-Release number of selected component (if applicable):


How reproducible:


Actual results:

  Service fails to start, but returns exitcode 0.

Expected results:

  Service fails to start, but returns non-zero exitcode.

Additional info:

  Maybe the forking type in the unit file would do the trick.
Comment 1 Fedora Update System 2012-04-26 06:30:10 EDT
ipmitool-1.8.11-10.fc17 has been submitted as an update for Fedora 17.
Comment 2 Fedora Update System 2012-05-04 18:18:52 EDT
Package ipmitool-1.8.11-10.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ipmitool-1.8.11-10.fc17'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
Comment 3 Fedora Update System 2012-05-26 02:52:11 EDT
ipmitool-1.8.11-10.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 4 Martin Cermak 2012-06-05 08:01:47 EDT
Looks good, thanks for the fix!

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