Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package numactl for openSUSE:Factory checked in at 2025-06-27 23:00:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/numactl (Old) and /work/SRC/openSUSE:Factory/.numactl.new.7067 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "numactl" Fri Jun 27 23:00:30 2025 rev:77 rq:1288259 version:2.0.19.13.g63e0223 Changes: -------- --- /work/SRC/openSUSE:Factory/numactl/numactl.changes 2025-04-15 16:48:12.740898459 +0200 +++ /work/SRC/openSUSE:Factory/.numactl.new.7067/numactl.changes 2025-06-27 23:01:18.545265242 +0200 @@ -1,0 +2,6 @@ +Tue Jun 24 11:19:25 UTC 2025 - Thomas Renninger <tr...@suse.de> + +- Fix Node0 does not exist (bsc#1244492) +A 4abeee1aac20a7a2552870e0359b8df013ae9037.patch + +------------------------------------------------------------------- New: ---- 4abeee1aac20a7a2552870e0359b8df013ae9037.patch ----------(New B)---------- New:- Fix Node0 does not exist (bsc#1244492) A 4abeee1aac20a7a2552870e0359b8df013ae9037.patch ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ numactl.spec ++++++ --- /var/tmp/diff_new_pack.PZUAXL/_old 2025-06-27 23:01:19.349298378 +0200 +++ /var/tmp/diff_new_pack.PZUAXL/_new 2025-06-27 23:01:19.349298378 +0200 @@ -25,9 +25,12 @@ URL: https://github.com/numactl/numactl/releases Source0: %{name}-%{version}.tar.gz Source2: baselibs.conf -# PATCH-FIX-OPENSUSE -- Avoid segfault when no node can be found in sysfs +# PATCH-FIX-UPSTREAM -- Avoid segfault when no node can be found in sysfs #246 Patch1: 0001-Fixed-segfault-when-no-node-could-be-found-in-sysfs-.patch +# PATCH-FIX-UPSTREAM -- Use __builtin___clear_cache #246 Patch2: numactl-clearcache-pie.patch +# PATCH-FIX-UPSTREAM -- PR #245 +Patch3: https://github.com/numactl/numactl/commit/4abeee1aac20a7a2552870e0359b8df013ae9037.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool ++++++ 4abeee1aac20a7a2552870e0359b8df013ae9037.patch ++++++ >From 4abeee1aac20a7a2552870e0359b8df013ae9037 Mon Sep 17 00:00:00 2001 From: Seeteena Thoufeek <s1see...@linux.ibm.com> Date: Wed, 18 Jun 2025 10:22:23 +0530 Subject: [PATCH] numastat command fails on LPAR which is not having node0 We see the device path hardcoded with node0. it presumes node0 always exist, and it just counts the number of rows of information in the file for later uses where it does process the nodes as expected. Signed-off-by: Seeteena Thoufeek <s1see...@linux.vnet.ibm.com> --- numastat.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/numastat.c b/numastat.c index 7683f07..54d201c 100644 --- a/numastat.c +++ b/numastat.c @@ -782,8 +782,9 @@ static void show_info_from_system_file(char *file, int tok_offset) { char fname[64]; char buf[SMALL_BUF_SIZE]; - // Open /sys/.../node0/<file> - snprintf(fname, sizeof(fname), "/sys/devices/system/node/node0/%s", file); + + // Use the first available node for initial row counting + snprintf(fname, sizeof(fname), "/sys/devices/system/node/node%d/%s", node_ix_map[0], file); FILE *fs = fopen(fname, "r"); if (!fs) { sprintf(buf, "cannot open %s", fname);