Bug 91803 - Carriage return missing in /etc/init.d/named
Carriage return missing in /etc/init.d/named
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: bind (Show other bugs)
9
All Linux
low Severity medium
: ---
: ---
Assigned To: Daniel Walsh
Ben Levenson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-05-28 09:31 EDT by Arnaud MOURONVAL
Modified: 2007-03-27 00:04 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-05-28 09:42:21 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Arnaud MOURONVAL 2003-05-28 09:31:53 EDT
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 09:42:21 EDT
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.