[Xen-devel] [PATCH] automation: document vsyscall=emulate for old glibc

Wei Liu posted 1 patch 4 years, 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/xen tags/patchew/20200225121048.5889-1-wl@xen.org
automation/build/README.md | 10 ++++++++++
1 file changed, 10 insertions(+)
[Xen-devel] [PATCH] automation: document vsyscall=emulate for old glibc
Posted by Wei Liu 4 years, 1 month ago
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
Re: [Xen-devel] [PATCH] automation: document vsyscall=emulate for old glibc
Posted by Doug Goldstein 4 years, 1 month ago
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?
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
Re: [Xen-devel] [PATCH] automation: document vsyscall=emulate for old glibc
Posted by Wei Liu 4 years, 1 month ago
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