News

LXCFS 5.0.2 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 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

LXCFS 4.0.11 has been released

19th of October 2021

Introduction

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

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

NOTE: This was originally released as LXCFS 4.0.10 but a bug caused the published release tarball to be missing a file. LXCFS 4.0.11 includes that fix.

Bugfixes

Some of the highlights for this release are:

  • Fixed a potential deadlock in the cpuinfo handler
  • Reduced daemon verbosity

The full list of commits is available below:

Detailed changelog
  • proc_cpuview: unlock mutex in all error paths
  • src: rely on config.h for fuse version
  • tree-wide: include own header file first
  • tree-wide: fix fuse header inclusion
  • tree-wide: fix prototypes
  • tree-wide: fix some ifdef checks
  • macro: fix bracket warnings in non-debug mode
  • proc_cpuview: fix unused variable warning
  • tests: rely on config.h only for fuse versioning
  • tests: fix build warnings
  • README: Fix package name
  • lxcfs: fix lxcfs CLI -v and no arg output
  • lxcfs: fix version and usage handling
  • Fix padding for Slab entry in /proc/meminfo
  • cpuview: log non-fatal error in verbose mode only
  • tree-wide: fix type comparisons
  • tree-wide: fix fuse version detection
  • tree-wide: fix HAVE_FUSE3 checks
  • tree-wide: use a single fuse header
  • github: Drop 16.04
  • doc: guide for reload share libary file
  • macro: cast to correct integer types
  • tree-wide: set _GNU_SOURCE configure.ac
  • build: fix lxcfs_fuse.h in release tarball

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