Skip to contentSkip to conversation

automation: document vsyscall=emulate for old glibc

PATCH In review Wei Liu 3 participants 4 messages Feb 25, 2020 – Mar 3, 2020

lore
Share & tools
lore

Wei Liu

author
#0 lore raw

PATCH 1/1 automation: document vsyscall=emulate for old glibc

---
 automation/build/README.md | 10 ++++++++++
 1 file changed, 10 insertions(+)
automation/build/README.md +10 -0
index 476f82cf45..8cda2b65a5 100644
@@ -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
 --------------------
Signature · 7 lines
2.20.1


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Reviewed-by Paul Durrant on v1 1/1
#1 lore raw
Quoted 33 lines

-----Original Message-----
From: Xen-devel <[email protected]> On Behalf Of Wei Liu
Sent: 25 February 2020 12:11
To: Xen Development List <[email protected]>
Cc: Doug Goldstein <[email protected]>; Wei Liu <[email protected]>
Subject: [Xen-devel] [PATCH] automation: document vsyscall=emulate for old glibc

---
 automation/build/README.md | 10 ++++++++++
 1 file changed, 10 insertions(+)
automation/build/README.md +1 -0
index 476f82cf45..8cda2b65a5 100644
@@ -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

automation/build/README.md +6 -0
+
+```
+vsyscall=emulate
+```
+
+to the host kernel command line. That enables a legacy interface that is

used

automation/build/README.md understands. · line 70

Quoted 2 lines
automation/build/README.md +2 -0
+by old glibc.
+

I can vouch that it is indeed necessary.

Quoted 11 lines

Building a container
--------------------
--
2.20.1

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel