Bug 150380

Summary: Error while stopping the zope service with serviceconf
Product: [Fedora] Fedora Reporter: Ryan <wolf0403>
Component: zopeAssignee: Aurelien Bompard <gauret>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: medium    
Version: 3   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-03-05 11:00:09 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 Ryan 2005-03-05 06:03:29 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050224 Firefox/1.0.1 Fedora/1.0.1-1.3.1

Description of problem:
The init script /etc/init.d/zope has an error in the stop() procedure. The RETVAL is assigned with wrong values so while stopping the zope service with serviceconf, there would be a meaningless warning msg. 

Version-Release number of selected component (if applicable):
zope-2.4.7-1

How reproducible:
Always

Steps to Reproduce:
1. start zope service
2. run serviceconf
3. stop the zope service with serviceconf
  

Actual Results:  A meaningless warning msg box showing the zope is stopped successfully

Expected Results:  A msg box indicating success.

Additional info:

To correct this, I made change to /etc/init.d/zope:

diff zope zope.new
42c42
<             RETVAL=1
---
>             RETVAL=0
46c46
<             RETVAL=0
---
>             RETVAL=1

Hope this would help.

Comment 1 Aurelien Bompard 2005-03-05 11:00:09 UTC
Fixed in CVS, thanks.