[Bug 288617] sysutils/slurm-wlm: slurmd: error: Unable to initialize cgroup plugin

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 03 Aug 2025 01:14:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288617

            Bug ID: 288617
           Summary: sysutils/slurm-wlm: slurmd: error: Unable to
                    initialize cgroup plugin
           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

After installing the port, when trying to run slurmd -Dvvv, slurmd produces the
following output and crashes:
slurmd: debug:  Log file re-opened
slurmd: debug2: hwloc_topology_init
slurmd: debug2: hwloc_topology_load
slurmd: debug2: hwloc_topology_export_xml
slurmd: debug:  CPUs:4 Boards:1 Sockets:1 CoresPerSocket:4 ThreadsPerCore:1
slurmd: error: Unable to initialize cgroup plugin
slurmd: error: slurmd initialization failed

I do already have a patch at hand to remove cgroup support via #if
defined(__FreeBSD__) detection to skip the cgroup setup, but did not yet manage
to get the port to automatically build in task/pgid plugin, to at least give
slurm a controller for its processes. I will refine the patch until i have it
solved.
But even then, resource limitation would be gone for now, so i will need to
come up with an alternative for that aswell.

-- 
You are receiving this mail because:
You are the assignee for the bug.