From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id EDC751381F3 for ; Tue, 2 Jul 2013 08:31:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5F2E1E0AC8; Tue, 2 Jul 2013 08:31:44 +0000 (UTC) Received: from spot.xmw.de (spot.xmw.de [176.9.87.236]) by pigeon.gentoo.org (Postfix) with ESMTP id 623B1E0ABC for ; Tue, 2 Jul 2013 08:31:43 +0000 (UTC) Received: from [IPv6:2001:6f8:1cd1:0:21d:72ff:fe88:9ac1] (x.l.xmw.de [IPv6:2001:6f8:1cd1:0:21d:72ff:fe88:9ac1]) by spot.xmw.de (Postfix) with ESMTPSA id 2B3B9143FE448 for ; Tue, 2 Jul 2013 10:31:42 +0200 (CEST) Message-ID: <51D28FE2.90402@gentoo.org> Date: Tue, 02 Jul 2013 10:31:30 +0200 From: Michael Weber User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130627 Thunderbird/17.0.7 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: gentoo-checkconf script Re: [gentoo-dev] Re: [gentoo-kernel] Proper distribution integration of kernel *-sources, patches and configuration. References: <20130701164149.131490f8@TOMWIJ-GENTOO> <20130701181749.GA3831@kroah.com> <20130701204516.6151bb40@TOMWIJ-GENTOO> <20130701192324.GA30808@kroah.com> <51D1F1D3.8030402@gentoo.org> <20130701212454.GA32077@kroah.com> <51D1FA72.4070405@gentoo.org> In-Reply-To: <51D1FA72.4070405@gentoo.org> X-Enigmail-Version: 1.6a1pre Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: 808b146f-bdd7-4709-babc-a98ff01c5fea X-Archives-Hash: 443e7b01dbb0d9ddfc045d3ed60aa372 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 07/01/2013 11:53 PM, Anthony G. Basile wrote: > Now I'm confused because gentoo-sources is gentoo specific. It > contains stuff that we need in gentoo but other distros do not > need, like our end-to-end support for certain xattr namespaces. If > you remove these then we must either 1) maintain a userland which > is not in line with other distros or 2) give up on critical > features we want in gentoo, like markings on elf object in > user.pax.flags and certain caps, as well as in the future > preserving selinux labels through emerge. Upstream will not accept > them because of "who needs that crap" and we can't give them up > without loosing core functionality. Feel free to review those > patches but don't ask us to drop them from gentoo-sources because > their not in upstream. What about a check-kernel-config-for-gentoo-compliance script for starterts? I manage a handfull of kernel configs over some years (laptop vs. server, graphics, firewalling capabilities) and was always tempted to write an script to check if the config meets a certain set of requirements. I think of "xattr", "selinux", "gentoo-boot" and so on, that can be expanded by users demand, like, "CONFIG_CMDLINE should include" and "CONFIG_DEFAULT_HOSTNAME=x" and "all iptables target on". A additional make target in gentoo-sources could the warn about any missing feature, and ask for "yes" or wait some seconds. (I remember reaging some funny note about my kernel supporting x32 but by userland not, like that kernel build would run on that userland) ==> Merging a certain source does always imply to run it on that system. (diff-ing configs is really nasty since sub*module=N drops lines from the config) (and i got lazy on reading all the added features in subsystems [1]) Michael "I can live with a lot of things, as long as I can configure/compile/update my kernel and the out-of-tree drivers when i want" Weber [1] http://3.bp.blogspot.com/_rtOXMZlMTkg/RZWVjP3f49I/AAAAAAAAADs/YpHlSwXpiUg/s400/drinking_bird.jpg - -- Michael Weber Gentoo Developer web: https://xmw.de/ mailto: Michael Weber -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iF4EAREIAAYFAlHSj+IACgkQknrdDGLu8JD65AD+NHyGeFNQw4GceLp0g9ypik5j NzoEwKYztMCOwKcjbO4A/A1e/KQv4DabFoZA41kdPBH8DMOITWL7Jb3OHqewwpPL =OOdc -----END PGP SIGNATURE-----