Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 237844 - command service avahi-daemon status returns wrong value
command service avahi-daemon status returns wrong value
Product: Fedora
Classification: Fedora
Component: avahi (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Martin Bacovsky
Depends On:
Blocks: 237945
  Show dependency treegraph
Reported: 2007-04-25 13:11 EDT by vikram goyal
Modified: 2007-11-30 17:12 EST (History)
0 users

See Also:
Fixed In Version: avahi-0.6.16-4.fc6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-04-26 09:11:38 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description vikram goyal 2007-04-25 13:11:35 EDT
Description of problem:
service avahi-daemon status return value $? is 0 even if it is not running.

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

How reproducible:

Steps to Reproduce:
1.service avahi-daemon status
2.echo $?
Actual results:

Expected results:

Additional info:
modyfing line 83 to:

$? = 0 ] && echo $"Avahi daemon is running" || ( echo $"Avahi daemon is not
running" ; exit 1 )

should solve it
Comment 1 Martin Bacovsky 2007-04-26 09:11:38 EDT
This issue should be fixed in avahi-0.6.16-4.fc6

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