Gentoo Archives: gentoo-user

From: covici@××××××××××.com
To: gentoo-user@l.g.o
Cc: gentoo-server@l.g.o
Subject: Re: [gentoo-user] Kernel configuration management
Date: Tue, 06 Nov 2012 23:41:40
Message-Id: 9954.1352245152@ccs.covici.com
In Reply to: [gentoo-user] Kernel configuration management by Matthias-Christian Ott
1 Matthias-Christian Ott <ott@×××××.org> wrote:
2
3 > I'm planning to migrate several computers to Gentoo. At the moment I'm
4 > running two machines with ad-hoc kernel configurations based on the
5 > kernel configuration from the installation CD (which was created for
6 > 2.6.26). In order to keep the maintenance effort for the new machines
7 > low, I would like to have a unified/baseline kernel configuration with
8 > minor adjustments for some machines.
9 >
10 > I have been thinking about this for several weeks now and came to the
11 > conclusion, that there are two sub-problems: Creating a universal kernel
12 > configuration and merging and maintaining specific configurations with
13 > the baseline configuration.
14 >
15 > The second problem can be solved by simple concatenation and/or
16 > defconfigman, kccmp and make silentoldconfig. OpenWRT does this pretty
17 > much the same way.
18 >
19 > Creating the baseline configuration is much harder. So far I tried make
20 > defconfig, the installation CD configuration and kernel-seeds.org. None
21 > really satisfied my requirements and often resulted in ad-hoc changes
22 > when I simply went through a compile and reboot cycle until everything
23 > worked. I had a look at policies of other GNU/Linux distributions [1,2]
24 > and found that I need to develop or adopt a policy for my systems (the
25 > Ubuntu "modular where possible" policy seems reasonable to me and
26 > probably makes the curent ad-hoc configuration unnecessary). I also
27 > thought about reusing kernel configurations from other distributions,
28 > but have some doubts about kernel version mismatches (i.e. the kernel
29 > versions of Gentoo and the other distribution differ) and about
30 > unintended implications of kernel options that I don't fully understand.
31 >
32 > The mailing list archives show that this topic has been partly discussed
33 > before (especially whether Gentoo should have a default kernel
34 > configuration like other distributions), so I don't want to start a
35 > lengthy discussion about this here. I'm more interested in what other
36 > people do for larger deployments/installations on heterogeneous hardware.
37
38 Well, I have most things in modules and a lot of them, I don't have the
39 hardware for, but it was very handy when I was able to take my configs
40 over to a vm from regular hardware and it booted up right away. I am
41 also using an initrd.
42
43 HOpe that helps.
44
45 --
46 Your life is like a penny. You're going to lose it. The question is:
47 How do
48 you spend it?
49
50 John Covici
51 covici@××××××××××.com