There are some problems with LSB-compilants of initscript against https://fedoraproject.org/wiki/Packaging/SysVInitScript definition. service: tomcat5 I've created some test and there is output of run (PASS menas that it started correctly, FAIL, that there is some problem with returncode, explanaition in brackets): :: [ LOG ] :: >>>>>>>>> service start :: [ PASS ] :: Service must start without problem :: [ PASS ] :: Then Status command :: [ PASS ] :: Already started service :: [ PASS ] :: Again status command :: [ LOG ] :: >>>>>>>>> service restart :: [ PASS ] :: Restarting of service :: [ PASS ] :: Status command :: [ LOG ] :: >>>>>>>>> service stop :: [ PASS ] :: Stopping service :: [ FAIL ] :: Status of stopped service (Expected 3, got 1) :: [ PASS ] :: Stopping service again :: [ FAIL ] :: Status of stopped service (Expected 3, got 1) :: [ LOG ] :: >>>>>>>>> pid file :: [ PASS ] :: File /var/run/tomcat5.pid should exist :: [ PASS ] :: Running 'echo 666666 > /var/run/tomcat5.pid' :: [ PASS ] :: Existing pid file, but service not started :: [ LOG ] :: >>>>>>>>> lock file :: [ PASS ] :: File /var/lock/subsys/tomcat5 should exist :: [ PASS ] :: Running 'touch /var/lock/subsys/tomcat5' :: [ FAIL ] :: Existing lock file, but service not started (Expected 2, got 1) :: [ LOG ] :: >>>>>>>>> insufficient rights :: [ PASS ] :: Starting service for restarting under nonpriv user :: [ FAIL ] :: Insufficient rights, restarting resrvice under nonprivileged user must fail (Expected 4, got 1) :: [ LOG ] :: >>>>>>>>> operations :: [ PASS ] :: Service have to implement start function :: [ PASS ] :: Service have to implement restart function :: [ PASS ] :: Service have to implement status function :: [ FAIL ] :: Service have to implement usage function (Expected 0, got 1) :: [ PASS ] :: Service have to implement condrestart function :: [ PASS ] :: Service have to implement try-restart function :: [ FAIL ] :: Service have to implement reload function (Expected 0, got 3) :: [ PASS ] :: Service have to implement force-reload function :: [ LOG ] :: >>>>>>>>> nonexist operations :: [ FAIL ] :: Testing proper return code when nonexisting function (Expected 2, got 1) :: [ LOG ] :: >>>>>>>>> invalid arguments :: [ FAIL ] :: When no arguments added to service, it must fail with proper return code (Expected 2, got 1) There are some problems: when service is stopped status must return code 3 everytime existing lockfile and service not running, status must return 2 when user hasn't rights to run service, it must return 4 it should implement usage function when bad or none arguments are used it should return code 2
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle. Changing version to '12'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
This message is a reminder that Fedora 12 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 12. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '12'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 12's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 12 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Fedora 12 changed to end-of-life (EOL) status on 2010-12-02. Fedora 12 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed.