Bug 91803 - Carriage return missing in /etc/init.d/named
Summary: Carriage return missing in /etc/init.d/named
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: bind
Version: 9
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-05-28 13:31 UTC by Arnaud MOURONVAL
Modified: 2007-03-27 04:04 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-05-28 13:42:21 UTC
Embargoed:


Attachments (Terms of Use)

Description Arnaud MOURONVAL 2003-05-28 13:31:53 UTC
Description of problem:

An "echo" is missing in the file '/etc/init.d/named'.

As provided, when the bind daemon starts, the script does not print a carriage
return.

Start function should be :
start() {
        # Start daemons.
        if [ -n "`/sbin/pidof named`" ]; then
                echo -n $"$prog: already running"
                return 1
        fi
        echo -n $"Starting $prog: "
        if [ -n "${ROOTDIR}" -a "x${ROOTDIR}" != "x/" ]; then
                OPTIONS="${OPTIONS} -t ${ROOTDIR}"
        fi
        daemon /usr/sbin/named -u named ${OPTIONS}
        RETVAL=$?
        [ $RETVAL -eq 0 ] && touch /var/lock/subsys/named
        echo
        return $RETVAL
}

Notice the echo on before the return

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


How reproducible:

Just boot your system and watch the start of all daemons

Comment 1 Daniel Walsh 2003-05-28 13:42:21 UTC
This has been fixed in the latest bind version on RawHide.

Dan


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