[Bug 1661222] Update Released

Brian Murray brian at ubuntu.com
Thu Nov 9 17:41:54 UTC 2017


The verification of the Stable Release Update for golang-1.6 has
completed successfully and the package has now been released to
-updates.  Subsequently, the Ubuntu Stable Release Updates Team is being
unsubscribed and will not receive messages about this bug report.  In
the event that you encounter a regression using the package from
-updates please report a new bug using ubuntu-bug and tag the bug report
regression-update so we can easily find any regressions.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to golang-1.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1661222

Title:
  syscall.Getpagesize returns wrong page size on aarch64

Status in Docker.io:
  New
Status in golang-1.6 package in Ubuntu:
  Invalid
Status in golang-defaults package in Ubuntu:
  Fix Released
Status in golang-1.6 source package in Xenial:
  Fix Released
Status in golang-defaults source package in Xenial:
  Invalid

Bug description:
  syscall.Getpagesize returns wrong page size on aarch64.

  The code at https://github.com/vielmetti/go-pagesize-test exercises
  the issue.

  This is fixed upstream at 1.8 with
  https://github.com/golang/go/commit/1b9499b06989d2831e5b156161d6c07642926ee1

  Downstream, this affects Docker and Kubernetes on aarch64,
  specifically at

  https://github.com/docker/docker/issues/27384 for Docker (overlay2
  filesystem).

  Please consider a backport of the page size fix to 1.6 version of Go
  that is part of 16.04 LTS.

  thanks

  Ed

  root at docker-build-test:/mnt/src/vielmetti/go-pagesize-test# lsb_release -rd
  Description:    Ubuntu 16.04.1 LTS
  Release:        16.04

  root at docker-build-test:/mnt/src/vielmetti/go-pagesize-test# apt-cache policy golang
  golang:
    Installed: 2:1.6-1ubuntu4
    Candidate: 2:1.6-1ubuntu4
    Version table:
   *** 2:1.6-1ubuntu4 500
          500 http://ports.ubuntu.com/ubuntu-ports xenial/main arm64 Packages  
          100 /var/lib/dpkg/status

  What I expected to happen:

  C.getpagesize()) and syscall.Getpagesize() return the same value

  What happened instead:

  On aarch64,

  ✗ go reports correct pagesize
     (in test file go-pagesize-test.bats, line 3)
       `[ "$status" -eq 0 ]' failed
       OS page size = 4096 ; go reports 65536

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: golang 2:1.6-1ubuntu4
  ProcVersionSignature: Ubuntu 4.4.0-38.57-generic 4.4.19
  Uname: Linux 4.4.0-38-generic aarch64
  ApportVersion: 2.20.1-0ubuntu2.5
  Architecture: arm64
  Date: Thu Feb  2 11:44:31 2017
  PackageArchitecture: all
  ProcEnviron:
   TERM=screen.xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: golang-defaults
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/docker.io/+bug/1661222/+subscriptions



More information about the foundations-bugs mailing list