Bug 737468
Summary: | service fcoe status return bad exit code if pid file exists and service not running | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Miroslav Vadkerti <mvadkert> |
Component: | fcoe-utils | Assignee: | Petr Šabata <psabata> |
Status: | CLOSED NOTABUG | QA Contact: | BaseOS QE Security Team <qe-baseos-security> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 6.2 | Keywords: | Regression |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-09-12 14:03:55 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: |
Description
Miroslav Vadkerti
2011-09-12 08:39:27 UTC
(In reply to comment #0) > Description of problem: > Our test /CoreOS/fcoe-utils/Sanity/init-scripts-LSB is failing with the latest > package. The problem is that the status command returns bad error code [1] if > pid file exists: > > # service fcoe stop > Stopping FCoE initiator service: [ OK ] > # touch /var/run/fcoe.pid The service uses /var/run/fcoemon.pid as its PID file, defined online 33. There's a check on line 168. Do you get the correct code with this? After discussion this is not a bug. The service is called fcoe but the underlying daemon is fcoemon. The pid file gets name from the daemon. We decided not to fix this inconsistency (i.e. service should be called as the daemon) to not break possible customer usages. |