From owner-freebsd-current@FreeBSD.ORG Sun Sep 12 20:07:56 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E30E16A4CE for ; Sun, 12 Sep 2004 20:07:56 +0000 (GMT) Received: from nic.ach.sch.gr (nic.sch.gr [194.63.238.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id B168743D45 for ; Sun, 12 Sep 2004 20:07:55 +0000 (GMT) (envelope-from keramida@linux.gr) Received: (qmail 17231 invoked by uid 207); 12 Sep 2004 20:07:54 -0000 Received: from keramida@linux.gr by nic by uid 201 with qmail-scanner-1.21 (sophie: 3.04/2.19/3.81. Clear:RC:1(81.186.70.47):. Processed in 1.187073 secs); 12 Sep 2004 20:07:54 -0000 Received: from dialup47.ach.sch.gr (HELO gothmog.gr) ([81.186.70.47]) (envelope-sender ) by nic.sch.gr (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 12 Sep 2004 20:07:52 -0000 Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.13.1/8.13.1) with ESMTP id i8CHOGgZ001144 for ; Sun, 12 Sep 2004 20:24:16 +0300 (EEST) (envelope-from keramida@linux.gr) Received: (from giorgos@localhost) by gothmog.gr (8.13.1/8.13.1/Submit) id i8CFbAW5024399; Sun, 12 Sep 2004 18:37:10 +0300 (EEST) (envelope-from keramida@linux.gr) Date: Sun, 12 Sep 2004 18:37:10 +0300 From: Giorgos Keramidas To: Rob Message-ID: <20040912153710.GC54693@gothmog.gr> References: <4140C31C.8020801@pythonemproject.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4140C31C.8020801@pythonemproject.com> Phone: +30-2610-312145 Mobile: +30-6944-116520 cc: freebsd-current@freebsd.org Subject: Re: warning messages from root mount until login, also my rc.conf file X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Sep 2004 20:07:56 -0000 On 2004-09-09 13:54, Rob wrote: > Sorry about attaching files but can't seem to put them inline with > mozilla. Perhaps Sylpheed would work better. Copy/paste works in mozilla as expected, but you should probably stick to attachments for material that the text formatting matters at all, since Mozilla and practically all the GUI mailers that I've tried tend to do strange and evil things to the formatting of text. > #!/bin/sh > # > [snip a file that looks a lot like a copy of defaults/rc.conf in /etc]. Hmmm, this is wrong. Definitely wrong. The `rc.conf' file in /etc is meant to be a much smaller file than `/etc/defaults/rc.conf' and it most certainly does *NOT* need an initial #!/bin/sh line. The `/etc/rc.conf' file is not supposed to be a copy of the entire `/etc/defaults/rc.conf' file. It should only contain overrides (as the comment of the first paragraph below mentions: > # This is rc.conf - a file full of useful variables that you can set > # to change the default startup behavior of your system. You should > # not edit this file! Put any overrides into one of the ${rc_conf_files} > # instead and you will be able to update these defaults later without > # spamming your local configuration information. If this is not /etc/rc.conf but /etc/defaults/rc.conf please read again the comments above. You should not edit this file directly! If this is your /etc/rc.conf though, make sure you trim away whatever is not needed. An rc.conf file that would work fine for a workstation with one network interface card and several customizations for local services and/or options could look like this (most of this is copied from my own rc.conf at home): # system console options: cursor="destructive" keyrate="200.35" # misc options: clear_tmp_enable="YES" dumpdev="/dev/ad0s3b" # network related options: hostname="pc15.example.net" network_interfaces="lo0 sis0" ifconfig_lo0="inet 127.0.0.1" ifconfig_sis0="inet 192.168.0.30" # firewall setup: firewall_enable="YES" firewall_quiet="YES" firewall_logging="YES" firewall_type="/etc/ipfw.rules" # 1. enabled services: usbd_enable="YES" syslogd_enable="YES" syslogd_flags="-s -s" # 2. disabled services: inetd_enable="NO" sshd_enable="NO" rpc_lockd_enable="NO" rpc_statd_enable="NO" portmap_enable="NO" devd_enable="NO" - Giorgos