From owner-freebsd-bugs Wed Aug 15 15:30:10 2001 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 567E837B40C for ; Wed, 15 Aug 2001 15:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f7FMU2h17595; Wed, 15 Aug 2001 15:30:02 -0700 (PDT) (envelope-from gnats) Received: from xeon.unixathome.org (cr1046889-a.slnt1.on.wave.home.com [24.102.95.54]) by hub.freebsd.org (Postfix) with ESMTP id 610B437B405 for ; Wed, 15 Aug 2001 15:22:55 -0700 (PDT) (envelope-from dan@xeon.unixathome.org) Received: (from dan@localhost) by xeon.unixathome.org (8.11.3/8.11.3) id f7FL8Jk00861; Wed, 15 Aug 2001 17:08:19 -0400 (EDT) (envelope-from dan) Message-Id: <200108152108.f7FL8Jk00861@xeon.unixathome.org> Date: Wed, 15 Aug 2001 17:08:19 -0400 (EDT) From: dan@freebsddiary.org Reply-To: dan@freebsddiary.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: bin/29736: remove ambiguous statements from /etc/rc.conf 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: 29736 >Category: bin >Synopsis: make sure the user knows to modify /etc/rc.conf not /etc/defaults/rc.conf. >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: Wed Aug 15 15:30:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Dan Langille >Release: FreeBSD 4.3-STABLE i386 >Organization: The FreeBSD Diary >Environment: System: FreeBSD xeon.unixathome.org 4.3-STABLE FreeBSD 4.3-STABLE #0: Mon Aug 6 23:07:49 EDT 2001 root@xeon.unixathome.org:/usr/src/sys/compile/XEON i386 >Description: At present, users see this: $ more /etc/rc.conf # This file now contains just the overrides from /etc/defaults/rc.conf # please make all changes to this file. That is misleading some of them. I suggest is should say: $ more /etc/rc.conf # This file (/etc/rc.conf) now contains just the overrides from /etc/defaults/rc.conf # please make all changes to /etc/rc.conf. >How-To-Repeat: >Fix: --- config.c.org Wed Aug 15 13:10:49 2001 +++ config.c Wed Aug 15 16:34:58 2001 @@ -390,8 +390,8 @@ if (!rcSite) return; if (write_header) { - fprintf(rcSite, "# This file now contains just the overrides from /etc/defaults/rc.conf\n"); - fprintf(rcSite, "# please make all changes to this file.\n\n"); + fprintf(rcSite, "# This file (/etc/rc.conf) now contains just the overrides from /etc/defaults/rc.conf\n"); + fprintf(rcSite, "# please make all changes to this /etc/rc.conf.\n\n"); fprintf(rcSite, "# Enable network daemons for user convenience.\n"); if ((t_loc = time(NULL)) != -1 && (cp = ctime(&t_loc))) fprintf(rcSite, "# Created: %s", cp); >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message