when starting slurmd with systemd ott 31 03:39:19 ALESSAND-F1E8 systemd[1]: Starting Slurm node daemon... ott 31 03:39:19 ALESSAND-F1E8 slurmd[5354]: error: plugin_load_from_file: dlopen(/usr/lib64/slurm/select_linear.so): /usr/lib64/slurm/select_linear.so: undefined symbol: slurm_job_preempt_mode ott 31 03:39:19 ALESSAND-F1E8 slurmd[5354]: error: Couldn't load specified plugin name for select/linear: Dlopen of plugin file failed ott 31 03:39:19 ALESSAND-F1E8 slurmd[5354]: fatal: Can't find plugin for select/linear ott 31 03:39:19 ALESSAND-F1E8 systemd[1]: slurmd.service: Control process exited, code=exited, status=1/FAILURE ott 31 03:39:19 ALESSAND-F1E8 systemd[1]: slurmd.service: Failed with result 'exit-code'. ott 31 03:39:19 ALESSAND-F1E8 systemd[1]: Failed to start Slurm node daemon. It's a known issue, see: https://www.mail-archive.com/slurm-dev@schedmd.com/msg07385.html https://stackoverflow.com/questions/48070840/slurm-cant-find-plugin-for-select-linear I'm using the hardened profile
Created attachment 594620 [details] info-slurm emerge --info
https://bugs.schedmd.com/show_bug.cgi?id=2443 TL;DR Upstream suck: doesn't want to fix the issue and suggest not hardening the build The other option is to patch the code but the patch needs to be rewritten for every version
This is pathetic. The same is still true with slurm-22 when I am trying to add it back to tree.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f77f6be9737de0f9d1fa729a32eb3ed9c62ca66a commit f77f6be9737de0f9d1fa729a32eb3ed9c62ca66a Author: Benda Xu <heroxbd@gentoo.org> AuthorDate: 2024-10-09 10:51:06 +0000 Commit: Benda Xu <heroxbd@gentoo.org> CommitDate: 2024-10-18 13:37:07 +0000 sys-cluster/slurm: use lazy binding to let plugins work. Follow the guidence from slurm.spec and Debian turning off -bindnow. Bug: https://bugs.gentoo.org/698994 Reference: https://salsa.debian.org/hpc-team/slurm-wlm/-/blob/master/debian/rules Signed-off-by: Benda Xu <heroxbd@gentoo.org> sys-cluster/slurm/slurm-22.05.11.ebuild | 9 +++++++-- sys-cluster/slurm/slurm-24.05.3.ebuild | 9 +++++++-- 2 files changed, 14 insertions(+), 4 deletions(-)