[Bug 288880] sysutils/slurm-wlm: slurmd & slurmctld require linproc mounted at /proc
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 288880] sysutils/slurm-wlm: slurmd & slurmctld require linproc mounted at /proc"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 288880] sysutils/slurm-wlm: slurmd & slurmctld require linproc mounted at /proc"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 288880] sysutils/slurm-wlm: slurmd & slurmctld require linproc mounted at /proc"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 288880] sysutils/slurm-wlm: slurmd & slurmctld require linproc mounted at /proc"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 288880] sysutils/slurm-wlm: slurmd & slurmctld require linproc mounted at /proc"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 15 Aug 2025 08:12:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288880
Bug ID: 288880
Summary: sysutils/slurm-wlm: slurmd & slurmctld require linproc
mounted at /proc
Product: Ports & Packages
Version: Latest
Hardware: amd64
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs@FreeBSD.org
Reporter: rikka.goering@outlook.de
Attachment #262976 maintainer-approval+
Flags:
Flags: maintainer-feedback+
Created attachment 262976
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=262976&action=edit
This patch adds slurmctld/controller.c and slurmd/slurmd/slurmd.c to PROC2FIX
in Makefile of the port, to fix the issue described in this report.
Environment:
- FreeBSD: 14.3-RELEASE-p2 GENERIC (amd64)
- Ports tree: up to date as of 2025-08-12
- pkg: pkg -v -> 2.2.2
Description:
When trying to start slurmd or slurmctld they refuse to start and throw an
error. This error could be traced using truss to two files missing on PROC2FIX
in the ports Makefile.
Actual result:
: fatal: _parse_commandline: readlink failed: No such file or directory
Expected result:
slurmctld and slurmd start up fine.
Analysis:
I was able to trace the error down to src/slurmctld/controller.c and
src/slurmd/slurmd/slurmd.c. These two files were the ones still expecting a
linux procfs under /proc, which i could easily fix via adding these two the
ports PROC2FIX.
Proposed fix:
diff --git a/sysutils/slurm-wlm/Makefile b/sysutils/slurm-wlm/Makefile
index b7002208382b..55c4d4a9a61f 100644
--- a/sysutils/slurm-wlm/Makefile
+++ b/sysutils/slurm-wlm/Makefile
@@ -115,6 +115,8 @@ PROC2FIX= common/callerid.c common/fd.c
common/fetch_config.c \
plugins/switch/cray_aries/scaling.c \
plugins/task/affinity/affinity.c slurmd/common/set_oomadj.c
\
slurmd/common/xcpuinfo.c slurmd/slurmstepd/pdebug.c \
+ slurmctld/controller.c \
+ slurmd/slurmd/slurmd.c \
slurmd/slurmstepd/req.c
LLD2FIX= api plugins/openapi sacctmgr sackd scontrol scrontab scrun
\
(see attachments)
Workarounds for users (until fixed):
Either manually edit the Makefile, or mount linprocfs under /proc (not
recommended, may brake other applications)
--
You are receiving this mail because:
You are the assignee for the bug.