Your message dated Mon, 14 Apr 2025 08:36:42 +0000
with message-id <[email protected]>
and subject line Bug#1072831: fixed in procps 2:4.0.4-8
has caused the Debian Bug report #1072831,
regarding getting memory info fails when running under lxc
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.)


-- 
1072831: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1072831
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: procps
Version: 2:4.0.2-3
Severity: normal

I am running a number of virtual systems under lxc via libvirt.
This means these systems share the host kernel (not like qemu where a
whole virtual machine is emulated).

I upgraded one to bookworm today, and when running 'ps faxu' or 'free'
I get an error: Unable to create meminfo structure

I downgraded procps to 2:3.3.17-5 (including libprocps8 2:3.3.17-5)
and then it worked again.

Working 'free' output:

# free
               total        used        free      shared  buff/cache   available
Mem:         2097152       64600     1932352        9028      100200     1932352
Swap:       10338296      795392     9542904


Not working 'free' output:

# free
free: Unable to create meminfo structure


Contents of /proc/meminfo :
MemTotal:        2097152 kB
MemFree:         1930792 kB
MemAvailable:    1930792 kB
Buffers:               0 kB
Cached:           100672 kB
SwapCached:        60812 kB
Active:           119140 kB
Inactive:          38800 kB
Active(anon):      64480 kB
Inactive(anon):       84 kB
Active(file):      54660 kB
Inactive(file):    38716 kB
Unevictable:         660 kB
Mlocked:           43200 kB
SwapTotal:      10338296 kB
SwapFree:        9542904 kB
Zswap:                 0 kB
Zswapped:              0 kB
Dirty:               344 kB
Writeback:             0 kB
AnonPages:       3726656 kB
Mapped:           455856 kB
Shmem:              9028 kB
KReclaimable:     142356 kB
Slab:                  0 kB
SReclaimable:          0 kB
SUnreclaim:            0 kB
KernelStack:        8576 kB
PageTables:        19560 kB
SecPageTables:        48 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    14295376 kB
Committed_AS:    7452164 kB
VmallocTotal:   34359738367 kB
VmallocUsed:       42352 kB
VmallocChunk:          0 kB
Percpu:             3216 kB
HardwareCorrupted:     0 kB
AnonHugePages:   3117056 kB
ShmemHugePages:        0 kB
ShmemPmdMapped:        0 kB
FileHugePages:         0 kB
FilePmdMapped:         0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
Hugetlb:               0 kB
DirectMap4k:      179704 kB
DirectMap2M:     6940672 kB
DirectMap1G:     3145728 kB


I'm willing to help debug on my system if needed.

Thanks,
Paul

-- System Information:
Debian Release: 12.5
  APT prefers stable
  APT policy: (800, 'stable'), (500, 'stable-updates'), (500, 
'stable-security'), (500, 'unstable'), (500, 'oldstable'), (100, 
'bookworm-fasttrack'), (100, 'bookworm-backports-staging')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-9-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages procps depends on:
ii  init-system-helpers  1.65.2
ii  libc6                2.36-9+deb12u4
ii  libncursesw6         6.4-4
ii  libproc2-0           2:4.0.2-3
ii  libtinfo6            6.4-4

Versions of packages procps recommends:
ii  psmisc  23.6-1

procps suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: procps
Source-Version: 2:4.0.4-8
Done: Craig Small <[email protected]>

We believe that the bug you reported is fixed in the latest version of
procps, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Craig Small <[email protected]> (supplier of updated procps package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 14 Apr 2025 18:06:27 +1000
Source: procps
Architecture: source
Version: 2:4.0.4-8
Distribution: unstable
Urgency: medium
Maintainer: Craig Small <[email protected]>
Changed-By: Craig Small <[email protected]>
Closes: 729569 842879 978688 1054345 1061944 1072831 1077187 1080333 1080335 
1086441 1098385
Changes:
 procps (2:4.0.4-8) unstable; urgency=medium
 .
   * Port 4.0.5 patches:
     - library: recover from meminfo seek in LXC Closes: #1072831
     - library: print user/day when value is zero
     - library: Use clock_gettime for pids API Closes: #842879
     - kill: Correctly parse negative pids
     - sysctl: Don't read some keys Closes: #978688
     - skill: Fix lonesome : in help Closes: #1086441
     - sysctl.conf.5 Note changes with systemd Closes: #1077187
     - vmstat.8: si/so are changed by --unit Closes: #1061944
     - w: Don't crash with short option Closes: #1054345
     - w: Only count user sessions Closes: #1098385
     - w.1: Mention utmp only for non-systemd Closes: #1080333
     - watch.1: --chgexit only on visible changes Closes: #729569
   * Port 4.0.6 patches:
     - w: Add terminal mode -t option
     - w: Use process TTY for user TTY Closes: #1080335
Checksums-Sha1:
 a85ba176ca91aac13a9b781dd59aa89e13a714a4 2124 procps_4.0.4-8.dsc
 fe1779e1113b80412f0462b842ff01fa0b65ab21 45408 procps_4.0.4-8.debian.tar.xz
 fbb82afb3daac8395f3abf371a3335712bec72a6 7227 procps_4.0.4-8_amd64.buildinfo
Checksums-Sha256:
 996c2e0af9956dd1dfb9604720eb24ec21a79a53c320c7125794f8ac2791a640 2124 
procps_4.0.4-8.dsc
 0d1723a0134f8b6ae2619a4e9878084c06f92e36ab7c163086d713f2ed064f3d 45408 
procps_4.0.4-8.debian.tar.xz
 be18913f0a75bcb4ad772215c135104d8b7b9eb9651b7ef095285a5048a75de2 7227 
procps_4.0.4-8_amd64.buildinfo
Files:
 04763ca713d44bbdf625ccbab633efe4 2124 admin optional procps_4.0.4-8.dsc
 a1560600adc4858a0bddab1df138ea64 45408 admin optional 
procps_4.0.4-8.debian.tar.xz
 27aae028a419b7dbb46dbded81dbcfc9 7227 admin optional 
procps_4.0.4-8_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEXT3w9TizJ8CqeneiAiFmwP88hOMFAmf8woAACgkQAiFmwP88
hOOyPQ//fpw8/hLQHyA5Jm3ojtIlQfvgHSxXv4YPRXv39KfZxmkz+r7bUCwp4qlN
4QWiE94yo7Fn+QROc4v45SpAMd25f8HoD15bOISbyUE2RiPp+v8P3Yf/4N/Msp+d
+H26plwAI2M98OyJ9RGVEU9IKNqeOT0kDlaDs8zxcY11b/cXqNtFEpJc5KiVLBpU
IoUXIzEh2EnIgL128Ix+ldtAL2BdDMLoLBtUOY8PabDnAFEtJNfInOe369rFH6KO
xuBtZy1u7HonYLtLfM4+UAnxE99njT/tRR0YTh6zCjLezvPMnBgf/uoW9eLmNYJH
BKj0D2+zMFf4xU4EYQ86/W1fWVisDYKymnuZiQpmI7G7FVwLJ20wKFNjj0R7GrDq
oGhBiog1DPsgH6gME5tMSPoJoFW1lftSSb+rWG9+7HaveEaW49X2cqNGhf4x2Rgd
d/UEBPW1huLQfV/Hm9xjwOTXmurRR3Ldv21mSf0RHPdU490XqVrH5JOTJgZICTI/
+xpJK70rfqQSo410YB8z4Yh3JPWNHn/Vo95dveUd2D6Ysbfm9oHsJB0nUYPE+E+M
NmqSNgssLI3VutObTMGUzzo2Uahyerw/cJxW1K4oObZmqf2OIebGH0TJvU6f9+5h
9IZj/tIyi9PeFcDo/pdoY7UbkOVtCzlcb2AbBYCuWAqqXm6W0nQ=
=KBLu
-----END PGP SIGNATURE-----

Attachment: pgp7QKuzP3SCX.pgp
Description: PGP signature


--- End Message ---

Reply via email to