Created attachment 25471 [details] pam_slurm_adopt: slurm_conf parameter Hi, Is it possible to add a slurm_conf option to pam_slurm_adopt? E.g. when slurm.conf is in a non default location. Attached is a patch that achieves this. The patch is against master (23.02), but I've only tested it on 21.08 (which is what we currently have). Thanks, Yair.
I am also interested in this patch. I am currently using pam_slurm_adopt with compute node slurmd running in configless mode. With configless mode, I expect slurm.conf is not needed in compute nodes. However, pam_slurm_adopt still wants to read slurm.conf at the default location, which doesn't exist, instead of the one that slurmd pulled from slurmctld (saved at /var/spool/slurm/d/conf-cache/slurm.conf). This patch could be useful also in this case. hope this will get noticed and merged in future releases. Thanks.