Bug 807757
| Summary: | systemd doesn't take care of ipmievd service fail | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Martin Cermak <mcermak> |
| Component: | ipmitool | Assignee: | Jan Safranek <jsafrane> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 17 | CC: | jsafrane |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| 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: | Environment: | ||
| Last Closed: | 2012-05-26 06:52:11 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 816135 | ||
ipmitool-1.8.11-10.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/ipmitool-1.8.11-10.fc17 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: https://admin.fedoraproject.org/updates/FEDORA-2012-7336/ipmitool-1.8.11-10.fc17 then log in and leave karma (feedback). 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. Looks good, thanks for the fix! |
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 $? 0 # 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): ipmitool-1.8.11-9.fc17 How reproducible: Always 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.