From owner-freebsd-bugs Sat Apr 20 10:20:20 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3453337B405 for ; Sat, 20 Apr 2002 10:20:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3KHK1820036; Sat, 20 Apr 2002 10:20:01 -0700 (PDT) (envelope-from gnats) Received: from sep.oldach.net (sep.oldach.net [194.180.25.6]) by hub.freebsd.org (Postfix) with ESMTP id 6F93037B420 for ; Sat, 20 Apr 2002 10:11:05 -0700 (PDT) Received: from sep.oldach.net (localhost [127.0.0.1]) by sep.oldach.net (8.12.3/8.12.3/hmo18apr02) with ESMTP id g3KHB2WN022805; Sat, 20 Apr 2002 19:11:02 +0200 (CEST) (envelope-from hmo@sep.oldach.net) Received: (from hmo@localhost) by sep.oldach.net (8.12.3/8.12.3/Submit) id g3KHAxTb022804; Sat, 20 Apr 2002 19:10:59 +0200 (CEST) (envelope-from hmo) Message-Id: <200204201710.g3KHAxTb022804@sep.oldach.net> Date: Sat, 20 Apr 2002 19:10:59 +0200 (CEST) From: Helge Oldach Reply-To: Helge Oldach To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: conf/37292: make program names in /etc/defaults/rc.conf consistent Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 37292 >Category: conf >Synopsis: make program names in /etc/defaults/rc.conf consistent >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Apr 20 10:20:00 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Helge Oldach >Release: FreeBSD 4.5-STABLE i386 >Organization: >Environment: System: FreeBSD sep.oldach.net 4.5-STABLE FreeBSD 4.5-STABLE #0: Thu Apr 18 17:44:21 CEST 2002 toor@sep.oldach.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: /etc/defaults/rc.conf has most program names with their full path. There are some few exceptions: named_program="named" # path to named, if you want a different one. ntpdate_program="ntpdate" # path to ntpdate, if you want a different one. xntpd_program="ntpd" # path to ntpd, if you want a different one. router="routed" # Name of routing daemon to use if enabled. For reasons of consistency, and to avoid that fiddling with PATH would have unwanted side effects these should be change to include the full path. >How-To-Repeat: >Fix: --- src/etc/defaults/rc.conf Mon Apr 15 16:04:21 2002 +++ src/etc/defaults/rc.conf.new Sat Apr 20 19:07:45 2002 @@ -122,7 +122,7 @@ # details. # named_enable="NO" # Run named, the DNS server (or NO). -named_program="named" # path to named, if you want a different one. +named_program="/usr/sbin/named" # path to named, if you want a different one. #named_flags="-u bind -g bind" # Flags for named # @@ -177,10 +177,10 @@ timed_enable="NO" # Run the time daemon (or NO). timed_flags="" # Flags to timed (if enabled). ntpdate_enable="NO" # Run ntpdate to sync time on boot (or NO). -ntpdate_program="ntpdate" # path to ntpdate, if you want a different one. +ntpdate_program="/usr/sbin/ntpdate" # path to ntpdate, if you want a different one. ntpdate_flags="-b" # Flags to ntpdate (if enabled). xntpd_enable="NO" # Run ntpd Network Time Protocol (or NO). -xntpd_program="ntpd" # path to ntpd, if you want a different one. +xntpd_program="/usr/sbin/ntpd" # path to ntpd, if you want a different one. xntpd_flags="-p /var/run/ntpd.pid" # Flags to ntpd (if enabled). # Network Information Services (NIS) options: All need portmap_enable="YES" ### @@ -200,7 +200,7 @@ static_routes="" # Set to static route list (or leave empty). gateway_enable="NO" # Set to YES if this host will be a gateway. router_enable="NO" # Set to YES to enable a routing daemon. -router="routed" # Name of routing daemon to use if enabled. +router="/sbin/routed" # Name of routing daemon to use if enabled. router_flags="-q" # Flags for routing daemon. mrouted_enable="NO" # Do multicast routing (see /etc/mrouted.conf). mrouted_flags="" # Flags for multicast routing daemon. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message