Gentoo Archives: gentoo-dev

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: [gentoo-kernel] Proper distribution integration of kernel *-sources, patches and configuration.
Date: Mon, 01 Jul 2013 21:52:29
Message-Id: 51D1FA72.4070405@gentoo.org
In Reply to: Re: [gentoo-dev] Re: [gentoo-kernel] Proper distribution integration of kernel *-sources, patches and configuration. by Greg KH
1 On 07/01/2013 05:24 PM, Greg KH wrote:
2 > On Mon, Jul 01, 2013 at 05:17:07PM -0400, Anthony G. Basile wrote:
3 >> On 07/01/2013 03:23 PM, Greg KH wrote:
4 >>> On Mon, Jul 01, 2013 at 08:45:16PM +0200, Tom Wijsman wrote:
5 >>>>>> Q: What about my stable server? I really don't want to run this
6 >>>>>> stuff!
7 >>>>>>
8 >>>>>> A: These options would depend on !CONFIG_VANILLA or
9 >>>>>> CONFIG_EXPERIMENTAL
10 >>>>> What is CONFIG_VANILLA? I don't see that in the upstream kernel tree
11 >>>>> at all.
12 >>>>>
13 >>>>> CONFIG_EXPERIMENTAL is now gone from upstream, so you are going to
14 >>>>> have a problem with this.
15 >>>> Earlier I mentioned "2) These feature should depend on a non-vanilla /
16 >>>> experimental option." which is an option we would introduce under the
17 >>>> Gentoo distribution menu section.
18 >>> Distro-specific config options, great :(
19 >> I'm not sure what you mean by "distro-specific",
20 > See later mention of CONFIG_GENTOO_EXPERIMENTAL, that is what I was
21 > referring to.
22 >
23 >> but suppose people
24 >> want BFQ? Why can't we have it in gentoo-sources. It is totally
25 >> disabled by not selecting CONFIG_BFQ. Selecting it is no different
26 >> than emerging pf-sources with the same other options ported over.
27 > Until you run into a patch that modifies code outside of it's CONFIG_
28 > option, like the aufs example I pointed out.
29
30 Yeah, that's the situation with hardened-sources and then we are in
31 agreement. If its orthogonal to the rest of the kernel, I maintain that
32 it can safely be included with the appropriate warnings.
33
34 >
35 >> By your logic, we should not distribut pf-sources either. The truth
36 >> of the matter is, there are forks of the vanilla kernel out there. Are
37 >> you suggesting we distribute none of them?
38 > That's a total false argument, the discussion here is about our "main"
39 > gentoo-kernel tree, not one of our many domain-specific kernel versions
40 > that are maintained separately.
41
42 Now I'm confused because gentoo-sources is gentoo specific. It contains
43 stuff that we need in gentoo but other distros do not need, like our
44 end-to-end support for certain xattr namespaces. If you remove these
45 then we must either 1) maintain a userland which is not in line with
46 other distros or 2) give up on critical features we want in gentoo, like
47 markings on elf object in user.pax.flags and certain caps, as well as in
48 the future preserving selinux labels through emerge. Upstream will not
49 accept them because of "who needs that crap" and we can't give them up
50 without loosing core functionality. Feel free to review those patches
51 but don't ask us to drop them from gentoo-sources because their not in
52 upstream.
53
54 Only vanilla-sources should be exactly that. upstream vanilla with
55 nothing else. period.
56
57
58 >
59 >> NOTE: hardened-sources is its own world. There is not level of
60 >> turning on/off options that get you back to a vanilla kernel.
61 > Agreed, which keeps that from being merged into this tree, hopefully :)
62
63 Yeah I think everyone is in agreement with that. But it also fits my
64 point about orthogonality above.
65
66
67 --
68 Anthony G. Basile, Ph.D.
69 Gentoo Linux Developer [Hardened]
70 E-Mail : blueness@g.o
71 GnuPG FP : 1FED FAD9 D82C 52A5 3BAB DC79 9384 FA6E F52D 4BBA
72 GnuPG ID : F52D4BBA

Replies