[pkg-lxc-devel] Bug#1036818: lxcfs: /proc/cpuinfo is empty inside lxc on armel and armhf
Mathias Gibbens
gibmat at debian.org
Sat Aug 26 02:53:41 BST 2023
Control: forwarded -1 https://github.com/lxc/lxcfs/issues/608
Control: tags -1 + confirmed - moreinfo
I finally had a free day to investigate this, and I tracked down the
issue: too many CPUs! :)
32bit arm systems report an additional line in /proc/cpuinfo, which
isn't accounted for in lxcfs. That causes lxcfs to consume an
intentional buffer padding, until at about the 13th CPU the internal
buffer is consumed and lxcfs bails on trying to report a /proc/cpuinfo
to the container.
Further details are in the linked bug report, but for now if the
armel and armhf VMs are limited to 12 CPUs, I think everything should
work as expected. Once there's a fix upstream, it can be cherry-picked
back to the version of lxcfs for bookworm in a point update.
Mathias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-lxc-devel/attachments/20230826/c9195302/attachment.sig>
More information about the Pkg-lxc-devel
mailing list