Weekly status #340

Weekly status for the week of 18th March to 24th March.


The past week has mostly been focussed on fixing bugs as we get ready for pushing LXD 5.21 to the stable snap channels.

Bug fixes

  • Check image being requested from a remote exists before exporting it. Prevents being able to manipulate the lxc image export command in trying to access a local file.
  • Improve BTRFS storage pool database record recovery by recreating the source device UUID if detected (to match the initial creation process).
  • Stop setting “soft” container memory limit when hard limit is set for cgroupv2. This was preventing the OOM killer from kicking in and instead slowing all of the container’s processes to a crawl when memory limit was reached.
  • Fix issue that was preventing launching VMs on hosts with greater than 288 CPU cores.
  • Set fs.inotify.max_user_watches sysctl setting to at least 1048576 when using LXD from the snap package. This allows running more than ~85 Ubuntu containers concurrently out of the box.
  • Sync LXD snap package daemon.start script user/group creation with daemon.activate script.
  • Fixed issue in the LXD snap setup-shmounts program that was not correctly terminating the forked child process and was incorrectly continuing onto the parent part of the process from the child. This was causing shmounts to incorrectly be setup sometimes which in turn was preventing removal of the LXD snap in some cases.

All changes

The items listed below is all of the work which happened over the past week and which will be included in the next release.


LXD Charm

  • Nothing to report this week

Distribution work

This section is used to track the work done in downstream Linux distributions to ship the latest LXD as well as work to get various software to work properly inside containers.


  • Nothing to report this week.

LXD snap