From owner-freebsd-hackers Thu May 1 04:40:48 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id EAA18839 for hackers-outgoing; Thu, 1 May 1997 04:40:48 -0700 (PDT) Received: from labs.usn.blaze.net.au (labs.usn.blaze.net.au [203.17.53.30]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id EAA18834 for ; Thu, 1 May 1997 04:40:40 -0700 (PDT) Received: from labs.usn.blaze.net.au (local [127.0.0.1]) by labs.usn.blaze.net.au (8.8.5/8.8.5) with ESMTP id VAA04588; Thu, 1 May 1997 21:40:22 +1000 (EST) Message-Id: <199705011140.VAA04588@labs.usn.blaze.net.au> X-Mailer: exmh version 2.0gamma 1/27/96 To: "Jordan K. Hubbard" cc: hackers@freebsd.org Subject: Re: /usr/src/etc/Makefile install rule. In-reply-to: Your message of "Wed, 30 Apr 1997 23:21:36 MST." <18731.862467696@time.cdrom.com> X-Face: (W@z~5kg?"+5?!2kHP)+l369.~a@oTl^8l87|/s8"EH?Uk~P#N+Ec~Z&@;'LL!;3?y Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 01 May 1997 21:40:22 +1000 From: David Nugent Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Would anyone have any objections if this suddenly went from > being a no-op to installing: > > rc > rc.firewall > rc.network > rc.serial > rc.pccard > etc.i386/rc.i386 > > Into /etc? No major objection, but did you resolve the "undefined variable" problem where something not configured in /etc/rc.conf (sysconfig) would cause problems? IIRC that's what motivated this move, and I honestly wouldn't like to see any automated install unless and until that was refined. > For rc.conf, we might also emit a little message at install time which > reminds those looking through the output to migrate their old rc.conf > by hand. rc.local is just a skeleton and should never need updating - > it's purely a user configuration choice. Yep, that's ok. Even better would be some coding in /etc/rc and friends which warned that a specific variable is not defined. And log it, if syslog happens to be running and partitions have been mounted. A simple shell function could be passed a variable name to do the test and logging. Regards, David