Thanks to everyone for your feedback.
We've now implemented two simple prolog/epilog scripts which call the systemd 'loginctl' tool and this is creating / cleaning up the /run/user/$UID directory tree nicely.
Our Podman setup also places runroot in an individual user directory on local scratch directories, and graphroot is in a NFS-shared user home directory, so accessible across all of our compute nodes.
This now seems to work really nicely.
We've got subuid/subgid entries auto-generated on our login nodes to allow users to create/manage images there, but we made the design decision to not allow this on compute nodes, so we're currently running without that support.
I suspect for 99.98% of use cases this won't be an issue (our policy is not to support network services run by this method, so for most users this should be more than satisfactory), the fact is; our users don't have container support on the old platform that this new system is replacing, so it's a net-gain in functionality for them.
John ________________________________ From: Christopher Samuel via slurm-users slurm-users@lists.schedmd.com Sent: 06 September 2025 17:14 To: slurm-users@lists.schedmd.com slurm-users@lists.schedmd.com Subject: [slurm-users] Re: Creating /run/user/$UID - for Podman runtime
⚠ External sender. Take care when opening links or attachments. Do not provide your login details.
On 9/5/25 12:55 am, John Snowdon via slurm-users wrote:
What I'm struggling with now is running Podman under Slurm itself on our compute nodes.
We found that we had to make /run/user/$UID private per job via a script run from the job_container/tmpfs plugin in order to stop jobs from the same user on a node using podman (via podman-hpc) trashing each other.
The details (including the script and config) are in our public support ticket where I was flailing around looking for how to do this with CloneNSScript here: https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsupport.sc...https://support.schedmd.com/show_bug.cgi?id=23228
All the best, Chris -- Chris Samuel : https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.csamuel...http://www.csamuel.org/ : Berkeley, CA, USA
-- slurm-users mailing list -- slurm-users@lists.schedmd.com To unsubscribe send an email to slurm-users-leave@lists.schedmd.com