Re: [slurm-users] Kernel keyrings on Slurm node inside Slurm job

2022-08-25 Thread Yair Yarom
I hope UsePAM won't get deprecated. I can understand the dangers, and indeed to use it for limits seems weird (nowadays), but it's a nice hook to have and we use it for other purposes: pam_setquota for /tmp quota per user; Setting the per user /run/user/ directory (usually systemd sets this up, but

Re: [slurm-users] Kernel keyrings on Slurm node inside Slurm job

2022-08-25 Thread Ole Holm Nielsen
On 8/25/22 11:15, Matthias Leopold wrote: Thanks for the hint. I wasn't aware of UsePAM. At first it looks tempting, but then I read some bug reports and saw that it's an "alternative way of enforcing resource limits" and is considered an "older deprecated functionality". https://bugs.schedmd

Re: [slurm-users] Kernel keyrings on Slurm node inside Slurm job

2022-08-25 Thread Matthias Leopold
Thanks for the hint. I wasn't aware of UsePAM. At first it looks tempting, but then I read some bug reports and saw that it's an "alternative way of enforcing resource limits" and is considered an "older deprecated functionality". https://bugs.schedmd.com/show_bug.cgi?id=4098 That doesn't sou

Re: [slurm-users] Kernel keyrings on Slurm node inside Slurm job

2022-08-24 Thread Yair Yarom
Hi, I think you should look at pam_keyinit and add it to the slurm pam (the one used with the UsePAM configuration). We currently don't do this, but it's on the todo list to check it out... (so I'm not sure if it will work, or if it's the right way to do this). On Tue, 23 Aug 2022 at 16:36, Matt