[FFe] LXC 2.1

Bug #1715278 reported by Stéphane Graber
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lxc (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

LXC upstream just released LXC 2.1. This was meant to happen right before the Ubuntu feature freeze but we ran a bit late due to last minute bugfixes and cleanups.

LXC 2.1 is generally backward compatible all the way down to LXC 1.0 and higher, including at the ABI level (new symbols got added but none were changed or removed since LXC 1.0). So getting LXC 2.1 in Ubuntu 17.04 wouldn't require any porting or changes to any downstream software in the archive.

This release is meant as a transitional release between the 2.0 and 3.0 series of LXC. A great number of configuration options were changed and a number of tools and commands have now been marked as deprecated. But all this without actually removing any of those, instead LXC 2.1 is issuing warnings and providing tooling to automatically convert the needed configuration files.

This will give some time for our users to notice anything that needs updating and get it done before they upgrade to LXC 3.0 and things will stop working until they do those changes then.

Detailed on the LXC 2.1 release are here: https://discuss.linuxcontainers.org/t/lxc-2-1-has-been-released/487

We have packages ready to upload to artful and that have been used during development in our various PPAs. We therefore don't expect any significant issues with this hitting the Ubuntu archive.

tags: added: upgrade-software-version
Revision history for this message
Stéphane Graber (stgraber) wrote :

Can someone please take a look at this one?

It's the kind of thing we'd like uploaded earlier rather than later.

Revision history for this message
Andy Whitcroft (apw) wrote :

On the presumption it is backwards compatible as claimed, this seems ok. The new features all seem optional, and existing configs all are supported. +1.

Changed in lxc (Ubuntu):
status: New → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lxc - 2.1.0-0ubuntu1

---------------
lxc (2.1.0-0ubuntu1) artful; urgency=medium

  * New upstream release (LXC 2.1): (LP: #1715278)
    - https://linuxcontainers.org/lxc/news

    - This is an intermediary release between LXC 2.0 (LTS) and LXC 3.0 (LTS).
      LXC 2.1 supports both the older configuration keys and the newer ones.
      A number of options and commands will also now issue deprecation
      warning before they completely go away in LXC 3.0.

      It is recommended that you run "lxc-update-config" for your
      containers and make sure that there is no leftover warnings.

  * Cherry-pick fixes from upstream:
    - 0002-Fix-typo.patch
    - 0003-network-add-missing-checks-for-empty-links.patch
    - 0004-cleanup-remove-unnecessary-zeroing.patch
    - 0005-console-clean-tty-state-return-0-on-peer-exit.patch
    - 0006-tools-fix-lxc-upate-config.patch
    - 0007-criu-use-correct-check-initialization-check.patch
    - 0008-storage-overlay-do-not-write-to-invalid-memory.patch
    - 0009-utils-do-not-write-to-0-sized-buffer.patch
    - 0010-overlay-fix-use-after-free.patch
    - 0011-lxc-unshare-do-not-pass-NULL-pointer.patch
    - 0012-lxc-user-nic-remove-double-initialization.patch
    - 0013-execute-enable-console-standard-dev-symlinks.patch
    - 0014-start-switch-ids-at-last-possible-instance.patch
    - 0015-storage-avoid-segfault.patch
    - 0016-tests-Support-systemd-hybrid-cgroups.patch

  * Build depend on python3-setuptools.
  * Bump standard to 4.0.0.
  * Drop upstart jobs on artful and higher.
  * Update lintian overrides.
  * Build a manpage with help2man for lxc-update-config.

 -- Stéphane Graber <email address hidden> Mon, 18 Sep 2017 18:32:38 -0400

Changed in lxc (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.