From: Benda Xu <heroxbd@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] [PATCH] introduce Prefix 17.0 profiles.
Date: Fri, 12 Jan 2018 16:59:12 +0900 [thread overview]
Message-ID: <878td3jynj.fsf@proton.d.airelinux.org> (raw)
In-Reply-To: <CAAD4mYj0tk5ctE7L-yAYL9tyZ_-FcCOyaeqx+MP2pdpMguACKg@mail.gmail.com> (R0b0t1's message of "Thu, 11 Jan 2018 08:15:23 -0600")
Hi R0b0t1,
R0b0t1 <r030t1@gmail.com> writes:
> I don't want to just comment on naming, but:
>
> It might be more natural to go the other way. Split profiles off based
> on version when breakage occurs, and otherwise do not reference a
> specific version.
>
> Then, the name indicates the most recent kernel supported by the
> profile. So remove the plus and (I think) shift all of the names
> "forward."
> So 2.6.16 becomes 2.6.32, and 2.6.32 becomes the next profile's name.
>
> This seems more natural but does change the semantics of the
> name. Would that be a problem?
Let's call this 'breakage-indicating scheme'. I have considered it, but
finally I chose the original proposal:
Consider one running kernel 3.8 with the newest profile, called
'prefix/kernel-3.2+' in the original proposal and 'prefix' in the
breakage-indicating scheme. When glibc decides to break <kernel-3.10,
in the breakage-indicating scheme, you will have to change the profile
to 'prefix/kernel-3.10-older'.
Consider otherwise one running kernel 4.9, you will not not need to
switch profile 'prefix/kernel-3.2+' in the original proposal, although
'prefix/kernel-3.10+' will be a better profile.
In either case, the original proposal does not force a profile switch
when glibc breaks old kernel. Therefore I prefer it.
> Is it expected people would want to use the profiles with
> compatibility features on newer kernels?
One use case is that: I want to bootstrap on my new and powerful server
a 'prefix/kernel-2.6.16+' on kernel 4.9, and then transfer the resulting
Prefix to an aging RHEL 5. Bootstrapping a 'prefix/kernel-2.6.32-older'
on kernel 4.9 feels awkward.
But it is not about use cases, it is about logical consistancy: if we
are not forbidden to run an old glibc on a new kernel, we should not
indicate so in profile names.
> This setup would prevent having to verify that old code works on new
> systems, which is implied to be supported.by the + naming (again, not
> sure if it matters).
It is always supported to run an old glibc version on a new kernel, the
linux kernel is ABI-backwords compatible. There is no need to verify
that. Besides, by always using the most recent
sys-kernel/linux-headers, we are guaranteed with the newest kernel API.
Yours,
Benda
next prev parent reply other threads:[~2018-01-12 7:59 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-08 6:38 [gentoo-dev] [PATCH] introduce Prefix 17.0 profiles Benda Xu
2018-01-08 17:41 ` Aaron Bauman
2018-01-09 2:43 ` Benda Xu
2018-01-08 20:06 ` kuzetsa
2018-01-09 2:39 ` Benda Xu
2018-01-09 13:21 ` Aaron Bauman
2018-01-10 14:00 ` kuzetsa
2018-01-10 14:42 ` M. J. Everitt
2018-01-11 3:18 ` Benda Xu
2018-01-11 8:24 ` M. J. Everitt
2018-01-11 14:15 ` R0b0t1
2018-01-12 7:59 ` Benda Xu [this message]
2018-01-16 5:23 ` R0b0t1
2018-01-16 5:24 ` R0b0t1
2018-01-16 7:31 ` Benda Xu
2018-01-12 11:04 ` Patrice Clement
2018-01-12 11:37 ` Benda Xu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878td3jynj.fsf@proton.d.airelinux.org \
--to=heroxbd@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox