From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 Description of problem: Starting named lacks a final newline. Also stopping it does not write the success or failure note. I fixed this by adding a final "echo" in the start() function: daemon /usr/sbin/named -u named ${OPTIONS} RETVAL=$? + echo [ $RETVAL -eq 0 ] && touch /var/lock/subsys/named return $RETVAL and in stop(): # Stop daemons. echo -n $"Stopping $prog: " - /usr/sbin/rndc stop + /usr/sbin/rndc stop && success $"$base shutdown" || failure $"$base shutdown" RETVAL=$? Another thing, starting named always writes success even if the server failed to start. This is because /usr/sbin/named always returns 0, that should be fixed. Version-Release number of selected component (if applicable): bind-9.2.1-16 How reproducible: Always Steps to Reproduce: For the first bug: 1. service named restart For the second: 1. Corrupt your /etc/named.conf 2. service named start Actual Results: First bug: [root@shalil root]# service named restart Stopping named: [root@shalil root]# [ OK ] Second bug: It writes OK. Expected Results: First bug: [root@gilas root]# service named restart Stopping named: [ OK ] Starting named: [ OK ] [root@gilas root]# Second bug: It should fail. Additional info:
Fixed in RawHide.