Date: Thu, 16 Aug 2001 09:08:00 +0200 (CEST) From: Hans Hoppe <h.hoppe@kabelfoon.nl> To: FreeBSD-gnats-submit@freebsd.org Subject: conf/29764: sysinstall puts confusing message in /etc/rc.conf about 'this file' Message-ID: <20010816070800.98CDB5D001@klingon.kabelfoon.nl>
index | next in thread | raw e-mail
>Number: 29764
>Category: conf
>Synopsis: sysinstall puts confusing message in /etc/rc.conf about 'this file'
>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: Thu Aug 16 00:10:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Hans Hoppe
>Release: FreeBSD 4.3-STABLE i386
>Organization:
Kabelfoon BV
>Environment:
System: FreeBSD klingon.kabelfoon.intern 4.3-STABLE FreeBSD 4.3-STABLE #6: Wed Jul 4 16:46:54 CEST 2001 kdhn@klingon.kabelfoon.intern:/usr/src/sys/compile/LDAP i386
>Description:
/stand/sysinstall puts the following text in /etc/rc.conf:
# This file now contains just the overrides from /etc/defaults/rc.conf
# please make all changes to this file.
There could be confusion whether 'this file' on the second line refers to
/etc/defaults/rc.conf or /etc/rc.conf.
>How-To-Repeat:
Let sysinstall generate a /etc/rc.conf
>Fix:
Suggested diff for config.c:
--- usr/src/release/sysinstall/config.c.orig Wed Jul 4 08:56:37 2001
+++ usr/src/release/sysinstall/config.c Thu Aug 16 08:49:25 2001
@@ -389,7 +389,7 @@
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, "# please make all changes to /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
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010816070800.98CDB5D001>
