On 06/10/2012 04:34 PM, Jan Stary wrote:
Ok, I have restored original rc.conf file, and created rc.conf.local with
my options ... and works.

But then a doubt emerges. What files are not recommended to touch between
upgrades? Where can I found this info??

http://www.openbsd.org/faq/faq10.html

??? /etc/rc.conf - Configuration file used by /etc/rc to set startup
parameters for the system. Should not be edited.
??? /etc/rc.conf.local - Configuration file that overrides settings in
/etc/rc.conf so you don't have to touch /etc/rc.conf itself, which is
important when upgrading your system.


Yes I see this previosuly ... But exists another file apart of rc.conf??

Everything is in man rc on OpenBSD. On other systems it may differ
(and differ on a lot of them) so you need to read their docs.

Ok, I will try to explian: I have used OpenBSD until 4.0 version ..
After this, I have to use another OSes to accomplish my needs
(freebsd, solaris, AIX, linux, windows server, etc)... Until now,
that I can use OpenBSD another time ...

In those days (versions 2.x and 3.x until 4.0 version) you can
modify rc.conf for soft base and use rc.conf.local (if I remember
well in 3.x versions) for local processes,and faq recomends to do
this in this way ... and in man page it doesn't says nothing about
"Configuration file used by /etc/rc to set startup parameters for
the system. Should not be edited" in those days ...

Every version of the rc.conf manpage between 2.7 and 4.0
advises you to leave it alone and use rc.conf.local instead
http://www.openbsd.org/cgi-bin/man.cgi?query=rc.conf&apropos=0&sektion=0&manpath=OpenBSD+2.7&arch=i386&format=html

Where says here "Should not be edited."??? Says: "As an alternative, it is also possible to leave the /etc/rc.conf file un-touched, and instead create and edit a new /etc/rc.conf.local file. Variables set in this file will override variables previously set in /etc/rc.conf." ... Nothing about problems between upgrades ...

and I repeat "In those days (versions 2.x and 3.x until 4.0 version) you can modify rc.conf for soft base and use rc.conf.local for local processes,and faq recomends to do this in this way ..."


Yes, maybe I need to update my knowledge about OpenBSD, but I think
it is normal for a person who had previously used, that the
configuration of rc.conf went in the same manner (without having to
read the man page). Or not?

No, it is not normal to assume that things are the same as six years ago.
(But in this case they are: use rc.conf.local instead.)

Correct, but I didn't expect this type of change in rc.conf ...



--
CL Martinez
carlopmart {at} gmail {d0t} com

Reply via email to