Your message dated Thu, 5 Jan 2023 20:18:51 +0100
with message-id <[email protected]>
and subject line Finished
has caused the Debian Bug report #1027798,
regarding LXCFS: not updating entries in /proc on arm64
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1027798: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1027798
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lxcfs
Version: 4.0.7-1

Using 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.

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
This can be closed as the original package does behave as it should.
The process of creating the root fs, where /var/lib/lxcfs resided resulted in static files being placed their overlaying the /proc in the containers. Deleting the static files made the containers work as expected.

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


--- End Message ---

Reply via email to