slurmd must run as root because it forks and execs processes on behalf of other users using the job owner’s uid.
I don’t understand what trouble you’re having monitoring slurm with nagios. Could you give an example of what you’re trying to do, what you expect it to do, and what it does in stead? ~jonathon > On Feb 10, 2016, at 6:30 PM, jupiter <[email protected]> wrote: > > Hi, > > I am running slurm on CentOS 6. One thing I've just noticed is that the > slurmctld is running under the user slurm but the slurmd is running under the > root. Not quite sure why those daemons in different owner ships, any inside > explanation please? Further looked at both slurm daemon configure in > /etc/init.d and slurm.conf, they are identiccal, how could they behave > differently? Anyway, can the owner ship of slurmd be changed to the user > slurm? > > The problem I've got now is I am running nagios monitoring via ssh, it can > check all other application daemon status, but it always failed to check > slrum daemon status due to the slurmd root access restriction. > > Thanks. > >
