WIP: Set UsePAM=1 in slurm.conf #251

Draft
rarias wants to merge 1 commits from use-pam into master
Owner

Fixes: #245

Doesn't work in fox (in owls yes):

Mar 18 13:09:01 fox slurmstepd[2685582]: [49153.batch] debug4: eio: handling events for 1 objects
Mar 18 13:09:01 fox slurmstepd[2685582]: [49153.batch] debug3: Called _msg_socket_readable
Mar 18 13:09:01 fox slurmstepd[2685582]: pam_warn(slurm:setcred): function=[pam_sm_setcred] flags=0x2 service=[slurm] terminal=[<unknown>] user=[varcila] ruser=[varcila] rhost=[fox]
Mar 18 13:09:01 fox slurmstepd[2685582]: [49153.batch] error: pam_setcred ESTABLISH: Failure setting user credentials
Mar 18 13:09:01 fox slurmstepd[2685582]: [49153.batch] error: error in pam_setup
Mar 18 13:09:01 fox slurmstepd[2685582]: [49153.batch] debug:  _fork_all_tasks failed
Mar 18 13:09:01 fox slurmstepd[2685582]: [49153.batch] debug2: step_terminate_monitor will run for 60 secs

I suspect we need to add PAM configuration for slurm. See:

https://www.suse.com/c/deploying-slurm-pam-modules-on-sle-compute-nodes/

Rolled back for now.

CC @varcila

Fixes: https://jungle.bsc.es/git/rarias/jungle/issues/245 Doesn't work in fox (in owls yes): ``` Mar 18 13:09:01 fox slurmstepd[2685582]: [49153.batch] debug4: eio: handling events for 1 objects Mar 18 13:09:01 fox slurmstepd[2685582]: [49153.batch] debug3: Called _msg_socket_readable Mar 18 13:09:01 fox slurmstepd[2685582]: pam_warn(slurm:setcred): function=[pam_sm_setcred] flags=0x2 service=[slurm] terminal=[<unknown>] user=[varcila] ruser=[varcila] rhost=[fox] Mar 18 13:09:01 fox slurmstepd[2685582]: [49153.batch] error: pam_setcred ESTABLISH: Failure setting user credentials Mar 18 13:09:01 fox slurmstepd[2685582]: [49153.batch] error: error in pam_setup Mar 18 13:09:01 fox slurmstepd[2685582]: [49153.batch] debug: _fork_all_tasks failed Mar 18 13:09:01 fox slurmstepd[2685582]: [49153.batch] debug2: step_terminate_monitor will run for 60 secs ``` I suspect we need to add PAM configuration for slurm. See: https://www.suse.com/c/deploying-slurm-pam-modules-on-sle-compute-nodes/ Rolled back for now. CC @varcila
rarias added 1 commit 2026-03-18 13:49:49 +01:00
Set UsePAM=1 in slurm.conf
All checks were successful
CI / build:cross (pull_request) Successful in 8s
CI / build:all (pull_request) Successful in 32s
c69ec34c1e
Fixes: #245
rarias self-assigned this 2026-03-18 13:52:27 +01:00
rarias added this to the Kanban project 2026-03-18 13:52:31 +01:00
rarias moved this to To Do in Kanban on 2026-03-18 13:52:38 +01:00
All checks were successful
CI / build:cross (pull_request) Successful in 8s
CI / build:all (pull_request) Successful in 32s
This pull request is marked as a work in progress.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin use-pam:use-pam
git checkout use-pam
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rarias/jungle#251