News

LXCFS 5.0.3 LTS has been released

17th of January 2023

Introduction

The LXCFS team is pleased to announce the release of LXCFS 5.0.3!

This is the third bugfix release for LXCFS 5.0 which is supported until June 2027.

Bugfixes

Some of the highlights for this release are:

  • Fixes VFS caching issues when run under FUSE3
  • Fixes some behavioral issues with the new /sys/devices/system/cpu filtering
  • Fixes building on ia64
  • Properly handles cross-personality content for /proc/cpuinfo

The full list of commits is available below:

Detailed changelog
  • set oom_score_adj of lxcfs process to -1000
  • init: respect --prefix when installing systemd unit files
  • Fix build on ia64
  • doc: guide for mount /sys/devices/system/cpu in docker demo
  • utils: add safe_uint32() helper
  • macro.h: add strnprintf macro
  • utils: add get_task_personality helper
  • cpuview: paththrough personality when reading cpuinfo
  • cpuview: fix possible use-after-free in find_proc_stat_node
  • github: make coverity workflow work with meson
  • README: how to build with sanitizers
  • cpuset_parse: check input string in cpuset_nexttok
  • github: enable ASAN and UBSAN during PR tests
  • lxcfs: explicitly enable direct_IO for libfuse3
  • lxcfs: fix copypaste typo in error message
  • /proc/stat: render physical cpu number in non-view mode
  • sysfs: don't mask cpus in /sys/devices/system/cpu
  • lxcfs: handle NULL path in lxcfs_releasedir/lxcfs_release
  • cpuview: fix ABBA deadlock in find_proc_stat_nod

Support and upgrade

The LXCFS 5.0 branch is supported until June 2027.
Only bugfixes and securitiy issues get included into the stable bugfix releases, so it's always safe and recommended to keep up and run the latest bugfix release.

Downloads

LXCFS 5.0.2 LTS has been released

9th of August 2022

Introduction

The LXCFS team is pleased to announce the release of LXCFS 5.0.2!

This is the second bugfix release for LXCFS 5.0 which is supported until June 2027.

It fixes a serious crash in LXCFS 5.0.1 when used with FUSE3.

Bugfixes

Some of the highlights for this release are:

  • Fix crash during load/reload on FUSE3

The full list of commits is available below:

Detailed changelog
  • fix reinitialization with fuse3

Support and upgrade

The LXCFS 5.0 branch is supported until June 2027.
Only bugfixes and securitiy issues get included into the stable bugfix releases, so it's always safe and recommended to keep up and run the latest bugfix release.

Downloads

LXCFS 5.0.1 LTS has been released

26th of July 2022

Introduction

The LXCFS team is pleased to announce the release of LXCFS 5.0.1!

This is the first bugfix release for LXCFS 5.0 which is supported until June 2027.

Bugfixes

Some of the highlights for this release are:

  • Various fixes related to the meson migration
  • Fixes to /sys/devices/system/cpu handling on FUSE2
  • Fix for a formatting issue in /proc/stat
  • Fix for a CGroup2 issue in handling cgroups with no CPU limits
  • Fix to library reload logic

The full list of commits is available below:

Detailed changelog
  • lxcfs_fuse: ensure lxcfs_fuse_compat.h is included after including fuse header
  • tree-wide: remove struct stat argument from DIR_FILLER and make it static inline
  • tree-wide: ensure that file information is set even with legacy fuse
  • tests: add test for issue #522
  • meson: Include documentation
  • workflows: disable documentation generation
  • sysfs: Don't incorrectly filter entries
  • tests: Fix sysfs test
  • utils: add and use opathdir()
  • sysfs_fuse: fix indendation
  • sysfs_fuse: generate file info for cpu entries as well
  • meson: bump fuse version
  • github: add fuse3 tests
  • meson: handle fuse versions with buggy dt_type handling
  • init/meson: Use libdir instead of hardcoded /lib path
  • Query systemd system unit dir.
  • support explicit fuse version choice
  • github: Re-organize Github Actions
  • tests: Skip sysfs test on older FUSE versions
  • init: Fix install paths for sysvinit and openrc
  • meson: Support multiple init systems
  • meson: Syntax nit
  • proc_fuse: extra space in /proc/stat
  • util: remove doubled comment
  • sysfs: correct file size of /sys/devices/system/cpu/online.
  • sysfs: cleanup sys_devices_system_cpu_online_getsize
  • cgroup v2: return cpuset cpu count when no quota is set
  • re-initialize library after reload
  • replace opathdir with opendir_flags
  • github: Restrict permissions
  • github: Validate target branch

Support and upgrade

The LXCFS 5.0 branch is supported until June 2027.
Only bugfixes and securitiy issues get included into the stable bugfix releases, so it's always safe and recommended to keep up and run the latest bugfix release.

Downloads

LXCFS 5.0 LTS has been released

10th of March 2022

Introduction

The LXCFS team is pleased to announce the release of LXCFS 5.0.0!

This is the result of two years of work since the LXCFS 4.0.0 release and is the fourth LTS release for the LXCFS project. This release will be supported until June 2027.

Major changes

Switch to meson

With this release of LXCFS, autotools is being replaced by meson as the build tooling. Compatibility Makefile targets are provided for all, install and dist.

This is a change which is particularly relevant for packagers as it otherwise has no user visible impact.

CGroup2 support

LXCFS 5.0 properly detects and handles cgroup2, using the cgroup2 hierarchy to fetch the resource consumption information for the container. It also automatically disables the cgroup directory feature when run on a cgroup2 system.

/proc/slabinfo support

The per-cgroup slab allocation is now used to provide a container view of /proc/slabinfo.

/sys/devices/system/cpu/ support

In addition to the existing /sys/devices/system/cpu/online support, LXCFS will now virtualize the entire /sys/devices/system/cpu directory in order to hide CPUs which aren't available to the container.

Support and upgrade

LXCFS 5.0.0 will be supported until June 2027 and our current LTS release, LXCFS 4.0 will now switch to a slower maintenance pace, only getting critical bugfixes and security updates.

We strongly recommend all LXCFS users to plan an upgrade to the 5.0 branch.

Downloads

Contributors

The LXCFS 5.0.0 release was brought to you by a total of 21 contributors.

LXCFS 4.0.12 has been released

2nd of February 2022

Introduction

The LXCFS team is pleased to announce the release of LXCFS 4.0.12!

This is the twelfth bugfix release for LXCFS 4.0 which is supported until June 2025.

Bugfixes

Some of the highlights for this release are:

  • CPU sum in /proc/stat is now preserved on cpuset changes
  • Expose an empty cgroup tree when host system is on a unified hierarchy

The full list of commits is available below:

Detailed changelog
  • build: make sue _FILE_OFFSET_BITS is defined to 64bit
  • Skip cpu revise when cfs quota is disable
  • empty cgroup dir if set unified_cgroup_hierarchy=1
  • make meminfo and swaps cgroupv2 aware
  • proc_fuse: use correct type for swap variables
  • proc_cpuview: use PRIu64 to print uint64_t
  • proc_fuse: use PRIu64 to print uint64_t
  • proc_loadavg: use PRIu64 to print uint64_t
  • fix and reformat format strings
  • Preseve cpu sum in /proc/stat when cpuset changes

Support and upgrade

The LXCFS 4.0 branch is supported until June 2025.
Only bugfixes and securitiy issues get included into the stable bugfix releases, so it's always safe and recommended to keep up and run the latest bugfix release.

Downloads

Older news