Bug 612097
Summary: | cman initscript FedoraGuidelines compliance | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Fabio Massimo Di Nitto <fdinitto> | ||||
Component: | cluster | Assignee: | Fabio Massimo Di Nitto <fdinitto> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Cluster QE <mspqa-list> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 6.0 | CC: | agk, ccaulfie, cfeist, cluster-maint, dkovalsk, fdinitto, lhh, mbroz, nstraz, rpeterso, swhiteho, syeghiay, teigland | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | cluster-3.0.12-10.el6 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | 537242 | Environment: | |||||
Last Closed: | 2010-11-10 19:59:33 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: | 537242 | ||||||
Bug Blocks: | 633349 | ||||||
Attachments: |
|
Description
Fabio Massimo Di Nitto
2010-07-07 10:09:35 UTC
Created attachment 430018 [details]
proposed patch
Further testing revealed 4 more issues in the init script.
The patch addresses them.
Result from the test:
:: [ LOG ] :: Assertions: 27 good, 0 bad
Upstream commit b5d08b299859ddd428e9468cf06b3dac05f9e66e :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: TEST PROTOCOL :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: Test run ID : debugging :: [ LOG ] :: Package : cman :: [ LOG ] :: Installed: : cman-3.0.12-13.el6.x86_64 :: [ LOG ] :: Test started : 2010-07-16 15:53:00 :: [ LOG ] :: Test finished : 2010-07-16 15:54:28 :: [ LOG ] :: Test name : :: [ LOG ] :: Distro: : Red Hat Enterprise Linux Server release 6.0 ) :: [ LOG ] :: Hostname : west-04.lab.bos.redhat.com :: [ LOG ] :: Architecture : x86_64 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: Test description :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Cannot find the PURPOSE file of this test. Could be a missing, or rlInitializeJournal wasn't called from appropriate location :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: Test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 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 :: [ PASS ] :: File /var/run/cman.pid should exist :: [ PASS ] :: Running 'echo 666666 > /var/run/cman.pid' :: [ PASS ] :: Existing pid file, but service not started :: [ LOG ] :: >>>>>>>>> lock file :: [ PASS ] :: File /var/lock/subsys/cman should exist :: [ PASS ] :: Running 'touch /var/lock/subsys/cman' :: [ PASS ] :: Existing lock file, but service not started :: [ LOG ] :: >>>>>>>>> insufficient rights :: [ PASS ] :: Starting service for restarting under nonpriv user :: [ PASS ] :: Insufficient rights, restarting resrvice under nonprivilegedl :: [ LOG ] :: >>>>>>>>> operations :: [ PASS ] :: Service have to implement start function :: [ PASS ] :: Service have to implement restart function :: [ PASS ] :: Service have to implement status function :: [ PASS ] :: Service have to implement condrestart function :: [ PASS ] :: Service have to implement try-restart function :: [ PASS ] :: Service have to implement reload function :: [ 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 prope :: [ LOG ] :: Duration: 1m 28s :: [ LOG ] :: Assertions: 27 good, 0 bad :: [ PASS ] :: RESULT: Test Red Hat Enterprise Linux 6.0 is now available and should resolve the problem described in this bug report. This report is therefore being closed with a resolution of CURRENTRELEASE. You may reopen this bug report if the solution does not work for you. |