Bug 85127 - Kudzu's initscript "status" option does not work properly
Kudzu's initscript "status" option does not work properly
Status: CLOSED RAWHIDE
Product: Red Hat Public Beta
Classification: Retired
Component: kudzu (Show other bugs)
phoebe
i386 Linux
medium Severity low
: ---
: ---
Assigned To: Bill Nottingham
David Lawrence
:
Depends On:
Blocks: 79578 84358
  Show dependency treegraph
 
Reported: 2003-02-25 17:47 EST by Peter van Egdom
Modified: 2014-03-16 22:34 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-02-25 18:18:17 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 Peter van Egdom 2003-02-25 17:47:53 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030206

Description of problem:
Kudzu's initscript (/etc/rc.d/init.d/kudzu) has a couple of issues :

- It only mentions that it has the options "start" and "stop", but
  not "status".

    (Usage: /etc/rc.d/init.d/kudzu {start|stop})

- It's 'hidden' "status" option returns some errors, which is highly
  visible in "redhat-config-services" :

    {base} has run
    /etc/rc.d/init.d/kudzu: line 81: return: can only `return' from
    a function or sourced script
    kudzu is stopped
    /etc/rc.d/init.d/kudzu: line 84: return: can only `return' from
    a function or sourced script


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


How reproducible:
Always

Steps to Reproduce:
1. /etc/rc.d/init.d/kudzu
2. /etc/rc.d/init.d/kudzu status
3.
    

Actual Results:  
- Usage: /etc/rc.d/init.d/kudzu {start|stop}

- {base} has run
   /etc/rc.d/init.d/kudzu: line 81: return: can only `return' from
   a function or sourced script
  kudzu is stopped
   /etc/rc.d/init.d/kudzu: line 84: return: can only `return' from
   a function or sourced script


Expected Results: 
- Usage: /etc/rc.d/init.d/kudzu {start|stop|status}

- kudzu is stopped


Additional info:

Tested on both Kudzu 0.99.96 (Phoebe 8.0.94) and Kudzu 0.99.97 (Rawhide).
Comment 1 Bill Nottingham 2003-02-25 18:18:17 EST
fixed in 99.99.

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