Date: Tue, 17 Jun 1997 18:14:18 -0400 (EDT) From: Karl Heller <heller@socko2.cdnow.com> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: conf/3893: ndc uses /etc/sysconfig instead of /etc/rc.conf Message-ID: <199706172214.SAA06952@socko2.cdnow.com> Resent-Message-ID: <199706172220.PAA11936@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 3893 >Category: conf >Synopsis: ndc uses /etc/sysconfig instead of /etc/rc.conf >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jun 17 15:20:00 PDT 1997 >Last-Modified: >Originator: Karl Heller >Organization: CDnow - The World's Largest Online Music Store http://cdnow.com >Release: FreeBSD 2.2.2-RELEASE i386 >Environment: Name server, sitting on a nice metal rack. =) >Description: /usr/sbin/ndc loads /etc/sysconfig. In 2.2.2, this file is /etc/rc.conf. >How-To-Repeat: Set: named_enable="YES" # Run named, the DNS server (or NO). named_flags="-b /etc/namedb/named.boot" # Flags to named (if enabled). in /etc/rc.conf do a "ndc start". named will not start since it can not find named.boot All references to variable in /etc/sysconfig are without an underscore. >Fix: Change /usr/sbin/ndc to load /etc/rc.conf instead of /etc/sysconfig. Modify /etc/rc.conf and remove "_" in named_enable and named_flags or ( better ) add "_" to all named variables in ndc. >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706172214.SAA06952>