Date: Tue, 28 Jul 1998 16:46:10 +0200 (CEST) From: frf@xocolatl.com To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: bin/7425: ndc does not use named_program from rc.conf Message-ID: <199807281446.QAA09942@itchy.tesco-stores.cz>
index | next in thread | raw e-mail
>Number: 7425
>Category: bin
>Synopsis: ndc does not use named_program from rc.conf
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Jul 28 07:50:00 PDT 1998
>Last-Modified:
>Originator: frf
>Organization:
Very little...
>Release: FreeBSD 2.2.6-STABLE i386
>Environment:
FreeBSD itchy.tesco-stores.cz 2.2.6-STABLE FreeBSD 2.2.6-STABLE
#1: Tue Jul 21 14:32:34 CEST 1998
root@itchy.tesco-stores.cz:/usr/src/sys/compile/ITCHY i386
>Description:
ndc hardcodes 'named' instead of using $named_program from rc.conf
>How-To-Repeat:
>Fix:
--- usr.sbin/ndc/ndcedit.bak Tue Jul 28 16:35:31 1998
+++ usr.sbin/ndc/ndcedit.awk Tue Jul 28 16:36:08 1998
@@ -15,7 +15,7 @@
if ($1 == "named") {
printf "\t\t# $named_flags is imported from /etc/rc.conf\n"
printf "\t\tif [ \"X${named_enable}\" = X\"YES\" ]; then\n"
- printf "\t\t\tnamed ${named_flags} && {\n"
+ printf "\t\t\t${named_program} ${named_flags} && {\n"
getline
printf "\t%s\n", $0
getline
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807281446.QAA09942>
