Bug 44601 - init-script succeeds always
Summary: init-script succeeds always
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: mc
Version: 1.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jonathan Blandford
QA Contact: Aaron Brown
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-06-14 17:08 UTC by Enrico Scholz
Modified: 2013-04-02 04:15 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-07-14 00:32:27 UTC
Embargoed:


Attachments (Terms of Use)

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.



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