[slurm-users] Missing systemd unit files in SLURM 17.11.0 RPMs

Ole Holm Nielsen Ole.H.Nielsen at fysik.dtu.dk
Thu Nov 30 06:02:54 MST 2017


On 11/30/2017 01:40 PM, Alan Orth wrote:
> I just built SLURM 17.11.0 on a CentOS 7 machine and was surprised to 
> see that several systemd unit files were missing from the RPMs. For some 
> reason the slurmdbd.service file is present though:
> 
> $ rpmbuild -ta slurm-17.11.0.tar.bz2
> $ rpm -qlp slurm-17.11.0-1.el7.centos.x86_64.rpm | egrep "init.d|service$"
> $ rpm -qlp slurm-slurmdbd-17.11.0-1.el7.centos.x86_64.rpm | egrep 
> "init.d|service$"
> /usr/lib/systemd/system/slurmdbd.service
> 
> I'm updating from SLURM 16.05.10 where the service files were indeed 
> present in the RPM:
> 
> $ rpm -qlp slurm-16.05.10-2.el7.centos.x86_64.rpm | egrep "init.d|service$"
> /etc/init.d/slurm
> /usr/lib/systemd/system/slurmctld.service
> /usr/lib/systemd/system/slurmd.service
> 
> I see the service files in the source tarball. Is this a problem with 
> the spec file in 17.10.0 or perhaps something wrong in my build environment?

I've built the 17.11 RPMs on our CentOS 7.4 system, and the service 
files are indeed present in the appropriate RPMs:

# rpm -qlp  slurm-slurmctld-17.11.0-1.el7.centos.x86_64.rpm | grep service
/usr/lib/systemd/system/slurmctld.service
# rpm -qlp slurm-slurmd-17.11.0-1.el7.centos.x86_64.rpm | grep service
/usr/lib/systemd/system/slurmd.service

Please bear in mind that the Slurm RPMs have been completely rearranged 
in 17.11!

/Ole



More information about the slurm-users mailing list