From: Nikos Chantziaras <realnc@arcor.de>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: VMware - Linux kernel yield() functionality is disabled.
Date: Fri, 05 Nov 2010 07:56:48 +0200 [thread overview]
Message-ID: <ib06ar$o05$1@dough.gmane.org> (raw)
In-Reply-To: <AANLkTinRKUphFZW8_sjOph+O1PE7Ou0qSqh6UQ8+eoxG@mail.gmail.com>
On 11/04/2010 09:03 PM, Mark Knecht wrote:
> On Thu, Nov 4, 2010 at 11:54 AM, Nikos Chantziaras<realnc@arcor.de> wrote:
>> On 11/04/2010 06:43 PM, Mark Knecht wrote:
>>> [...]
>>> Looking around at VMware's site they recommend changing
>>> /etc/sysctl.conf to enable the feature:
>>> [...]
>>> I can do that but I'm pretty sure that if I edit that file then
>>> I'll lose the edits some day when doing etc-update's.
>>
>> Gentoo will never overwrite your /etc config files. New files are created
>> with an "._" prefix. When that happens, portage tells you that "N files in
>> /etc/ need updating." At that point, you either manually merge the changes
>> or use a tool like "dispatch-conf" (I recommend this one) or "etc-update".
>> And until you do so, the old files will be used.
>
> Yes, thanks Nikos. I do understand that part.
>
> I tried dispatch-conf years ago and couldn't get the hang of it. It
> was not clear to me what was old/new and all the rest of that.
>
> My worry with etc-update is that I know, for the most part, all the
> files I modify when doing an install so I know what to look for when
> I'm selecting files to replace myself. However with that tool there's
> a point where you might have 20 files that need updating, you look at
> the list and nothing looks like what I changed and you hit -5 to tell
> it to do everything. I know I'm going to overwrite sysctl.conf that
> way because it's not in my mental list.
Specifically for sysctl.conf, when you open it, you will see this at the
bottom of it:
# YOUR OWN CUSTOM STUFF BELOW
That means it's very easy to copy whatever you inserted at the end, do
the update, and then paste it back.
Also, I have a modified sysctl.conf too (a swapiness tweak), but
updating baselayout (the package that owns that file) didn't actually
install a new copy of it, presumably because all my changes were below
the "YOUR OWN STUFF" line. Many ebuilds are smart about updating /etc
files; and sometimes, they don't install new ones, but directly modify
existing ones to selectively add or remove stuff.
next prev parent reply other threads:[~2010-11-05 5:58 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-04 16:43 [gentoo-user] VMware - Linux kernel yield() functionality is disabled Mark Knecht
2010-11-04 16:57 ` Alan McKinnon
2010-11-04 18:54 ` [gentoo-user] " Nikos Chantziaras
2010-11-04 19:03 ` Mark Knecht
2010-11-04 19:20 ` Alan McKinnon
2010-11-04 19:53 ` Neil Bothwick
2010-11-04 20:10 ` Mark Knecht
2010-11-04 20:47 ` Stroller
2010-11-04 22:06 ` Adam Carter
2010-11-04 22:32 ` Alex Schuster
2010-11-05 5:56 ` Nikos Chantziaras [this message]
2010-11-08 8:25 ` Remy Blank
2010-11-10 21:37 ` Enrico Weigelt
2010-11-10 21:59 ` Alan McKinnon
2010-11-10 22:02 ` Enrico Weigelt
2010-11-10 23:18 ` Alan McKinnon
2010-11-10 23:44 ` Neil Bothwick
2010-12-30 7:37 ` Enrico Weigelt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='ib06ar$o05$1@dough.gmane.org' \
--to=realnc@arcor.de \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox