Urgent!. Problem with / etc / rc.conf

Polytropon freebsd at edvax.de
Sun Nov 6 14:48:33 UTC 2011


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, ...


More information about the freebsd-questions mailing list