Date: Thu, 3 May 2001 10:18:24 +0400 (MSD)
From: maxim@macomnet.ru
To: FreeBSD-gnats-submit@freebsd.org
Subject: misc/27051: [PATCH] /usr/sbin/named.restart does not use ${named_program} from rc.conf
Message-ID: <200105030618.f436IOm20150@news1.macomnet.ru>
next in thread | raw e-mail | index | archive | help
>Number: 27051
>Category: misc
>Synopsis: [PATCH] /usr/sbin/named.restart 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: Wed May 02 23:20:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Maxim Konovalov
>Release: FreeBSD 5.0-CURRENT
>Organization:
>Environment:
FreeBSD 5.0-CURRENT
>Description:
/usr/sbin/named.restart does not use ${named_program} from rc.conf
>How-To-Repeat:
Change named_program in /etc/rc.conf
Run /usr/sbin/named.restart
>Fix:
--- named.restart.sh.orig Sun Apr 15 20:28:15 2001
+++ named.restart.sh Sun Apr 15 20:35:52 2001
@@ -10,4 +10,4 @@
elif [ -r /etc/rc.conf ]; then
. /etc/rc.conf
fi
-exec %DESTSBIN%/%INDOT%ndc restart ${named_flags}
+exec %DESTSBIN%/%INDOT%ndc -n ${named_program} restart ${named_flags}
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105030618.f436IOm20150>
