There are some problems with LSB-compilants of initscript against https://fedoraproject.org/wiki/Packaging/SysVInitScript definition. service: ldap 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 :: [ PASS ] :: Status of stopped service :: [ PASS ] :: Stopping service again :: [ PASS ] :: Status of stopped service :: [ LOG ] :: >>>>>>>>> pid file :: [ FAIL ] :: File /var/run/ldap.pid should exist :: [ PASS ] :: Running 'echo 666666 > /var/run/ldap.pid' :: [ FAIL ] :: Existing pid file, but service not started (Expected 1, got 3) :: [ LOG ] :: >>>>>>>>> lock file :: [ PASS ] :: File /var/lock/subsys/ldap should exist :: [ PASS ] :: Running 'touch /var/lock/subsys/ldap' :: [ FAIL ] :: Existing lock file, but service not started (Expected 2, got 3) :: [ LOG ] :: >>>>>>>>> insufficient rights :: [ PASS ] :: Starting service for restarting under nonpriv user :: [ FAIL ] :: Insufficient rights, restarting resrvice under nonprivileged user must fail (Expected 4, got 6) :: [ 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 2) :: [ 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 2) :: [ PASS ] :: Service have to implement force-reload function :: [ LOG ] :: >>>>>>>>> nonexist operations :: [ PASS ] :: Testing proper return code when nonexisting function :: [ LOG ] :: >>>>>>>>> invalid arguments :: [ PASS ] :: When no arguments added to service, it must fail with proper return code There are some problems: * when pid file exist and service is not run, it must have returncode 1, pid file in LSB path doesnt exist * lock file exist, but when service is stopped and lock file exist , there should be returncode 2 * working under unprevileged user must return 4 * it should implement usage, reload functions, or return code when it isnt implemented (3)
*** Bug 523431 has been marked as a duplicate of this bug. ***
Fixes should be in rawhide (version 2.4.18-3), could you please check it out, if it's ok?
I checked it manually according to listed issues. Everything ok, closing the bug.