* [Xen-devel] [PATCH] automation: document vsyscall=emulate for old glibc
@ 2020-02-25 12:10 Wei Liu
2020-02-25 12:37 ` Durrant, Paul
2020-03-03 17:38 ` Doug Goldstein
0 siblings, 2 replies; 4+ messages in thread
From: Wei Liu @ 2020-02-25 12:10 UTC (permalink / raw)
To: Xen Development List; +Cc: Doug Goldstein, Wei Liu
Signed-off-by: Wei Liu <wl@xen.org>
---
automation/build/README.md | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/automation/build/README.md b/automation/build/README.md
index 476f82cf45..8cda2b65a5 100644
--- a/automation/build/README.md
+++ b/automation/build/README.md
@@ -58,6 +58,16 @@ understands.
- XEN_CONFIG_EXPERT: If this is defined in your shell it will be
automatically passed through to the container.
+If your docker host has Linux kernel > 4.11, and you want to use containers
+that run old glibc (for example, CentOS 6 or SLES11SP4), you may need to add
+
+```
+vsyscall=emulate
+```
+
+to the host kernel command line. That enables a legacy interface that is used
+by old glibc.
+
Building a container
--------------------
--
2.20.1
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [Xen-devel] [PATCH] automation: document vsyscall=emulate for old glibc
2020-02-25 12:10 [Xen-devel] [PATCH] automation: document vsyscall=emulate for old glibc Wei Liu
@ 2020-02-25 12:37 ` Durrant, Paul
2020-03-03 17:38 ` Doug Goldstein
1 sibling, 0 replies; 4+ messages in thread
From: Durrant, Paul @ 2020-02-25 12:37 UTC (permalink / raw)
To: Wei Liu, Xen Development List; +Cc: Doug Goldstein
> -----Original Message-----
> From: Xen-devel <xen-devel-bounces@lists.xenproject.org> On Behalf Of Wei
> Liu
> Sent: 25 February 2020 12:11
> To: Xen Development List <xen-devel@lists.xenproject.org>
> Cc: Doug Goldstein <cardoe@cardoe.com>; Wei Liu <wl@xen.org>
> Subject: [Xen-devel] [PATCH] automation: document vsyscall=emulate for old
> glibc
>
> Signed-off-by: Wei Liu <wl@xen.org>
> ---
> automation/build/README.md | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/automation/build/README.md b/automation/build/README.md
> index 476f82cf45..8cda2b65a5 100644
> --- a/automation/build/README.md
> +++ b/automation/build/README.md
> @@ -58,6 +58,16 @@ understands.
> - XEN_CONFIG_EXPERT: If this is defined in your shell it will be
> automatically passed through to the container.
>
> +If your docker host has Linux kernel > 4.11, and you want to use
> containers
> +that run old glibc (for example, CentOS 6 or SLES11SP4), you may need to
> add
> +
> +```
> +vsyscall=emulate
> +```
> +
> +to the host kernel command line. That enables a legacy interface that is
> used
> +by old glibc.
> +
I can vouch that it is indeed necessary.
Reviewed-by: Paul Durrant <pdurrant@amazon.com>
>
> Building a container
> --------------------
> --
> 2.20.1
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xenproject.org
> https://lists.xenproject.org/mailman/listinfo/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Xen-devel] [PATCH] automation: document vsyscall=emulate for old glibc
2020-02-25 12:10 [Xen-devel] [PATCH] automation: document vsyscall=emulate for old glibc Wei Liu
2020-02-25 12:37 ` Durrant, Paul
@ 2020-03-03 17:38 ` Doug Goldstein
2020-03-03 18:31 ` Wei Liu
1 sibling, 1 reply; 4+ messages in thread
From: Doug Goldstein @ 2020-03-03 17:38 UTC (permalink / raw)
To: Wei Liu, Xen Development List
[-- Attachment #1: Type: text/plain, Size: 181 bytes --]
On 2/25/20 6:10 AM, Wei Liu wrote:
> Signed-off-by: Wei Liu <wl@xen.org>
Acked-by: Doug Goldstein <cardoe@cardoe.com>
Do I need to make this tweak on the current runners?
[-- Attachment #2: pEpkey.asc --]
[-- Type: application/pgp-keys, Size: 1791 bytes --]
[-- Attachment #3: Type: text/plain, Size: 157 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Xen-devel] [PATCH] automation: document vsyscall=emulate for old glibc
2020-03-03 17:38 ` Doug Goldstein
@ 2020-03-03 18:31 ` Wei Liu
0 siblings, 0 replies; 4+ messages in thread
From: Wei Liu @ 2020-03-03 18:31 UTC (permalink / raw)
To: Doug Goldstein; +Cc: Xen Development List, Wei Liu
On Tue, Mar 03, 2020 at 11:38:06AM -0600, Doug Goldstein wrote:
> On 2/25/20 6:10 AM, Wei Liu wrote:
> > Signed-off-by: Wei Liu <wl@xen.org>
>
> Acked-by: Doug Goldstein <cardoe@cardoe.com>
>
>
> Do I need to make this tweak on the current runners?
I don't think so. CentOS 6 containers seem to work fine.
Wei.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-03-03 18:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-25 12:10 [Xen-devel] [PATCH] automation: document vsyscall=emulate for old glibc Wei Liu
2020-02-25 12:37 ` Durrant, Paul
2020-03-03 17:38 ` Doug Goldstein
2020-03-03 18:31 ` Wei Liu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).