Bug 150380 - Error while stopping the zope service with serviceconf
Error while stopping the zope service with serviceconf
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: zope (Show other bugs)
3
i386 Linux
medium Severity low
: ---
: ---
Assigned To: Aurelien Bompard
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-03-05 01:03 EST by Ryan
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-03-05 06:00:09 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Ryan 2005-03-05 01:03:29 EST
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 06:00:09 EST
Fixed in CVS, thanks.

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