Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] Kernel 3.8.0 CONFIG_USER_NS shawn wilson <ag4ve.us@×××××.com>