Bug 150380 - Error while stopping the zope service with serviceconf
Summary: Error while stopping the zope service with serviceconf
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: zope
Version: 3
Hardware: i386
OS: Linux
medium
low
Target Milestone: ---
Assignee: Aurelien Bompard
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-03-05 06:03 UTC by Ryan
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-03-05 11:00:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.