Gentoo Archives: gentoo-dev

From: Michael Weber <xmw@g.o>
To: gentoo-dev@l.g.o
Subject: gentoo-checkconf script Re: [gentoo-dev] Re: [gentoo-kernel] Proper distribution integration of kernel *-sources, patches and configuration.
Date: Tue, 02 Jul 2013 08:31:53
Message-Id: 51D28FE2.90402@gentoo.org
In Reply to: Re: [gentoo-dev] Re: [gentoo-kernel] Proper distribution integration of kernel *-sources, patches and configuration. by "Anthony G. Basile"
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA256
3
4 On 07/01/2013 11:53 PM, Anthony G. Basile wrote:
5 > Now I'm confused because gentoo-sources is gentoo specific. It
6 > contains stuff that we need in gentoo but other distros do not
7 > need, like our end-to-end support for certain xattr namespaces. If
8 > you remove these then we must either 1) maintain a userland which
9 > is not in line with other distros or 2) give up on critical
10 > features we want in gentoo, like markings on elf object in
11 > user.pax.flags and certain caps, as well as in the future
12 > preserving selinux labels through emerge. Upstream will not accept
13 > them because of "who needs that crap" and we can't give them up
14 > without loosing core functionality. Feel free to review those
15 > patches but don't ask us to drop them from gentoo-sources because
16 > their not in upstream.
17
18 What about a check-kernel-config-for-gentoo-compliance script for
19 starterts?
20
21 I manage a handfull of kernel configs over some years (laptop vs.
22 server, graphics, firewalling capabilities) and was always tempted to
23 write an script to check if the config meets a certain set of
24 requirements. I think of "xattr", "selinux", "gentoo-boot" and so on,
25 that can be expanded by users demand, like, "CONFIG_CMDLINE should
26 include" and "CONFIG_DEFAULT_HOSTNAME=x" and "all iptables target on".
27
28 A additional make target in gentoo-sources could the warn about any
29 missing feature, and ask for "yes" or wait some seconds.
30 (I remember reaging some funny note about my kernel supporting x32 but
31 by userland not, like that kernel build would run on that userland)
32
33 ==> Merging a certain source does always imply to run it on that system.
34
35 (diff-ing configs is really nasty since sub*module=N drops lines from
36 the config)
37
38 (and i got lazy on reading all the added features in subsystems [1])
39
40
41 Michael "I can live with a lot of things, as long as I can
42 configure/compile/update my kernel and the out-of-tree drivers when i
43 want" Weber
44
45 [1]
46 http://3.bp.blogspot.com/_rtOXMZlMTkg/RZWVjP3f49I/AAAAAAAAADs/YpHlSwXpiUg/s400/drinking_bird.jpg
47
48
49 - --
50 Michael Weber
51 Gentoo Developer
52 web: https://xmw.de/
53 mailto: Michael Weber <xmw@g.o>
54 -----BEGIN PGP SIGNATURE-----
55 Version: GnuPG v2.0.20 (GNU/Linux)
56 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
57
58 iF4EAREIAAYFAlHSj+IACgkQknrdDGLu8JD65AD+NHyGeFNQw4GceLp0g9ypik5j
59 NzoEwKYztMCOwKcjbO4A/A1e/KQv4DabFoZA41kdPBH8DMOITWL7Jb3OHqewwpPL
60 =OOdc
61 -----END PGP SIGNATURE-----

Replies