Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 698994

Summary: sys-cluster/slurm-19.05.3.2 - slurmd: error: plugin_load_from_file: dlopen(/usr/lib64/slurm/select_linear.so): /usr/lib64/slurm/select_linear.so: undefined symbol: slurm_job_preempt_mode
Product: Gentoo Linux Reporter: Alessandro Barbieri <lssndrbarbieri>
Component: HardenedAssignee: Alexey Shvetsov <alexxy>
Status: UNCONFIRMED ---    
Severity: normal CC: cluster, hardened
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugs.schedmd.com/show_bug.cgi?id=2443
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: info-slurm

Description Alessandro Barbieri 2019-10-31 04:52:01 UTC
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
Comment 1 Alessandro Barbieri 2019-10-31 04:54:24 UTC
Created attachment 594620 [details]
info-slurm

emerge --info
Comment 2 Alessandro Barbieri 2020-12-19 00:45:09 UTC
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