Bug 44601

Summary: init-script succeeds always
Product: [Retired] Red Hat Raw Hide Reporter: Enrico Scholz <rh-bugzilla>
Component: mcAssignee: Jonathan Blandford <jrb>
Status: CLOSED WONTFIX QA Contact: Aaron Brown <abrown>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: ddumas
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: 2001-07-14 00:32:27 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 Enrico Scholz 2001-06-14 17:08:19 UTC
Description of Problem:

/etc/init.d/mcserv returns always with an errorcode indicating success --
even on failed actions.

This can be cured by replacing the last line

| exit 0

with

| exit $?



How Reproducible:

everytime

Steps to Reproduce:
1. service mcserv stop
2. service mcserv status && echo 'This should not happen'  || echo 'OK'


Actual Results:

mcserv is stopped
This should not happen


Expected Results:

mcserv is stopped
OK


Additional Information:

$ rpm -q mcserv
mcserv-4.5.51

Comment 1 Pavel Roskin 2001-07-14 00:32:23 UTC
Fixed in MC CVS.

I think that RedHat should stop distributing mcserv - it's deprecated now.MC
supports standard protocols - FTP and SSH.
Existance of its own protocol is now longer justified (except for debugging),
not to mention that mcfs is very slow compared to FTP.
MC-4.5.55 will not install mcserv by default.