Please add ===== After=nss-user-lookup.target munge.service ===== in slurmctld.service systemd unit file. As described at https://www.freedesktop.org/software/systemd/man/systemd.special.html#Special%20Passive%20System%20Units > A target that should be used as synchronization point for > all user/group name service lookups. > All services for which the availability of the full > user/group database is essential should be ordered after this target, > but not pull it in. The service slurmctld.service require to access full user/group database at boot time. So, it should start after nss-user-lookup.target. Without this dependency, and if user/group database service (e.g. ypbind) starts after slurmctld, then users given by the database cannot submit jobs correctly. Also, if we use munge plugins, munge.service should start before that slurmctld starts.
I agree about the munge.service. But we don't employ a user/group database service (e.g. ypbind), only local passwd files, so in this case I suppose that the nss-user-lookup.target isn't needed, right? What's would a more general approach then be?
munge.service has already been added to version 17.02