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  if pid file exists:
# service fcoe stop
Stopping FCoE initiator service: [ OK ]
# touch /var/run/fcoe.pid
# service fcoe status
/usr/sbin/fcoemon -- UNUSED
No interfaces created.
# echo $?
This is a REGRESSION as with the RHEL6.1 package I cannot reproduce this problem.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. see description
return code 3
return code 1
(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  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.