Package: lxcfs Version: 4.0.7-1Using this package version on a Raspberry PI 4 with the host being arm64 LXC containers (arm32 and arm64) entries in /proc are not usable/not being updated_
The following entries are affected (ls -lisa output): 102005 4 -r--r--r-- 1 nobody nogroup 4096 28. Dez 15:10 cpuinfo 102006 4 -r--r--r-- 1 nobody nogroup 4096 28. Dez 15:10 diskstats 102007 4 -r--r--r-- 1 nobody nogroup 4096 28. Dez 15:10 loadavg 102008 4 -r--r--r-- 1 nobody nogroup 4096 28. Dez 15:10 meminfo 102009 4 -r--r--r-- 1 nobody nogroup 4096 28. Dez 15:10 stat 102010 4 -r--r--r-- 1 nobody nogroup 4096 28. Dez 15:10 swaps 102011 4 -r--r--r-- 1 nobody nogroup 4096 28. Dez 15:10 uptime
This also leads to programs like pkill and pgrep to not work properly and was the reason I discovered the problem:
$ pgrep test pgrep: uptime $Using the following command inside the container one is able to get the /proc entries working again and this does not seem to have any side effects:
/usr/bin/find /proc/ -maxdepth 1 -size 4096c -exec /bin/umount {} \;According to this discussion https://github.com/lxc/lxcfs/issues/553 the bug was just recently fixed here https://github.com/lxc/lxcfs/pull/567.
I am using Raspbian Debian Bullseye 11.2 Linux version 5.15.76-v8+ (dom@buildbot) (aarch64-linux-gnu-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1597 SMP PREEMPT Fri Nov 4 12:16:41 GMT 2022 and libc6 2.31-13+rpt2+rpi1+deb11u5.
OpenPGP_signature
Description: OpenPGP digital signature