* [gentoo-user] Default settings in /etc/rc.conf
@ 2012-02-05 17:25 Tanstaafl
2012-02-05 18:41 ` Dale
0 siblings, 1 reply; 8+ messages in thread
From: Tanstaafl @ 2012-02-05 17:25 UTC (permalink / raw
To: gentoo-user
Can someone please confirm that the commented settings in /etc/rc.conf
are the defaults?
Ie, when running etc-update after updating openrc, I had specifically
the entry:
rc_parallel="NO"
Now, when updating from 0.9.4 to 0.9.8.4, it wants to completely remove
this setting and all related comments to it.
I always hate it when the header comments for config files -
*especially* important ones like rc.conf - do not *explicitly* state
what the *defaults*are, and/or that the *commented* settings *are* the
defaults.
So, is
rc_parallel="NO"
the default or not?
What about
#rc_interactive="YES"
Ie, if I leave it commented like that, is it set to YES or NO?
Thanks,
Charles
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Default settings in /etc/rc.conf
2012-02-05 17:25 [gentoo-user] Default settings in /etc/rc.conf Tanstaafl
@ 2012-02-05 18:41 ` Dale
2012-02-05 18:49 ` Tanstaafl
0 siblings, 1 reply; 8+ messages in thread
From: Dale @ 2012-02-05 18:41 UTC (permalink / raw
To: gentoo-user
Tanstaafl wrote:
> Can someone please confirm that the commented settings in /etc/rc.conf
> are the defaults?
>
> Ie, when running etc-update after updating openrc, I had specifically
> the entry:
>
> rc_parallel="NO"
>
> Now, when updating from 0.9.4 to 0.9.8.4, it wants to completely remove
> this setting and all related comments to it.
>
> I always hate it when the header comments for config files -
> *especially* important ones like rc.conf - do not *explicitly* state
> what the *defaults*are, and/or that the *commented* settings *are* the
> defaults.
>
> So, is
>
> rc_parallel="NO"
>
> the default or not?
>
> What about
>
> #rc_interactive="YES"
>
> Ie, if I leave it commented like that, is it set to YES or NO?
>
> Thanks,
>
> Charles
>
>
They removed the setting because it broke a good bit of systems. No one
wanted to fix it, so they got rid of it. From my understanding, if you
still want the setting, you can leave it there. If it makes your system
break tho, you get to keep all the pieces and complain to the mirror. ;-)
Dale
:-) :-)
--
I am only responsible for what I said ... Not for what you understood or
how you interpreted my words!
Miss the compile output? Hint:
EMERGE_DEFAULT_OPTS="--quiet-build=n"
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Default settings in /etc/rc.conf
2012-02-05 18:41 ` Dale
@ 2012-02-05 18:49 ` Tanstaafl
2012-02-05 19:00 ` Dale
2012-02-05 20:01 ` Alan McKinnon
0 siblings, 2 replies; 8+ messages in thread
From: Tanstaafl @ 2012-02-05 18:49 UTC (permalink / raw
To: gentoo-user
On 2012-02-05 1:41 PM, Dale <rdalek1967@gmail.com> wrote:
> They removed the setting because it broke a good bit of systems. No one
> wanted to fix it, so they got rid of it. From my understanding, if you
> still want the setting, you can leave it there.
Yeah, I fugured out that much, but my main question was about the
defaults...
What *are* the defaults? Is the example setting that is commented out
the default?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Default settings in /etc/rc.conf
2012-02-05 18:49 ` Tanstaafl
@ 2012-02-05 19:00 ` Dale
2012-02-05 19:56 ` Tanstaafl
2012-02-05 20:01 ` Alan McKinnon
1 sibling, 1 reply; 8+ messages in thread
From: Dale @ 2012-02-05 19:00 UTC (permalink / raw
To: gentoo-user
Tanstaafl wrote:
> On 2012-02-05 1:41 PM, Dale <rdalek1967@gmail.com> wrote:
>> They removed the setting because it broke a good bit of systems. No one
>> wanted to fix it, so they got rid of it. From my understanding, if you
>> still want the setting, you can leave it there.
>
> Yeah, I fugured out that much, but my main question was about the
> defaults...
>
> What *are* the defaults? Is the example setting that is commented out
> the default?
>
>
The default is no. The reason I know this is that is the supported way
to boot, one service at a time. Also, that is the way it does when the
option is not in the file at all.
If it defaults to yes, then it would break all those systems that had to
cut it off after trying it when turned on. Some services just can't
start fast enough I guess. It has been a while since I tried that
option but it did work on my slower x86 rig. I think it is the newer
multi-core machines that have issues.
My rule of thumb on updates, if I haven't changed the file, I let it
update it as it sees fit. If it is a file I edited, like fstab, rc-conf
etc, then I do the updates line by line myself. The exception would be
this one since it is not a line that I changed.
Dale
:-) :-)
--
I am only responsible for what I said ... Not for what you understood or
how you interpreted my words!
Miss the compile output? Hint:
EMERGE_DEFAULT_OPTS="--quiet-build=n"
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Default settings in /etc/rc.conf
2012-02-05 19:00 ` Dale
@ 2012-02-05 19:56 ` Tanstaafl
0 siblings, 0 replies; 8+ messages in thread
From: Tanstaafl @ 2012-02-05 19:56 UTC (permalink / raw
To: gentoo-user
On 2012-02-05 2:00 PM, Dale <rdalek1967@gmail.com> wrote:
> Tanstaafl wrote:
>> On 2012-02-05 1:41 PM, Dale<rdalek1967@gmail.com> wrote:
>>> They removed the setting because it broke a good bit of systems. No one
>>> wanted to fix it, so they got rid of it. From my understanding, if you
>>> still want the setting, you can leave it there.
>> Yeah, I figured out that much, but my main question was about the
>> defaults...
>>
>> What *are* the defaults? Is the example setting that is commented out
>> the default?
> The default is no.
Thanks for trying to answer Dale, but you are missing the point of my
question.
I'm not asking about that one specific setting, I'm asking about ALL of
the settings in that file.
Again - are the commented out example settings the *default* settings?
Or, do I need to *uncomment* them in order to set them to the setting as
shown in the example *commented* setting?
My point also is that neither the comments in the header for rc.conf nor
any of the comments for each section explicitly say what the *defaults*
*will* *be*, and that is, imnsho, a really bad thing to leave to the
imagination, especially for important config files like rc.conf (where a
mistake can leave you with an unbootable system).
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Default settings in /etc/rc.conf
2012-02-05 18:49 ` Tanstaafl
2012-02-05 19:00 ` Dale
@ 2012-02-05 20:01 ` Alan McKinnon
2012-02-06 5:10 ` Michael Orlitzky
1 sibling, 1 reply; 8+ messages in thread
From: Alan McKinnon @ 2012-02-05 20:01 UTC (permalink / raw
To: gentoo-user
On Sun, 05 Feb 2012 13:49:52 -0500
Tanstaafl <tanstaafl@libertytrek.org> wrote:
> On 2012-02-05 1:41 PM, Dale <rdalek1967@gmail.com> wrote:
> > They removed the setting because it broke a good bit of systems.
> > No one wanted to fix it, so they got rid of it. From my
> > understanding, if you still want the setting, you can leave it
> > there.
>
> Yeah, I fugured out that much, but my main question was about the
> defaults...
>
> What *are* the defaults? Is the example setting that is commented out
> the default?
>
You cannot trust the commented examples in rc.conf to be the defaults.
I reckon they are just that - typical examples.
If you search through rc.conf for the word "default" you find quite a
few cases where the text says what the default is and the example is
something different. In other words, the default is, um, not actually
documented anywhere.
This is a bit of a fail actually as you now have to fiddle with
settings, make them this, reboot, make them that, reboot, see what the
difference is. Sloppy maintenance if you ask me.
I'd advise you to file a bug (feature request) asking for the defaults
to be clearly documented where someone other than the principle dev can
find them.
--
Alan McKinnnon
alan.mckinnon@gmail.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Default settings in /etc/rc.conf
2012-02-05 20:01 ` Alan McKinnon
@ 2012-02-06 5:10 ` Michael Orlitzky
2012-02-06 9:42 ` Mick
0 siblings, 1 reply; 8+ messages in thread
From: Michael Orlitzky @ 2012-02-06 5:10 UTC (permalink / raw
To: gentoo-user
On 02/05/2012 03:01 PM, Alan McKinnon wrote:
>
> You cannot trust the commented examples in rc.conf to be the defaults.
> I reckon they are just that - typical examples.
>
> If you search through rc.conf for the word "default" you find quite a
> few cases where the text says what the default is and the example is
> something different. In other words, the default is, um, not actually
> documented anywhere.
>
> This is a bit of a fail actually as you now have to fiddle with
> settings, make them this, reboot, make them that, reboot, see what the
> difference is. Sloppy maintenance if you ask me.
>
> I'd advise you to file a bug (feature request) asking for the defaults
> to be clearly documented where someone other than the principle dev can
> find them.
>
You guys already did this thread:
http://archives.gentoo.org/gentoo-user/msg_513fd0fbcdf0fc95f5561684e80301f8.xml
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Default settings in /etc/rc.conf
2012-02-06 5:10 ` Michael Orlitzky
@ 2012-02-06 9:42 ` Mick
0 siblings, 0 replies; 8+ messages in thread
From: Mick @ 2012-02-06 9:42 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 1548 bytes --]
On Monday 06 Feb 2012 05:10:45 Michael Orlitzky wrote:
> On 02/05/2012 03:01 PM, Alan McKinnon wrote:
> > You cannot trust the commented examples in rc.conf to be the defaults.
> > I reckon they are just that - typical examples.
> >
> > If you search through rc.conf for the word "default" you find quite a
> > few cases where the text says what the default is and the example is
> > something different. In other words, the default is, um, not actually
> > documented anywhere.
> >
> > This is a bit of a fail actually as you now have to fiddle with
> > settings, make them this, reboot, make them that, reboot, see what the
> > difference is. Sloppy maintenance if you ask me.
> >
> > I'd advise you to file a bug (feature request) asking for the defaults
> > to be clearly documented where someone other than the principle dev can
> > find them.
>
> You guys already did this thread:
>
> http://archives.gentoo.org/gentoo-user/msg_513fd0fbcdf0fc95f5561684e80301f8
> .xml
It is both sloppy and unnecessarily confusing that some apps config files have
the default settings commented out and others not. This is getting more
complicated when some of these settings are optional. Of course, when
commented out an optional setting is not a default - but how would the
unsuspecting user know that?
My workaround is to explicitly set any settings that I know I need/want set,
but that makes it difficult for me to answer what the default settings are
(unless devs comments say so).
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2012-02-06 9:44 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-05 17:25 [gentoo-user] Default settings in /etc/rc.conf Tanstaafl
2012-02-05 18:41 ` Dale
2012-02-05 18:49 ` Tanstaafl
2012-02-05 19:00 ` Dale
2012-02-05 19:56 ` Tanstaafl
2012-02-05 20:01 ` Alan McKinnon
2012-02-06 5:10 ` Michael Orlitzky
2012-02-06 9:42 ` Mick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox