[Touch-packages] [Bug 1959993] Re: SRU of LXC 4.0.12 to focal (upstream bugfix release)

2022-06-06 Thread Launchpad Bug Tracker
This bug was fixed in the package lxc - 1:4.0.12-0ubuntu1~20.04.1

---
lxc (1:4.0.12-0ubuntu1~20.04.1) focal; urgency=medium

  * Cherry-pick upstream bugfixes (stable-4.0):
- 0002-lxc-checkconfig-Fix-bashism.patch
- 0003-doc-Fix-reverse-allowlist-denylist.patch

  * New upstream bugfix release (4.0.12) (LP: #1959993):
(https://discuss.linuxcontainers.org/t/lxc-4-0-12-has-been-released/13288)
- Fixed CRIU restoration of containers with pre-created veth interfaces
- Fixed issue with kernels lacking SMT support
- Extended cgroup2 config options in lxc.mount.auto (cgroup2)
- lxc-download now relies on HTTPS for validation (avoids GPG issues)

  * New upstream bugfix release (4.0.11):
(https://discuss.linuxcontainers.org/t/lxc-4-0-11-has-been-released/12427)
- Core scheduling support (lxc.sched.core)
- riscv64 support in lxc.arch
- Significantly improved bash completion profile
- Greater use of the new VFS mount API (when supported by the kernel)
- Fix containers with empty network namespaces
- Handle kernels that lack TIOCGPTPEER
- Improve CPU bitmask/id handling (handle skipped CPU numbers)
- Reworked the tests to run offline

  * New upstream bugfix release (4.0.10):
(https://discuss.linuxcontainers.org/t/lxc-4-0-10-has-been-released/11618)
- Fix issues with less common architectures
- Support for additional idmap mounts
- nft support in lxc-net
- Cleaner mount entries for sys:mixed
- Switched GPG server to keyserver.ubuntu.com

  * New upstream bugfix release (4.0.9):
(https://discuss.linuxcontainers.org/t/lxc-4-0-9-has-been-released/10999)
- Fix incorrect personality setting when running 32bit containers on 64bit

  * New upstream bugfix release (4.0.8):
- Fix CGroup attach against older running containers

  * New upstream bugfix release (4.0.7):
- Testing improvements including fixes from oss-fuzz
- Rework of the attach codepath
- Cgroup handling rework

  * Bump to debhelper 12 (allows focal SRUs)
  * Bump standards to 4.6.0.1
  * Add lintian overrides for incorrect bashism detection
  * Remove bash completion install logic (now done upstream)

 -- Stéphane Graber   Thu, 03 Feb 2022 23:50:20
-0500

** Changed in: lxc (Ubuntu Focal)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1959993

Title:
  SRU of LXC 4.0.12 to focal (upstream bugfix release)

Status in lxc package in Ubuntu:
  In Progress
Status in lxc source package in Focal:
  Fix Released
Status in lxc source package in Impish:
  Fix Released

Bug description:
  LXC released 4.0.12 as a bugfix release and is now in jammy. We'd like
  to line things up in focal.

  [Impact]
  The proposed SRU will bump from 4.0.6 all the way to 4.0.12, lining it up 
with what's currently in jammy. We've been skipping a few of the bugfix 
releases in focal so far, mostly catching up when we're starting to see 
problems with the older version.

  In this case, we've seen a number of issues when running with the HWE
  kernels as well as autopkgtest issues on foreign architectures (arm64
  and s390x), all those will go away with this bump as we've confirmed
  everything is clean in jammy.

  Changelog:

    * Cherry-pick upstream bugfixes (stable-4.0):
  - 0002-lxc-checkconfig-Fix-bashism.patch
  - 0003-doc-Fix-reverse-allowlist-denylist.patch

    * New upstream bugfix release (4.0.12):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-12-has-been-released/13288)
  - Fixed CRIU restoration of containers with pre-created veth interfaces
  - Fixed issue with kernels lacking SMT support
  - Extended cgroup2 config options in lxc.mount.auto (cgroup2)
  - lxc-download now relies on HTTPS for validation (avoids GPG issues)

    * New upstream bugfix release (4.0.11):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-11-has-been-released/12427)
  - Core scheduling support (lxc.sched.core)
  - riscv64 support in lxc.arch
  - Significantly improved bash completion profile
  - Greater use of the new VFS mount API (when supported by the kernel)
  - Fix containers with empty network namespaces
  - Handle kernels that lack TIOCGPTPEER
  - Improve CPU bitmask/id handling (handle skipped CPU numbers)
  - Reworked the tests to run offline

    * New upstream bugfix release (4.0.10):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-10-has-been-released/11618)
  - Fix issues with less common architectures
  - Support for additional idmap mounts
  - nft support in lxc-net
  - Cleaner mount entries for sys:mixed
  - Switched GPG server to keyserver.ubuntu.com

    * New upstream bugfix release (4.0.9):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-9-has-been-released/10999)
  - Fix incorrect personality 

[Touch-packages] [Bug 1959993] Re: SRU of LXC 4.0.12 to focal (upstream bugfix release)

2022-06-06 Thread Launchpad Bug Tracker
This bug was fixed in the package lxc - 1:4.0.12-0ubuntu1~21.10.1

---
lxc (1:4.0.12-0ubuntu1~21.10.1) impish; urgency=medium

  * Cherry-pick upstream bugfixes (stable-4.0):
- 0002-lxc-checkconfig-Fix-bashism.patch
- 0003-doc-Fix-reverse-allowlist-denylist.patch

  * New upstream bugfix release (4.0.12) (LP: #1959993):
(https://discuss.linuxcontainers.org/t/lxc-4-0-12-has-been-released/13288)
- Fixed CRIU restoration of containers with pre-created veth interfaces
- Fixed issue with kernels lacking SMT support
- Extended cgroup2 config options in lxc.mount.auto (cgroup2)
- lxc-download now relies on HTTPS for validation (avoids GPG issues)

  * New upstream bugfix release (4.0.11):
(https://discuss.linuxcontainers.org/t/lxc-4-0-11-has-been-released/12427)
- Core scheduling support (lxc.sched.core)
- riscv64 support in lxc.arch
- Significantly improved bash completion profile
- Greater use of the new VFS mount API (when supported by the kernel)
- Fix containers with empty network namespaces
- Handle kernels that lack TIOCGPTPEER
- Improve CPU bitmask/id handling (handle skipped CPU numbers)
- Reworked the tests to run offline

  * New upstream bugfix release (4.0.10):
(https://discuss.linuxcontainers.org/t/lxc-4-0-10-has-been-released/11618)
- Fix issues with less common architectures
- Support for additional idmap mounts
- nft support in lxc-net
- Cleaner mount entries for sys:mixed
- Switched GPG server to keyserver.ubuntu.com

  * New upstream bugfix release (4.0.9):
(https://discuss.linuxcontainers.org/t/lxc-4-0-9-has-been-released/10999)
- Fix incorrect personality setting when running 32bit containers on 64bit

  * New upstream bugfix release (4.0.8):
- Fix CGroup attach against older running containers

  * New upstream bugfix release (4.0.7):
- Testing improvements including fixes from oss-fuzz
- Rework of the attach codepath
- Cgroup handling rework

  * Bump to debhelper 12 (allows focal SRUs)
  * Bump standards to 4.6.0.1
  * Add lintian overrides for incorrect bashism detection
  * Remove bash completion install logic (now done upstream)

 -- Stéphane Graber   Thu, 03 Feb 2022 23:50:20
-0500

** Changed in: lxc (Ubuntu Impish)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1959993

Title:
  SRU of LXC 4.0.12 to focal (upstream bugfix release)

Status in lxc package in Ubuntu:
  In Progress
Status in lxc source package in Focal:
  Fix Committed
Status in lxc source package in Impish:
  Fix Released

Bug description:
  LXC released 4.0.12 as a bugfix release and is now in jammy. We'd like
  to line things up in focal.

  [Impact]
  The proposed SRU will bump from 4.0.6 all the way to 4.0.12, lining it up 
with what's currently in jammy. We've been skipping a few of the bugfix 
releases in focal so far, mostly catching up when we're starting to see 
problems with the older version.

  In this case, we've seen a number of issues when running with the HWE
  kernels as well as autopkgtest issues on foreign architectures (arm64
  and s390x), all those will go away with this bump as we've confirmed
  everything is clean in jammy.

  Changelog:

    * Cherry-pick upstream bugfixes (stable-4.0):
  - 0002-lxc-checkconfig-Fix-bashism.patch
  - 0003-doc-Fix-reverse-allowlist-denylist.patch

    * New upstream bugfix release (4.0.12):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-12-has-been-released/13288)
  - Fixed CRIU restoration of containers with pre-created veth interfaces
  - Fixed issue with kernels lacking SMT support
  - Extended cgroup2 config options in lxc.mount.auto (cgroup2)
  - lxc-download now relies on HTTPS for validation (avoids GPG issues)

    * New upstream bugfix release (4.0.11):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-11-has-been-released/12427)
  - Core scheduling support (lxc.sched.core)
  - riscv64 support in lxc.arch
  - Significantly improved bash completion profile
  - Greater use of the new VFS mount API (when supported by the kernel)
  - Fix containers with empty network namespaces
  - Handle kernels that lack TIOCGPTPEER
  - Improve CPU bitmask/id handling (handle skipped CPU numbers)
  - Reworked the tests to run offline

    * New upstream bugfix release (4.0.10):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-10-has-been-released/11618)
  - Fix issues with less common architectures
  - Support for additional idmap mounts
  - nft support in lxc-net
  - Cleaner mount entries for sys:mixed
  - Switched GPG server to keyserver.ubuntu.com

    * New upstream bugfix release (4.0.9):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-9-has-been-released/10999)
  - Fix incorrect 

[Touch-packages] [Bug 1959993] Re: SRU of LXC 4.0.12 to focal (upstream bugfix release)

2022-06-02 Thread Stéphane Graber
Have confirmed the packages to be functional on both focal and impish.
Tried installation, upgrade and basic container creation, deletion and normal 
operations.

** Tags removed: verification-needed-focal verification-needed-impish
** Tags added: verification-done-focal verification-done-impish

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1959993

Title:
  SRU of LXC 4.0.12 to focal (upstream bugfix release)

Status in lxc package in Ubuntu:
  In Progress
Status in lxc source package in Focal:
  Fix Committed
Status in lxc source package in Impish:
  Fix Committed

Bug description:
  LXC released 4.0.12 as a bugfix release and is now in jammy. We'd like
  to line things up in focal.

  [Impact]
  The proposed SRU will bump from 4.0.6 all the way to 4.0.12, lining it up 
with what's currently in jammy. We've been skipping a few of the bugfix 
releases in focal so far, mostly catching up when we're starting to see 
problems with the older version.

  In this case, we've seen a number of issues when running with the HWE
  kernels as well as autopkgtest issues on foreign architectures (arm64
  and s390x), all those will go away with this bump as we've confirmed
  everything is clean in jammy.

  Changelog:

    * Cherry-pick upstream bugfixes (stable-4.0):
  - 0002-lxc-checkconfig-Fix-bashism.patch
  - 0003-doc-Fix-reverse-allowlist-denylist.patch

    * New upstream bugfix release (4.0.12):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-12-has-been-released/13288)
  - Fixed CRIU restoration of containers with pre-created veth interfaces
  - Fixed issue with kernels lacking SMT support
  - Extended cgroup2 config options in lxc.mount.auto (cgroup2)
  - lxc-download now relies on HTTPS for validation (avoids GPG issues)

    * New upstream bugfix release (4.0.11):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-11-has-been-released/12427)
  - Core scheduling support (lxc.sched.core)
  - riscv64 support in lxc.arch
  - Significantly improved bash completion profile
  - Greater use of the new VFS mount API (when supported by the kernel)
  - Fix containers with empty network namespaces
  - Handle kernels that lack TIOCGPTPEER
  - Improve CPU bitmask/id handling (handle skipped CPU numbers)
  - Reworked the tests to run offline

    * New upstream bugfix release (4.0.10):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-10-has-been-released/11618)
  - Fix issues with less common architectures
  - Support for additional idmap mounts
  - nft support in lxc-net
  - Cleaner mount entries for sys:mixed
  - Switched GPG server to keyserver.ubuntu.com

    * New upstream bugfix release (4.0.9):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-9-has-been-released/10999)
  - Fix incorrect personality setting when running 32bit containers on 64bit

    * New upstream bugfix release (4.0.8):
  - Fix CGroup attach against older running containers

    * New upstream bugfix release (4.0.7):
  - Testing improvements including fixes from oss-fuzz
  - Rework of the attach codepath
  - Cgroup handling rework

    * Bump to debhelper 12 (allows focal SRUs)
    * Bump standards to 4.6.0.1
    * Add lintian overrides for incorrect bashism detection
    * Remove bash completion install logic (now done upstream)

  Just like Ubuntu itself, upstream releases long term support releases,
  e.g. 4.0, and then periodic point releases including all the
  accumulated bugfixes.

  Only the latest upstream release gets full support from the upstream
  developers, everyone else is expected to first update to it before
  receiving any kind of support.

  This should qualify under the minor/micro upstream bugfix release
  allowance of the SRU policy, letting us SRU this without paperwork for
  every single change included in this upstream release.

  [Test Plan]
  lxc has autopkgtests which will assert that the binaries built in -proposed 
are functional.

  [Where problems could occur]
  This is catching up a fair bit on recent kernel API changes, including 
cgroup1/cgroup2 support, handling of nftables, riscv64 and core scheduling 
which were all needed to properly handle the most recent HWE kernels especially 
as we're getting ready for Ubuntu 22.04's 5.15 to get pushed to focal.

  We've had all that code running on well over a million of LXD snap
  users for a few months now without seeing any issues (or more
  precisely, those issues we found have been all been resolved as of
  4.0.12).

  However what LXD exercises isn't 100% of LXC and it's certainly possible that 
we missed a corner case in one of those changes.
  The good news is that this would most likely be triggered by a HWE kernel, so 
a viable workaround in many cases would be to temporarily go back to the 
original kernel (5.4) while the issue is 

[Touch-packages] [Bug 1959993] Re: SRU of LXC 4.0.12 to focal (upstream bugfix release)

2022-03-22 Thread Brian Murray
Hello Stéphane, or anyone else affected,

Accepted lxc into impish-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/lxc/1:4.0.12-0ubuntu1~21.10.1 in a
few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
impish to verification-done-impish. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-impish. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Also affects: lxc (Ubuntu Focal)
   Importance: Undecided
   Status: New

** Also affects: lxc (Ubuntu Impish)
   Importance: Undecided
   Status: New

** Changed in: lxc (Ubuntu Impish)
   Status: New => Fix Committed

** Tags added: verification-needed verification-needed-impish

** Changed in: lxc (Ubuntu Focal)
   Status: New => Fix Committed

** Tags added: verification-needed-focal

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1959993

Title:
  SRU of LXC 4.0.12 to focal (upstream bugfix release)

Status in lxc package in Ubuntu:
  In Progress
Status in lxc source package in Focal:
  Fix Committed
Status in lxc source package in Impish:
  Fix Committed

Bug description:
  LXC released 4.0.12 as a bugfix release and is now in jammy. We'd like
  to line things up in focal.

  [Impact]
  The proposed SRU will bump from 4.0.6 all the way to 4.0.12, lining it up 
with what's currently in jammy. We've been skipping a few of the bugfix 
releases in focal so far, mostly catching up when we're starting to see 
problems with the older version.

  In this case, we've seen a number of issues when running with the HWE
  kernels as well as autopkgtest issues on foreign architectures (arm64
  and s390x), all those will go away with this bump as we've confirmed
  everything is clean in jammy.

  Changelog:

    * Cherry-pick upstream bugfixes (stable-4.0):
  - 0002-lxc-checkconfig-Fix-bashism.patch
  - 0003-doc-Fix-reverse-allowlist-denylist.patch

    * New upstream bugfix release (4.0.12):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-12-has-been-released/13288)
  - Fixed CRIU restoration of containers with pre-created veth interfaces
  - Fixed issue with kernels lacking SMT support
  - Extended cgroup2 config options in lxc.mount.auto (cgroup2)
  - lxc-download now relies on HTTPS for validation (avoids GPG issues)

    * New upstream bugfix release (4.0.11):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-11-has-been-released/12427)
  - Core scheduling support (lxc.sched.core)
  - riscv64 support in lxc.arch
  - Significantly improved bash completion profile
  - Greater use of the new VFS mount API (when supported by the kernel)
  - Fix containers with empty network namespaces
  - Handle kernels that lack TIOCGPTPEER
  - Improve CPU bitmask/id handling (handle skipped CPU numbers)
  - Reworked the tests to run offline

    * New upstream bugfix release (4.0.10):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-10-has-been-released/11618)
  - Fix issues with less common architectures
  - Support for additional idmap mounts
  - nft support in lxc-net
  - Cleaner mount entries for sys:mixed
  - Switched GPG server to keyserver.ubuntu.com

    * New upstream bugfix release (4.0.9):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-9-has-been-released/10999)
  - Fix incorrect personality setting when running 32bit containers on 64bit

    * New upstream bugfix release (4.0.8):
  - Fix CGroup attach against older running containers

    * New upstream bugfix release (4.0.7):
  - Testing improvements including fixes from oss-fuzz
  - Rework of the attach codepath
  - Cgroup handling rework

    * Bump to debhelper 12 (allows focal SRUs)
    * Bump standards to 4.6.0.1
    * Add lintian overrides for incorrect bashism detection
    * Remove bash completion install logic (now done upstream)

  Just like Ubuntu itself, upstream releases long term support releases,
  e.g. 4.0, and then periodic point releases including all the
  

[Touch-packages] [Bug 1959993] Re: SRU of LXC 4.0.12 to focal (upstream bugfix release)

2022-02-28 Thread Stéphane Graber
Uploaded the exact same thing to impish queue.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1959993

Title:
  SRU of LXC 4.0.12 to focal (upstream bugfix release)

Status in lxc package in Ubuntu:
  In Progress

Bug description:
  LXC released 4.0.12 as a bugfix release and is now in jammy. We'd like
  to line things up in focal.

  [Impact]
  The proposed SRU will bump from 4.0.6 all the way to 4.0.12, lining it up 
with what's currently in jammy. We've been skipping a few of the bugfix 
releases in focal so far, mostly catching up when we're starting to see 
problems with the older version.

  In this case, we've seen a number of issues when running with the HWE
  kernels as well as autopkgtest issues on foreign architectures (arm64
  and s390x), all those will go away with this bump as we've confirmed
  everything is clean in jammy.

  Changelog:

    * Cherry-pick upstream bugfixes (stable-4.0):
  - 0002-lxc-checkconfig-Fix-bashism.patch
  - 0003-doc-Fix-reverse-allowlist-denylist.patch

    * New upstream bugfix release (4.0.12):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-12-has-been-released/13288)
  - Fixed CRIU restoration of containers with pre-created veth interfaces
  - Fixed issue with kernels lacking SMT support
  - Extended cgroup2 config options in lxc.mount.auto (cgroup2)
  - lxc-download now relies on HTTPS for validation (avoids GPG issues)

    * New upstream bugfix release (4.0.11):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-11-has-been-released/12427)
  - Core scheduling support (lxc.sched.core)
  - riscv64 support in lxc.arch
  - Significantly improved bash completion profile
  - Greater use of the new VFS mount API (when supported by the kernel)
  - Fix containers with empty network namespaces
  - Handle kernels that lack TIOCGPTPEER
  - Improve CPU bitmask/id handling (handle skipped CPU numbers)
  - Reworked the tests to run offline

    * New upstream bugfix release (4.0.10):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-10-has-been-released/11618)
  - Fix issues with less common architectures
  - Support for additional idmap mounts
  - nft support in lxc-net
  - Cleaner mount entries for sys:mixed
  - Switched GPG server to keyserver.ubuntu.com

    * New upstream bugfix release (4.0.9):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-9-has-been-released/10999)
  - Fix incorrect personality setting when running 32bit containers on 64bit

    * New upstream bugfix release (4.0.8):
  - Fix CGroup attach against older running containers

    * New upstream bugfix release (4.0.7):
  - Testing improvements including fixes from oss-fuzz
  - Rework of the attach codepath
  - Cgroup handling rework

    * Bump to debhelper 12 (allows focal SRUs)
    * Bump standards to 4.6.0.1
    * Add lintian overrides for incorrect bashism detection
    * Remove bash completion install logic (now done upstream)

  Just like Ubuntu itself, upstream releases long term support releases,
  e.g. 4.0, and then periodic point releases including all the
  accumulated bugfixes.

  Only the latest upstream release gets full support from the upstream
  developers, everyone else is expected to first update to it before
  receiving any kind of support.

  This should qualify under the minor/micro upstream bugfix release
  allowance of the SRU policy, letting us SRU this without paperwork for
  every single change included in this upstream release.

  [Test Plan]
  lxc has autopkgtests which will assert that the binaries built in -proposed 
are functional.

  [Where problems could occur]
  This is catching up a fair bit on recent kernel API changes, including 
cgroup1/cgroup2 support, handling of nftables, riscv64 and core scheduling 
which were all needed to properly handle the most recent HWE kernels especially 
as we're getting ready for Ubuntu 22.04's 5.15 to get pushed to focal.

  We've had all that code running on well over a million of LXD snap
  users for a few months now without seeing any issues (or more
  precisely, those issues we found have been all been resolved as of
  4.0.12).

  However what LXD exercises isn't 100% of LXC and it's certainly possible that 
we missed a corner case in one of those changes.
  The good news is that this would most likely be triggered by a HWE kernel, so 
a viable workaround in many cases would be to temporarily go back to the 
original kernel (5.4) while the issue is sorted out in a follow up SRU.

  It's also worth noting that LXD CI runs daily tests against over a
  dozen different kernels coming from various distros which helps us
  identify such issues quite early on.

  [Other Info]
  Unless absolutely required, we're not intending to push for an SRU to impish 
as it has a reasonably recent LXC (4.0.10) and 

[Touch-packages] [Bug 1959993] Re: SRU of LXC 4.0.12 to focal (upstream bugfix release)

2022-02-25 Thread Robie Basak
At yesterday's SRU team meeting we concluded that we don't want the
archive to end up going down in versions as you upgrade from Focal to
Impish. IOW, we aren't granting an exception in this case. Some reasons:

The time a security update is needed in the future would not be an
appropriate time to be dealing with this complication - for example we
wouldn't want to rule out a cherry-pick and a simple ".1" upload to
Impish should that be the most appropriate thing at a later time, even
if that isn't your normal intention.

I trust Stéphane to make sure the right thing happens in the future, but
what if he's not around at the time? All general processes we have
assume this situation never arises, so fixing it up properly later might
get neglected, and it doesn't seem worth ensuring all relevant processes
are adjusted to ensure this is done properly if we can just avoid the
situation occurring in the first place.

Brian noted that the upgrade path from Focal to Impish _is_ supported.

It sounded like you can get an update for Impish prepared to match the
one you have for Focal, and that wouldn't take you too much effort.

Please could you proceed on this basis?

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1959993

Title:
  SRU of LXC 4.0.12 to focal (upstream bugfix release)

Status in lxc package in Ubuntu:
  In Progress

Bug description:
  LXC released 4.0.12 as a bugfix release and is now in jammy. We'd like
  to line things up in focal.

  [Impact]
  The proposed SRU will bump from 4.0.6 all the way to 4.0.12, lining it up 
with what's currently in jammy. We've been skipping a few of the bugfix 
releases in focal so far, mostly catching up when we're starting to see 
problems with the older version.

  In this case, we've seen a number of issues when running with the HWE
  kernels as well as autopkgtest issues on foreign architectures (arm64
  and s390x), all those will go away with this bump as we've confirmed
  everything is clean in jammy.

  Changelog:

    * Cherry-pick upstream bugfixes (stable-4.0):
  - 0002-lxc-checkconfig-Fix-bashism.patch
  - 0003-doc-Fix-reverse-allowlist-denylist.patch

    * New upstream bugfix release (4.0.12):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-12-has-been-released/13288)
  - Fixed CRIU restoration of containers with pre-created veth interfaces
  - Fixed issue with kernels lacking SMT support
  - Extended cgroup2 config options in lxc.mount.auto (cgroup2)
  - lxc-download now relies on HTTPS for validation (avoids GPG issues)

    * New upstream bugfix release (4.0.11):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-11-has-been-released/12427)
  - Core scheduling support (lxc.sched.core)
  - riscv64 support in lxc.arch
  - Significantly improved bash completion profile
  - Greater use of the new VFS mount API (when supported by the kernel)
  - Fix containers with empty network namespaces
  - Handle kernels that lack TIOCGPTPEER
  - Improve CPU bitmask/id handling (handle skipped CPU numbers)
  - Reworked the tests to run offline

    * New upstream bugfix release (4.0.10):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-10-has-been-released/11618)
  - Fix issues with less common architectures
  - Support for additional idmap mounts
  - nft support in lxc-net
  - Cleaner mount entries for sys:mixed
  - Switched GPG server to keyserver.ubuntu.com

    * New upstream bugfix release (4.0.9):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-9-has-been-released/10999)
  - Fix incorrect personality setting when running 32bit containers on 64bit

    * New upstream bugfix release (4.0.8):
  - Fix CGroup attach against older running containers

    * New upstream bugfix release (4.0.7):
  - Testing improvements including fixes from oss-fuzz
  - Rework of the attach codepath
  - Cgroup handling rework

    * Bump to debhelper 12 (allows focal SRUs)
    * Bump standards to 4.6.0.1
    * Add lintian overrides for incorrect bashism detection
    * Remove bash completion install logic (now done upstream)

  Just like Ubuntu itself, upstream releases long term support releases,
  e.g. 4.0, and then periodic point releases including all the
  accumulated bugfixes.

  Only the latest upstream release gets full support from the upstream
  developers, everyone else is expected to first update to it before
  receiving any kind of support.

  This should qualify under the minor/micro upstream bugfix release
  allowance of the SRU policy, letting us SRU this without paperwork for
  every single change included in this upstream release.

  [Test Plan]
  lxc has autopkgtests which will assert that the binaries built in -proposed 
are functional.

  [Where problems could occur]
  This is catching up a fair bit on recent kernel API changes, including 

[Touch-packages] [Bug 1959993] Re: SRU of LXC 4.0.12 to focal (upstream bugfix release)

2022-02-25 Thread Robie Basak
(note that I haven't actually reviewed the upload yet)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1959993

Title:
  SRU of LXC 4.0.12 to focal (upstream bugfix release)

Status in lxc package in Ubuntu:
  In Progress

Bug description:
  LXC released 4.0.12 as a bugfix release and is now in jammy. We'd like
  to line things up in focal.

  [Impact]
  The proposed SRU will bump from 4.0.6 all the way to 4.0.12, lining it up 
with what's currently in jammy. We've been skipping a few of the bugfix 
releases in focal so far, mostly catching up when we're starting to see 
problems with the older version.

  In this case, we've seen a number of issues when running with the HWE
  kernels as well as autopkgtest issues on foreign architectures (arm64
  and s390x), all those will go away with this bump as we've confirmed
  everything is clean in jammy.

  Changelog:

    * Cherry-pick upstream bugfixes (stable-4.0):
  - 0002-lxc-checkconfig-Fix-bashism.patch
  - 0003-doc-Fix-reverse-allowlist-denylist.patch

    * New upstream bugfix release (4.0.12):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-12-has-been-released/13288)
  - Fixed CRIU restoration of containers with pre-created veth interfaces
  - Fixed issue with kernels lacking SMT support
  - Extended cgroup2 config options in lxc.mount.auto (cgroup2)
  - lxc-download now relies on HTTPS for validation (avoids GPG issues)

    * New upstream bugfix release (4.0.11):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-11-has-been-released/12427)
  - Core scheduling support (lxc.sched.core)
  - riscv64 support in lxc.arch
  - Significantly improved bash completion profile
  - Greater use of the new VFS mount API (when supported by the kernel)
  - Fix containers with empty network namespaces
  - Handle kernels that lack TIOCGPTPEER
  - Improve CPU bitmask/id handling (handle skipped CPU numbers)
  - Reworked the tests to run offline

    * New upstream bugfix release (4.0.10):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-10-has-been-released/11618)
  - Fix issues with less common architectures
  - Support for additional idmap mounts
  - nft support in lxc-net
  - Cleaner mount entries for sys:mixed
  - Switched GPG server to keyserver.ubuntu.com

    * New upstream bugfix release (4.0.9):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-9-has-been-released/10999)
  - Fix incorrect personality setting when running 32bit containers on 64bit

    * New upstream bugfix release (4.0.8):
  - Fix CGroup attach against older running containers

    * New upstream bugfix release (4.0.7):
  - Testing improvements including fixes from oss-fuzz
  - Rework of the attach codepath
  - Cgroup handling rework

    * Bump to debhelper 12 (allows focal SRUs)
    * Bump standards to 4.6.0.1
    * Add lintian overrides for incorrect bashism detection
    * Remove bash completion install logic (now done upstream)

  Just like Ubuntu itself, upstream releases long term support releases,
  e.g. 4.0, and then periodic point releases including all the
  accumulated bugfixes.

  Only the latest upstream release gets full support from the upstream
  developers, everyone else is expected to first update to it before
  receiving any kind of support.

  This should qualify under the minor/micro upstream bugfix release
  allowance of the SRU policy, letting us SRU this without paperwork for
  every single change included in this upstream release.

  [Test Plan]
  lxc has autopkgtests which will assert that the binaries built in -proposed 
are functional.

  [Where problems could occur]
  This is catching up a fair bit on recent kernel API changes, including 
cgroup1/cgroup2 support, handling of nftables, riscv64 and core scheduling 
which were all needed to properly handle the most recent HWE kernels especially 
as we're getting ready for Ubuntu 22.04's 5.15 to get pushed to focal.

  We've had all that code running on well over a million of LXD snap
  users for a few months now without seeing any issues (or more
  precisely, those issues we found have been all been resolved as of
  4.0.12).

  However what LXD exercises isn't 100% of LXC and it's certainly possible that 
we missed a corner case in one of those changes.
  The good news is that this would most likely be triggered by a HWE kernel, so 
a viable workaround in many cases would be to temporarily go back to the 
original kernel (5.4) while the issue is sorted out in a follow up SRU.

  It's also worth noting that LXD CI runs daily tests against over a
  dozen different kernels coming from various distros which helps us
  identify such issues quite early on.

  [Other Info]
  Unless absolutely required, we're not intending to push for an SRU to impish 
as it has a reasonably recent LXC (4.0.10) and 

[Touch-packages] [Bug 1959993] Re: SRU of LXC 4.0.12 to focal (upstream bugfix release)

2022-02-15 Thread Stéphane Graber
Thanks Brian, my memory of this whole thing clearly dates back a long
time then ;)

I still remember some of the discussions of what we'd expect people to
be doing in such cases and whether we'd ever officially support (as in
test/validate) upgrade paths other than release to release+1 and LTS to
LTS+1.

I remember us struggling to really validate those two more common paths
so I wonder what's done today to validate the upgrade paths when one
release goes EOL and the upgrade path changes to something different for
those upgrading from the LTS.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1959993

Title:
  SRU of LXC 4.0.12 to focal (upstream bugfix release)

Status in lxc package in Ubuntu:
  In Progress

Bug description:
  LXC released 4.0.12 as a bugfix release and is now in jammy. We'd like
  to line things up in focal.

  [Impact]
  The proposed SRU will bump from 4.0.6 all the way to 4.0.12, lining it up 
with what's currently in jammy. We've been skipping a few of the bugfix 
releases in focal so far, mostly catching up when we're starting to see 
problems with the older version.

  In this case, we've seen a number of issues when running with the HWE
  kernels as well as autopkgtest issues on foreign architectures (arm64
  and s390x), all those will go away with this bump as we've confirmed
  everything is clean in jammy.

  Changelog:

    * Cherry-pick upstream bugfixes (stable-4.0):
  - 0002-lxc-checkconfig-Fix-bashism.patch
  - 0003-doc-Fix-reverse-allowlist-denylist.patch

    * New upstream bugfix release (4.0.12):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-12-has-been-released/13288)
  - Fixed CRIU restoration of containers with pre-created veth interfaces
  - Fixed issue with kernels lacking SMT support
  - Extended cgroup2 config options in lxc.mount.auto (cgroup2)
  - lxc-download now relies on HTTPS for validation (avoids GPG issues)

    * New upstream bugfix release (4.0.11):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-11-has-been-released/12427)
  - Core scheduling support (lxc.sched.core)
  - riscv64 support in lxc.arch
  - Significantly improved bash completion profile
  - Greater use of the new VFS mount API (when supported by the kernel)
  - Fix containers with empty network namespaces
  - Handle kernels that lack TIOCGPTPEER
  - Improve CPU bitmask/id handling (handle skipped CPU numbers)
  - Reworked the tests to run offline

    * New upstream bugfix release (4.0.10):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-10-has-been-released/11618)
  - Fix issues with less common architectures
  - Support for additional idmap mounts
  - nft support in lxc-net
  - Cleaner mount entries for sys:mixed
  - Switched GPG server to keyserver.ubuntu.com

    * New upstream bugfix release (4.0.9):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-9-has-been-released/10999)
  - Fix incorrect personality setting when running 32bit containers on 64bit

    * New upstream bugfix release (4.0.8):
  - Fix CGroup attach against older running containers

    * New upstream bugfix release (4.0.7):
  - Testing improvements including fixes from oss-fuzz
  - Rework of the attach codepath
  - Cgroup handling rework

    * Bump to debhelper 12 (allows focal SRUs)
    * Bump standards to 4.6.0.1
    * Add lintian overrides for incorrect bashism detection
    * Remove bash completion install logic (now done upstream)

  Just like Ubuntu itself, upstream releases long term support releases,
  e.g. 4.0, and then periodic point releases including all the
  accumulated bugfixes.

  Only the latest upstream release gets full support from the upstream
  developers, everyone else is expected to first update to it before
  receiving any kind of support.

  This should qualify under the minor/micro upstream bugfix release
  allowance of the SRU policy, letting us SRU this without paperwork for
  every single change included in this upstream release.

  [Test Plan]
  lxc has autopkgtests which will assert that the binaries built in -proposed 
are functional.

  [Where problems could occur]
  This is catching up a fair bit on recent kernel API changes, including 
cgroup1/cgroup2 support, handling of nftables, riscv64 and core scheduling 
which were all needed to properly handle the most recent HWE kernels especially 
as we're getting ready for Ubuntu 22.04's 5.15 to get pushed to focal.

  We've had all that code running on well over a million of LXD snap
  users for a few months now without seeing any issues (or more
  precisely, those issues we found have been all been resolved as of
  4.0.12).

  However what LXD exercises isn't 100% of LXC and it's certainly possible that 
we missed a corner case in one of those changes.
  The good news is that this would most likely be 

[Touch-packages] [Bug 1959993] Re: SRU of LXC 4.0.12 to focal (upstream bugfix release)

2022-02-15 Thread Brian Murray
As a point of clarification here the release upgrade process skips
interim releases once they become end of life, so if one were to upgrade
from Focal they would upgrade to Impish or Jammy (depending on how their
system is configured). It looks like I made this change 7 years ago
(gasp!).

https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-
upgrader/+bug/1497024

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1959993

Title:
  SRU of LXC 4.0.12 to focal (upstream bugfix release)

Status in lxc package in Ubuntu:
  In Progress

Bug description:
  LXC released 4.0.12 as a bugfix release and is now in jammy. We'd like
  to line things up in focal.

  [Impact]
  The proposed SRU will bump from 4.0.6 all the way to 4.0.12, lining it up 
with what's currently in jammy. We've been skipping a few of the bugfix 
releases in focal so far, mostly catching up when we're starting to see 
problems with the older version.

  In this case, we've seen a number of issues when running with the HWE
  kernels as well as autopkgtest issues on foreign architectures (arm64
  and s390x), all those will go away with this bump as we've confirmed
  everything is clean in jammy.

  Changelog:

    * Cherry-pick upstream bugfixes (stable-4.0):
  - 0002-lxc-checkconfig-Fix-bashism.patch
  - 0003-doc-Fix-reverse-allowlist-denylist.patch

    * New upstream bugfix release (4.0.12):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-12-has-been-released/13288)
  - Fixed CRIU restoration of containers with pre-created veth interfaces
  - Fixed issue with kernels lacking SMT support
  - Extended cgroup2 config options in lxc.mount.auto (cgroup2)
  - lxc-download now relies on HTTPS for validation (avoids GPG issues)

    * New upstream bugfix release (4.0.11):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-11-has-been-released/12427)
  - Core scheduling support (lxc.sched.core)
  - riscv64 support in lxc.arch
  - Significantly improved bash completion profile
  - Greater use of the new VFS mount API (when supported by the kernel)
  - Fix containers with empty network namespaces
  - Handle kernels that lack TIOCGPTPEER
  - Improve CPU bitmask/id handling (handle skipped CPU numbers)
  - Reworked the tests to run offline

    * New upstream bugfix release (4.0.10):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-10-has-been-released/11618)
  - Fix issues with less common architectures
  - Support for additional idmap mounts
  - nft support in lxc-net
  - Cleaner mount entries for sys:mixed
  - Switched GPG server to keyserver.ubuntu.com

    * New upstream bugfix release (4.0.9):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-9-has-been-released/10999)
  - Fix incorrect personality setting when running 32bit containers on 64bit

    * New upstream bugfix release (4.0.8):
  - Fix CGroup attach against older running containers

    * New upstream bugfix release (4.0.7):
  - Testing improvements including fixes from oss-fuzz
  - Rework of the attach codepath
  - Cgroup handling rework

    * Bump to debhelper 12 (allows focal SRUs)
    * Bump standards to 4.6.0.1
    * Add lintian overrides for incorrect bashism detection
    * Remove bash completion install logic (now done upstream)

  Just like Ubuntu itself, upstream releases long term support releases,
  e.g. 4.0, and then periodic point releases including all the
  accumulated bugfixes.

  Only the latest upstream release gets full support from the upstream
  developers, everyone else is expected to first update to it before
  receiving any kind of support.

  This should qualify under the minor/micro upstream bugfix release
  allowance of the SRU policy, letting us SRU this without paperwork for
  every single change included in this upstream release.

  [Test Plan]
  lxc has autopkgtests which will assert that the binaries built in -proposed 
are functional.

  [Where problems could occur]
  This is catching up a fair bit on recent kernel API changes, including 
cgroup1/cgroup2 support, handling of nftables, riscv64 and core scheduling 
which were all needed to properly handle the most recent HWE kernels especially 
as we're getting ready for Ubuntu 22.04's 5.15 to get pushed to focal.

  We've had all that code running on well over a million of LXD snap
  users for a few months now without seeing any issues (or more
  precisely, those issues we found have been all been resolved as of
  4.0.12).

  However what LXD exercises isn't 100% of LXC and it's certainly possible that 
we missed a corner case in one of those changes.
  The good news is that this would most likely be triggered by a HWE kernel, so 
a viable workaround in many cases would be to temporarily go back to the 
original kernel (5.4) while the issue is sorted out in a follow up SRU.

  

[Touch-packages] [Bug 1959993] Re: SRU of LXC 4.0.12 to focal (upstream bugfix release)

2022-02-10 Thread Robie Basak
OK thanks. I'll consult with others on the SRU team on this - I've added
it to our meeting agenda. If it's decided that this is OK then I'll make
sure it's documented to avoid holding you up on it again.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1959993

Title:
  SRU of LXC 4.0.12 to focal (upstream bugfix release)

Status in lxc package in Ubuntu:
  In Progress

Bug description:
  LXC released 4.0.12 as a bugfix release and is now in jammy. We'd like
  to line things up in focal.

  [Impact]
  The proposed SRU will bump from 4.0.6 all the way to 4.0.12, lining it up 
with what's currently in jammy. We've been skipping a few of the bugfix 
releases in focal so far, mostly catching up when we're starting to see 
problems with the older version.

  In this case, we've seen a number of issues when running with the HWE
  kernels as well as autopkgtest issues on foreign architectures (arm64
  and s390x), all those will go away with this bump as we've confirmed
  everything is clean in jammy.

  Changelog:

    * Cherry-pick upstream bugfixes (stable-4.0):
  - 0002-lxc-checkconfig-Fix-bashism.patch
  - 0003-doc-Fix-reverse-allowlist-denylist.patch

    * New upstream bugfix release (4.0.12):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-12-has-been-released/13288)
  - Fixed CRIU restoration of containers with pre-created veth interfaces
  - Fixed issue with kernels lacking SMT support
  - Extended cgroup2 config options in lxc.mount.auto (cgroup2)
  - lxc-download now relies on HTTPS for validation (avoids GPG issues)

    * New upstream bugfix release (4.0.11):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-11-has-been-released/12427)
  - Core scheduling support (lxc.sched.core)
  - riscv64 support in lxc.arch
  - Significantly improved bash completion profile
  - Greater use of the new VFS mount API (when supported by the kernel)
  - Fix containers with empty network namespaces
  - Handle kernels that lack TIOCGPTPEER
  - Improve CPU bitmask/id handling (handle skipped CPU numbers)
  - Reworked the tests to run offline

    * New upstream bugfix release (4.0.10):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-10-has-been-released/11618)
  - Fix issues with less common architectures
  - Support for additional idmap mounts
  - nft support in lxc-net
  - Cleaner mount entries for sys:mixed
  - Switched GPG server to keyserver.ubuntu.com

    * New upstream bugfix release (4.0.9):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-9-has-been-released/10999)
  - Fix incorrect personality setting when running 32bit containers on 64bit

    * New upstream bugfix release (4.0.8):
  - Fix CGroup attach against older running containers

    * New upstream bugfix release (4.0.7):
  - Testing improvements including fixes from oss-fuzz
  - Rework of the attach codepath
  - Cgroup handling rework

    * Bump to debhelper 12 (allows focal SRUs)
    * Bump standards to 4.6.0.1
    * Add lintian overrides for incorrect bashism detection
    * Remove bash completion install logic (now done upstream)

  Just like Ubuntu itself, upstream releases long term support releases,
  e.g. 4.0, and then periodic point releases including all the
  accumulated bugfixes.

  Only the latest upstream release gets full support from the upstream
  developers, everyone else is expected to first update to it before
  receiving any kind of support.

  This should qualify under the minor/micro upstream bugfix release
  allowance of the SRU policy, letting us SRU this without paperwork for
  every single change included in this upstream release.

  [Test Plan]
  lxc has autopkgtests which will assert that the binaries built in -proposed 
are functional.

  [Where problems could occur]
  This is catching up a fair bit on recent kernel API changes, including 
cgroup1/cgroup2 support, handling of nftables, riscv64 and core scheduling 
which were all needed to properly handle the most recent HWE kernels especially 
as we're getting ready for Ubuntu 22.04's 5.15 to get pushed to focal.

  We've had all that code running on well over a million of LXD snap
  users for a few months now without seeing any issues (or more
  precisely, those issues we found have been all been resolved as of
  4.0.12).

  However what LXD exercises isn't 100% of LXC and it's certainly possible that 
we missed a corner case in one of those changes.
  The good news is that this would most likely be triggered by a HWE kernel, so 
a viable workaround in many cases would be to temporarily go back to the 
original kernel (5.4) while the issue is sorted out in a follow up SRU.

  It's also worth noting that LXD CI runs daily tests against over a
  dozen different kernels coming from various distros which helps us
  identify such issues quite 

[Touch-packages] [Bug 1959993] Re: SRU of LXC 4.0.12 to focal (upstream bugfix release)

2022-02-09 Thread Stéphane Graber
(We technically had the same issue with the previous upload as 4.0.6 was
higher than what hirsute shipped at the time, though in that case the
EOL for hirsute was just a month or so away making the case for skipping
that SRU even stronger :))

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1959993

Title:
  SRU of LXC 4.0.12 to focal (upstream bugfix release)

Status in lxc package in Ubuntu:
  In Progress

Bug description:
  LXC released 4.0.12 as a bugfix release and is now in jammy. We'd like
  to line things up in focal.

  [Impact]
  The proposed SRU will bump from 4.0.6 all the way to 4.0.12, lining it up 
with what's currently in jammy. We've been skipping a few of the bugfix 
releases in focal so far, mostly catching up when we're starting to see 
problems with the older version.

  In this case, we've seen a number of issues when running with the HWE
  kernels as well as autopkgtest issues on foreign architectures (arm64
  and s390x), all those will go away with this bump as we've confirmed
  everything is clean in jammy.

  Changelog:

    * Cherry-pick upstream bugfixes (stable-4.0):
  - 0002-lxc-checkconfig-Fix-bashism.patch
  - 0003-doc-Fix-reverse-allowlist-denylist.patch

    * New upstream bugfix release (4.0.12):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-12-has-been-released/13288)
  - Fixed CRIU restoration of containers with pre-created veth interfaces
  - Fixed issue with kernels lacking SMT support
  - Extended cgroup2 config options in lxc.mount.auto (cgroup2)
  - lxc-download now relies on HTTPS for validation (avoids GPG issues)

    * New upstream bugfix release (4.0.11):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-11-has-been-released/12427)
  - Core scheduling support (lxc.sched.core)
  - riscv64 support in lxc.arch
  - Significantly improved bash completion profile
  - Greater use of the new VFS mount API (when supported by the kernel)
  - Fix containers with empty network namespaces
  - Handle kernels that lack TIOCGPTPEER
  - Improve CPU bitmask/id handling (handle skipped CPU numbers)
  - Reworked the tests to run offline

    * New upstream bugfix release (4.0.10):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-10-has-been-released/11618)
  - Fix issues with less common architectures
  - Support for additional idmap mounts
  - nft support in lxc-net
  - Cleaner mount entries for sys:mixed
  - Switched GPG server to keyserver.ubuntu.com

    * New upstream bugfix release (4.0.9):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-9-has-been-released/10999)
  - Fix incorrect personality setting when running 32bit containers on 64bit

    * New upstream bugfix release (4.0.8):
  - Fix CGroup attach against older running containers

    * New upstream bugfix release (4.0.7):
  - Testing improvements including fixes from oss-fuzz
  - Rework of the attach codepath
  - Cgroup handling rework

    * Bump to debhelper 12 (allows focal SRUs)
    * Bump standards to 4.6.0.1
    * Add lintian overrides for incorrect bashism detection
    * Remove bash completion install logic (now done upstream)

  Just like Ubuntu itself, upstream releases long term support releases,
  e.g. 4.0, and then periodic point releases including all the
  accumulated bugfixes.

  Only the latest upstream release gets full support from the upstream
  developers, everyone else is expected to first update to it before
  receiving any kind of support.

  This should qualify under the minor/micro upstream bugfix release
  allowance of the SRU policy, letting us SRU this without paperwork for
  every single change included in this upstream release.

  [Test Plan]
  lxc has autopkgtests which will assert that the binaries built in -proposed 
are functional.

  [Where problems could occur]
  This is catching up a fair bit on recent kernel API changes, including 
cgroup1/cgroup2 support, handling of nftables, riscv64 and core scheduling 
which were all needed to properly handle the most recent HWE kernels especially 
as we're getting ready for Ubuntu 22.04's 5.15 to get pushed to focal.

  We've had all that code running on well over a million of LXD snap
  users for a few months now without seeing any issues (or more
  precisely, those issues we found have been all been resolved as of
  4.0.12).

  However what LXD exercises isn't 100% of LXC and it's certainly possible that 
we missed a corner case in one of those changes.
  The good news is that this would most likely be triggered by a HWE kernel, so 
a viable workaround in many cases would be to temporarily go back to the 
original kernel (5.4) while the issue is sorted out in a follow up SRU.

  It's also worth noting that LXD CI runs daily tests against over a
  dozen different kernels coming from various distros which 

[Touch-packages] [Bug 1959993] Re: SRU of LXC 4.0.12 to focal (upstream bugfix release)

2022-02-09 Thread Stéphane Graber
In general, it's indeed a problem for such cases, though there are a few
mitigating factors here:

 - This would only be a problem for those who upgrade from focal to
impish. My understanding is that there is no direct upgrade path to
achieve this, you'd need to go throughgroovy and hirsute, both of which
are EOL, so I wouldn't really expect many/any user to do this.

 - The LXC team is responsible for self-assigning CVEs and preparing LXC
security updates (~ubuntu-lxc-security). In such cases we usually prefer
releasing a new upstream bugfix release (LXC 4.0.x is an LTS with a 5
years security commitment upstream) and then upload that to the
-security pockets where applicable. So in that case, we'd bump jammy to
match focal, saving us some effort on validating the security update by
making things be identical on all releases shipping 4.0.x (jammy will be
on 5.0.x).

That's generally how we've handled those micro release updates and so
far haven't run into any problems but I'm also not necessarily against
uploading the exact same source package as focal to impish, the
preparation time would be pretty minimal, it's mostly on the review and
testing side of things that things can increase significantly especially
as we usually struggle to find users on non-LTS to perform more than a
simple install/upgrade test.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1959993

Title:
  SRU of LXC 4.0.12 to focal (upstream bugfix release)

Status in lxc package in Ubuntu:
  In Progress

Bug description:
  LXC released 4.0.12 as a bugfix release and is now in jammy. We'd like
  to line things up in focal.

  [Impact]
  The proposed SRU will bump from 4.0.6 all the way to 4.0.12, lining it up 
with what's currently in jammy. We've been skipping a few of the bugfix 
releases in focal so far, mostly catching up when we're starting to see 
problems with the older version.

  In this case, we've seen a number of issues when running with the HWE
  kernels as well as autopkgtest issues on foreign architectures (arm64
  and s390x), all those will go away with this bump as we've confirmed
  everything is clean in jammy.

  Changelog:

    * Cherry-pick upstream bugfixes (stable-4.0):
  - 0002-lxc-checkconfig-Fix-bashism.patch
  - 0003-doc-Fix-reverse-allowlist-denylist.patch

    * New upstream bugfix release (4.0.12):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-12-has-been-released/13288)
  - Fixed CRIU restoration of containers with pre-created veth interfaces
  - Fixed issue with kernels lacking SMT support
  - Extended cgroup2 config options in lxc.mount.auto (cgroup2)
  - lxc-download now relies on HTTPS for validation (avoids GPG issues)

    * New upstream bugfix release (4.0.11):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-11-has-been-released/12427)
  - Core scheduling support (lxc.sched.core)
  - riscv64 support in lxc.arch
  - Significantly improved bash completion profile
  - Greater use of the new VFS mount API (when supported by the kernel)
  - Fix containers with empty network namespaces
  - Handle kernels that lack TIOCGPTPEER
  - Improve CPU bitmask/id handling (handle skipped CPU numbers)
  - Reworked the tests to run offline

    * New upstream bugfix release (4.0.10):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-10-has-been-released/11618)
  - Fix issues with less common architectures
  - Support for additional idmap mounts
  - nft support in lxc-net
  - Cleaner mount entries for sys:mixed
  - Switched GPG server to keyserver.ubuntu.com

    * New upstream bugfix release (4.0.9):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-9-has-been-released/10999)
  - Fix incorrect personality setting when running 32bit containers on 64bit

    * New upstream bugfix release (4.0.8):
  - Fix CGroup attach against older running containers

    * New upstream bugfix release (4.0.7):
  - Testing improvements including fixes from oss-fuzz
  - Rework of the attach codepath
  - Cgroup handling rework

    * Bump to debhelper 12 (allows focal SRUs)
    * Bump standards to 4.6.0.1
    * Add lintian overrides for incorrect bashism detection
    * Remove bash completion install logic (now done upstream)

  Just like Ubuntu itself, upstream releases long term support releases,
  e.g. 4.0, and then periodic point releases including all the
  accumulated bugfixes.

  Only the latest upstream release gets full support from the upstream
  developers, everyone else is expected to first update to it before
  receiving any kind of support.

  This should qualify under the minor/micro upstream bugfix release
  allowance of the SRU policy, letting us SRU this without paperwork for
  every single change included in this upstream release.

  [Test Plan]
  lxc has autopkgtests which will assert that 

[Touch-packages] [Bug 1959993] Re: SRU of LXC 4.0.12 to focal (upstream bugfix release)

2022-02-09 Thread Robie Basak
Thank you for the detailed SRU information! You anticipated most of the
obvious questions and saved us a bunch of round trips.

> Should someone do an upgrade to impish, we've confirmed that the
upgrade is resolvable and that they'll just be left with a more recent
version of LXC than that in the impish archive, until jammy releases and
they upgrade to it.

Wouldn't that leave them missing security updates that might be
subsequently uploaded to Impish? I was under the impression that leaving
the archive in this situation is always a hard no.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1959993

Title:
  SRU of LXC 4.0.12 to focal (upstream bugfix release)

Status in lxc package in Ubuntu:
  In Progress

Bug description:
  LXC released 4.0.12 as a bugfix release and is now in jammy. We'd like
  to line things up in focal.

  [Impact]
  The proposed SRU will bump from 4.0.6 all the way to 4.0.12, lining it up 
with what's currently in jammy. We've been skipping a few of the bugfix 
releases in focal so far, mostly catching up when we're starting to see 
problems with the older version.

  In this case, we've seen a number of issues when running with the HWE
  kernels as well as autopkgtest issues on foreign architectures (arm64
  and s390x), all those will go away with this bump as we've confirmed
  everything is clean in jammy.

  Changelog:

    * Cherry-pick upstream bugfixes (stable-4.0):
  - 0002-lxc-checkconfig-Fix-bashism.patch
  - 0003-doc-Fix-reverse-allowlist-denylist.patch

    * New upstream bugfix release (4.0.12):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-12-has-been-released/13288)
  - Fixed CRIU restoration of containers with pre-created veth interfaces
  - Fixed issue with kernels lacking SMT support
  - Extended cgroup2 config options in lxc.mount.auto (cgroup2)
  - lxc-download now relies on HTTPS for validation (avoids GPG issues)

    * New upstream bugfix release (4.0.11):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-11-has-been-released/12427)
  - Core scheduling support (lxc.sched.core)
  - riscv64 support in lxc.arch
  - Significantly improved bash completion profile
  - Greater use of the new VFS mount API (when supported by the kernel)
  - Fix containers with empty network namespaces
  - Handle kernels that lack TIOCGPTPEER
  - Improve CPU bitmask/id handling (handle skipped CPU numbers)
  - Reworked the tests to run offline

    * New upstream bugfix release (4.0.10):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-10-has-been-released/11618)
  - Fix issues with less common architectures
  - Support for additional idmap mounts
  - nft support in lxc-net
  - Cleaner mount entries for sys:mixed
  - Switched GPG server to keyserver.ubuntu.com

    * New upstream bugfix release (4.0.9):
  (https://discuss.linuxcontainers.org/t/lxc-4-0-9-has-been-released/10999)
  - Fix incorrect personality setting when running 32bit containers on 64bit

    * New upstream bugfix release (4.0.8):
  - Fix CGroup attach against older running containers

    * New upstream bugfix release (4.0.7):
  - Testing improvements including fixes from oss-fuzz
  - Rework of the attach codepath
  - Cgroup handling rework

    * Bump to debhelper 12 (allows focal SRUs)
    * Bump standards to 4.6.0.1
    * Add lintian overrides for incorrect bashism detection
    * Remove bash completion install logic (now done upstream)

  Just like Ubuntu itself, upstream releases long term support releases,
  e.g. 4.0, and then periodic point releases including all the
  accumulated bugfixes.

  Only the latest upstream release gets full support from the upstream
  developers, everyone else is expected to first update to it before
  receiving any kind of support.

  This should qualify under the minor/micro upstream bugfix release
  allowance of the SRU policy, letting us SRU this without paperwork for
  every single change included in this upstream release.

  [Test Plan]
  lxc has autopkgtests which will assert that the binaries built in -proposed 
are functional.

  [Where problems could occur]
  This is catching up a fair bit on recent kernel API changes, including 
cgroup1/cgroup2 support, handling of nftables, riscv64 and core scheduling 
which were all needed to properly handle the most recent HWE kernels especially 
as we're getting ready for Ubuntu 22.04's 5.15 to get pushed to focal.

  We've had all that code running on well over a million of LXD snap
  users for a few months now without seeing any issues (or more
  precisely, those issues we found have been all been resolved as of
  4.0.12).

  However what LXD exercises isn't 100% of LXC and it's certainly possible that 
we missed a corner case in one of those changes.
  The good news is that this would most likely be