On 12/01/2018 21:45, Hattne, Johan wrote: > >> On Jan 12, 2018, at 15:00, Mehdi Dogguy <me...@dogguy.org> wrote: >> >> I agree. My patch would only help others to not fall into the trap of >> using slurm's default pid paths. A more suitable mid-term goal would be to >> use /var/run as a state dir, just like upstream. I'll leave this bugreport >> open (and retitle it accordingly) to remind us about what's remaining to >> do. > > OK, thanks! From memory, I think the directory where the PID file is written > is not statedir as configured through the autotools but rather something > hardcoded in the source. >
Yes, I am using this patch: https://anonscm.debian.org/git/collab-maint/slurm-llnl.git/commit/?id=d18690bbf1b8aa8b9d57b9e755841fdf67cf6aaa > And just to clarify, by default Debian’s slurmd already writes its PID-file > there, it’s just that startup-scripts expect the location to be customized > (as is done through e.g. the default Debian configuration file). However, I > at least some slurm installations cannot use the Debian configuration file > everywhere. > Sure. -- Mehdi