From owner-freebsd-current@FreeBSD.ORG Sun Sep 12 23:30:24 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 BEB5916A4CE for ; Sun, 12 Sep 2004 23:30:24 +0000 (GMT) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.202.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7216A43D39 for ; Sun, 12 Sep 2004 23:30:24 +0000 (GMT) (envelope-from rob@pythonemproject.com) Received: from pythonemproject.com (c-67-169-203-186.client.comcast.net[67.169.203.186]) by comcast.net (sccrmhc13) with ESMTP id <2004091223302301600hli93e> (Authid: europax); Sun, 12 Sep 2004 23:30:23 +0000 Message-ID: <4144DC4F.10209@pythonemproject.com> Date: Sun, 12 Sep 2004 16:31:27 -0700 From: Rob User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Giorgos Keramidas References: <4140C31C.8020801@pythonemproject.com> <20040912153710.GC54693@gothmog.gr> In-Reply-To: <20040912153710.GC54693@gothmog.gr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 Reply-To: rob@pythonemproject.com 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 23:30:24 -0000 Giorgos Keramidas wrote: >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 > >_______________________________________________ >freebsd-current@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-current >To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > > > With a couple of exceptions, like nfs, I didnt think I had unused info in there. I will take a look at it and also what I posted. Maybe I goofed and did post defaults/etc Rob