Description of problem:
I tried to use my standard
if service X status; then service X reload; else service X start; fi
with X=xinetd today and it failed because service xinetd status always returns
success even when xinied is stopped.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. service xinetd stop
2. service xined status
3. echo $?
Something else than 0
Quick patch to adress the issue
--- xinetd.orig 2006-10-01 22:33:47.000000000 +0200
+++ xinetd 2007-03-19 10:46:49.000000000 +0100
@@ -103,6 +103,7 @@
xinetd-2.3.14-9.fc6 has been pushed for fc6, which should resolve this issue. If these problems are still present in this version, then please make note of it in this bug report.