From owner-freebsd-questions@FreeBSD.ORG Sun Nov 6 14:48:33 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A22C1065673 for ; Sun, 6 Nov 2011 14:48:33 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id BFC7D8FC0A for ; Sun, 6 Nov 2011 14:48:32 +0000 (UTC) Received: from r56.edvax.de (port-92-195-104-16.dynamic.qsc.de [92.195.104.16]) by mx02.qsc.de (Postfix) with ESMTP id D8F181EA77; Sun, 6 Nov 2011 15:48:31 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id pA6EmVji002060; Sun, 6 Nov 2011 15:48:31 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 6 Nov 2011 15:48:31 +0100 From: Polytropon To: Bill Tillman Message-Id: <20111106154831.d4eb2edf.freebsd@edvax.de> In-Reply-To: <1320585834.66067.YahooMailNeo@web36502.mail.mud.yahoo.com> References: <288821E5-0392-49CA-BC85-0E550769C732@gmail.com> <8D04DED6-9175-42C7-B553-BAC1EA129E68@gmail.com> <1320585834.66067.YahooMailNeo@web36502.mail.mud.yahoo.com> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@FreeBSD.org" Subject: Re: Urgent!. Problem with / etc / rc.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Nov 2011 14:48:33 -0000 On Sun, 6 Nov 2011 05:23:54 -0800 (PST), Bill Tillman wrote: > Wow, to reinstall everything is like throwing the baby out > with the bath water. Rather drastic. There are some simple > steps you could have taken to get things back to normal but > without knowing what you had in your original rc.conf file > that's probably oversimplifying things. The defaults in /etc/defaults/rc.conf should be fully sufficient to bring the system up. From this state, running sysinstall could be used to choose settings that will cause /etc/rc.conf to be updated. Furthermore /etc/defaults/rc.conf can be used as a template for settings. Depending on what a system actually will be used for, there can be some "strange" settings required, such as keymap or services to be enabled at boot. Using some web web search, usabe /etc/rc.conf templates can also be revealed. Of course they need changes to conform to local needs. > I keep a little script in my /root/bin folder to backup > my config files periodically to another server. This is > something you should look into. We all make mistakes and > when we do, a backup copy can make the difference between > "oh wow" and "oh f***". I also have a copy /root/etc for the files I have changed, and I keep my changes in a CVS repository. I know this may sound overcomplex at _this_ particular problem, but it helps when you have to deal with various systems and sometimes need to undo changes. >From that repository, I can restore any version from any system. Even in worst case obtaining a complete set of configuration files is possible. The difference in the RESULT between > and >> can be immense, and having a backup you can _quickly_ access is really a happy "oh wow", which is more pleasant than "oh f***", especially if the last one is expressed by others. :-) Politely I'd also like to mention that there are no things called "folder" on FreeBSD in particular, and on operating systems in general. Those things are properly called directories. ;-) PS. Please wrap your lines < 72. Some MUAs don't do that automatically. Thanks! -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...