Message ID | 20200225121048.5889-1-wl@xen.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | automation: document vsyscall=emulate for old glibc | expand |
> -----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
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?
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.
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 --------------------
Signed-off-by: Wei Liu <wl@xen.org> --- automation/build/README.md | 10 ++++++++++ 1 file changed, 10 insertions(+)