From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20060103 Fedora/1.5-4 Firefox/1.5
Description of problem:
Starting the avahi-dnsconfd initscript fails, although avahi-daemon is running. The cause is a missing ";;" inside a case statement.
Besides, the avahi-dnsconfd service is not "visible" to tools such as chkconfig or system-config-services because its initscript wrongly states "avahi-daemon" as the service name, which is (not surprisingly) already used for the avahi-daemon itself.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Make sure avahi-daemon is running.
2. service avahi-dnsconfd start
Actual Results: The initscript errors out without starting avahi-dnsconfd.
Expected Results: avahi-dnsconfd should have been started successfully.
# service avahi-daemon status
Avahi daemon is running
# service avahi-dnsconfd start
/etc/init.d/avahi-dnsconfd: line 91: syntax error near unexpected token `)'
/etc/init.d/avahi-dnsconfd: line 91: ` *)'
Created attachment 123596 [details]
A patch for the initscript.
Sorry, apparently I was wrong as to the reason for the "invisibility" of the
avahi-dnsconfd service: The initscript simply isn't "chkconfig --add"ed in the
RPM package's post-install scriptlet yet.
OK, fixed with avahi-0.6.4-4 in rawhide-20060124 / FC-5t3 .
The patch below contains some more (mainly minor) corrections to the
initscript. A different lockfile name is given so that it doesn't collide with
avahi-daemon. Just some suggestions for an overhaul... :) I realize the
initscript is not used by default yet (avahi-0.6.6-2).
Created attachment 124466 [details]
A patch for the avahi-dnsconfd initscript of avahi-0.6.6-2.
avahi-dnsconfd is still not "chkconfig --add"ed in 0.6.6-3.1 (see comment 2).
Re comment 6:
This has been fixed in the meantime (I've looked at 0.6.10-1.FC5).