Gentoo Archives: gentoo-user

From: shawn wilson <ag4ve.us@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Kernel 3.8.0 CONFIG_USER_NS
Date: Wed, 27 Feb 2013 17:15:49
Message-Id: CAH_OBie+sowH4AZ=9f2sgdo491rouTsRkBuhDQeorLM4bxxvoA@mail.gmail.com
In Reply to: Re: [gentoo-user] Kernel 3.8.0 CONFIG_USER_NS by Alan McKinnon
1 Yes
2
3 On Wed, Feb 27, 2013 at 11:11 AM, Alan McKinnon <alan.mckinnon@×××××.com> wrote:
4 > On 27/02/2013 12:52, shawn wilson wrote:
5 >> I still haven't found a solution
6 >>
7 >> On Tue, Feb 26, 2013 at 5:57 PM, Neil Bothwick <neil@××××××××××.uk> wrote:
8 >>> On Tue, 26 Feb 2013 17:24:29 -0500, shawn wilson wrote:
9 >>>
10 >>
11 >>> The wiki page says to use / to search for each option in make menuconfig.
12 >>> That shows the option and its dependencies, for example /USER_NS here
13 >>> gives
14 >>>
15 >>> Depends on: NAMESPACES [=y] && EXPERIMENTAL [=y] && UIDGID_CONVERTED [=n]
16 >>>
17 >>> So the option won't show up here because I haven't enabled
18 >>> UIDGID_CONVERTED.
19 >>>
20 >>
21 >> I forgot about the internal menuconfig search feature. After googling
22 >> UIDGID_CONVERTED I found this:
23 >> http://forums.gentoo.org/viewtopic-p-7215718.html
24 >>
25 >> Apparently, I'm not the only one with this issue.
26 >>
27 >> So, I searched for UIDGID_CONVERTED in menuconfig and only see it as a
28 >> bool and no dependency. However, if I:
29 >> echo "CONFIG_UIDGID_CONVERTED=y" >> .config
30 >> and then make menuconfig, this goes away as well - so I'm guessing
31 >> this has dependencies I haven't found. Though, I grep that option in
32 >> the kernel source tree and I only see two things that are documented
33 >> as "depends on" it and the listing for the option - I see nothing that
34 >> uses it.
35 >>
36 >
37 > Are you aware that menuconfig has a search option?
38 >
39 > press "/" just like vi or less, enter "USER_NS" and get:
40 >
41 >
42 > │ Symbol: USER_NS [=n] │
43 > │ Type : boolean │
44 > │ Prompt: User namespace (EXPERIMENTAL) │
45 > │ Defined at init/Kconfig:888 │
46 > │ Depends on: NAMESPACES [=y] && EXPERIMENTAL [=y] && UIDGID_CON│
47 > │ Location: │
48 > │ -> General setup │
49 > │ -> Namespaces support (NAMESPACES [=y]) │
50 > │ Selects: UIDGID_STRICT_TYPE_CHECKS [=n] │
51 >
52 >
53 > Saves mucking about with all that tedious and unreliable greping
54 >
55 >
56 > --
57 > Alan McKinnon
58 > alan.mckinnon@×××××.com
59 >
60 >