Gentoo Archives: gentoo-dev

From: David Seifert <soap@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Guidelines for IUSE defaults
Date: Thu, 02 Feb 2017 21:40:45
Message-Id: 1486071630.32305.9.camel@gentoo.org
In Reply to: Re: [gentoo-dev] Guidelines for IUSE defaults by james
1 On Thu, 2017-02-02 at 15:35 -0500, james wrote:
2 > On 02/02/2017 01:01 PM, Rich Freeman wrote:
3 > > On Thu, Feb 2, 2017 at 11:25 AM, Michael Orlitzky <mjo@g.o>
4 > > wrote:
5 > > >
6 > > > If (base == minimal), then all of the upstream defaults need to
7 > > > be added
8 > > > to package.use for the upstream-defaults profile. That's bad,
9 > >
10 > > I'll go further and say that it is unacceptably bad.
11 > >
12 > > > but if
13 > > > (base == upstream-defaults), then the important IUSE defaults
14 > > > need to be
15 > > > copy/pasted from our ebuilds into the minimal profile. The latter
16 > > > is
17 > > > more spiritually damning =)
18 > > >
19 > >
20 > > So, I'll admit I've never been one that cared a great deal about
21 > > minimalism so I appreciate that I may not be the best one to judge
22 > > this, so let's go ahead and embrace your statement for the purpose
23 > > of
24 > > debate.
25 > >
26 > > Is there a better way we can have our cake and eat it too?  I'll
27 > > admit
28 > > that a huge package.use on the minimal profile isn't a whole lot
29 > > better than a huge package.use on all the other profiles.
30 > >
31 > > Do we need another form of syntax in individual ebuilds to try to
32 > > separate out the various cases you cite?  Does anybody care to
33 > > actually suggest one?
34 >
35 > I think that unikernels are something everyone should be aware of
36 > as they purport to be the latest trend in securing all sorts of
37 > systems.
38 > (a brief read).
39 >
40 > http://unikernel.org/
41 >
42 >
43 > Perhaps we should not have a 'minimal profile', as it means so many 
44 > different things to so many different people. We have not even
45 > surveyed
46 > the user base...
47 >
48 > So if we think of all the possible profiles and sub-profiles as being
49 > organized in a tree structure, it is better to figure out logical 
50 > organization of all profiles, imho.
51 >
52 > So how about profiles that are either under the embedded or basic 
53 > 'moniker' in the profile tree.  So embedded is the least number of
54 > packages possible,  regardless of upstream, where folks build up
55 > from 
56 > there to what they want as a finished system. Embedded, clusters,
57 > HPC, 
58 > and such are compatible enough for what I'm building to be under the 
59 > same branch of the profile tree. If other folks want their cluster
60 > works 
61 > under the basic  part of the profile tree that is concerned with 
62 > upstream, then  they have their part of the profile tree located
63 > there.
64 >
65 > And the 'basic' part of the tree is similar to what we now call 
66 > 'default' and the names build up in whatever schema those target
67 > builds
68 > desire, like basic+headless, basic+kde, basic+?+whatever..... ?
69 >
70 > And is there any reason, if necessary that other needs cannot be 
71 > branched off, as necessary form the profile tree?  Perhaps the main
72 > root
73 > is a state diagram of what is need and has links to  relevant
74 > documents.
75 > That way the profile tree is a live system that can  be enhance or 
76 > modified to serve all of Gentoo's diverse visions.
77 >
78 >
79 > > I still think that we shouldn't encourage users to lightly deviate
80 > > from all the upstream defaults.  There are of course legitimate
81 > > reasons for doing so, and you and I can probably appreciate when we
82 > > should do this, but for somebody starting out we're giving them a
83 > > lot
84 > > of rope to hang themselves with.
85 >
86 > This is only the case because profiles are in general in a mess and 
87 > there are little in the way of conventions. What is so sacrosanct
88 > about 
89 > upstream for a truly embedded gentoo system or a gentoo based IoT 
90 > device? How many of the gentoo-embedded devs even bother to read
91 > gentoo-dev? Your vision seems to me to be tainted by the major
92 > distros 
93 > and their visions, not be impolite, but they are way off course for h
94 > ttp://www.easyjet.com/en/
95 > secure systems, embedded systems, IoT, HPC and numerous other active 
96 > areas of Linux, imho.
97 >
98 >
99 > Think about it, if upstream is so brilliant, and has our needs 'at 
100 > heart' then why have not the kernel-geniuses bothered to build a 
101 > logical, coherent semantic for kernel configurations, management, 
102 > security testing and such?  If fact, if I were to be critical of 
103 > upstream, I'd say those and many other issues should have been
104 > addressed 
105 > before the adventures of systemd were dictated upon the larger user 
106 > base. Upstream is an 'ad-hoc' mess, in the old days we called such 
107 > entities a clusterF*.
108 >
109 >
110 > So those of us going back to minimal and basics and such venues, even
111 > with clusters, could not care less about Mozilla, systemd and
112 > thousands
113 > of other upstream folks  that have lost their pathway forward.
114 > (deepest 
115 > apologies, but I have very strong feelings about "upstream*".
116 >
117 >
118 > Many of the profiles in this and other recent threads, are just 'ad-
119 > hoc' 
120 > naming structures and locations, and that historical flexibility
121 > extend 
122 > to the devs is fantastic. This enhance/cleaning need of gentoo
123 > profiles 
124 > needs to be well thought out and as flexible semantically as
125 > possible.
126 >
127 >
128 > It is absolutely a superior approach to not care at all what
129 > upstream 
130 > does, to provide a pathway for embedded gentoo. That is a
131 > fundamental 
132 > characteristic of what an embedded system is. Thanke the code, purge
133 > 90+ percent of this, and then install it on a embedded system so
134 > only what is needed is encluded. On a distro, you can pile on tons
135 > of uncessary codes, for convenience and not care, but embedded,
136 > it does matter. That is why so much of Iot is hacked and owned
137 > by folks with nefarious intentions. Much of 'upstream' is growing
138 > dumber by the day, and corporate manager and government interlopers
139 > are just loving the cruft of 'upstream'.
140 >
141 >
142 > Minimal is a close cousin to embedded, and now unikernels and
143 > aggressive 
144 > HPC clusters are going that direction too in the name of
145 > performance, 
146 > sane-management and reducing attack surfaces for the cloud or HPC 
147 > cluster (not all, but many).
148 >
149 >
150 > Surely a branch of the gentoo profiles tree, could rigorously be
151 > focused
152 > on compatibility with upstream, but that inflexibility, if imposed
153 > on everyone else, will only serve to further alienate gentoo-
154 > embedded 
155 > and serve as a unnecessary wedge between some minimal, HPC and
156 > unikernel
157 > types of gentoo builds.
158 >
159 >
160 >
161 > > It is like building a kernel
162 > > answering no to the largest number of questions possible while
163 > > still
164 > > actually building something.  I'd actually be curious as to what
165 > > that
166 > > kernel would even be capable of doing (there are a lot of fairly
167 > > essential things you can turn off in the kernel).
168 >
169 >
170 > This is a whole other area of valid concern. Their was a GSoC project
171 > last summer to work on organizing gentooish kernel builds, but that
172 > is a 
173 > very big topic. Perhaps the profiles will have to be proposed but not
174 > formalized until folks go out and do some kernel builds and testing 
175 > associated with a proposed profile organization?
176 >
177 >
178 > > In the same way, we shouldn't be too quick to deviate from upstream
179 > > defaults ourselves (#4 in your example), beyond actual integration
180 > > work.
181 > > I'll admit the current state is a bit of a compromise, but I don't
182 > > think we should change it unless we're changing it to something
183 > > significantly better.  This is a pretty big-impact change.
184 >
185 >
186 > Just formalize some new parts of the profile tree to not be required
187 > to 
188 > be upstream compliant. Isn't that part of being a 'meta-
189 > distribution'?
190 >
191 > In my future (and the future of many others) there will be
192 > minimalistic
193 > builds on clusters where any number to constructs including 
194 > compatibility  which will all be solved, at the framework level, not
195 > the 
196 > base distro level, to the extent possible. Folks are now running a 
197 > myriad of windows OS versions on linux (&clusters), so I have just
198 > read 
199 > about a few days ago. So I'm proposing and working on gentoo 
200 > heterogeneous cluster where one can partition part to be for systemd 
201 > stuffage, part to be HPC, part to be extraordinarily secure, part to
202 > be 
203 > aligned with a particularly commercial linux distro, and many other 
204 > differing needs based frameworks.
205 >
206 >
207 > The minimal (lowest level) should be clear of all of those distro 
208 > encumbrances. CoreOS is taking this approach, as their bare metal 
209 > bootstrapping occurs completely and well before systemd or any other
210 > PID1 schema is invoked or becomes a defacto requirement.  Gentoo is
211 > all 
212 > about freedom, right?
213 >
214 >
215 > hth,
216 > James
217 >
218
219 Dear James,
220 can you please stop totally drifting off topic and rambling about stuff
221 that is not relevant for the discussion at hand? We started at IUSE
222 defaults and you end with unikernels and HPC. Please stop the rambling.
223
224 hth,
225 David

Replies

Subject Author
Re: [gentoo-dev] Guidelines for IUSE defaults james <garftd@×××××××.net>