Hi Slurm developers, I've noticed that systemd service files were not included in the RPM. After reviewing the slurm.spec file, I found the following issue:
The slurm systemd service files are installed at $RPM_BUILD_ROOT*/usr*/lib/systemd/system/ directory. But during the packaging, it checks at the $RPM_BUILD_ROOT/lib/systemd/system/ directory, which was wrong. The correct check should be: test -f $RPM_BUILD_ROOT*/usr*/lib/systemd/system/slurmctld.service && echo /lib/systemd/system/slurmctld.service >> $LIST test -f $RPM_BUILD_ROOT*/usr*/lib/systemd/system/slurmd.service && echo /lib/systemd/system/slurmd.service >> $LIST test -f $RPM_BUILD_ROOT*/usr*/lib/systemd/system/slurmdbd.service && echo /lib/systemd/system/slurmdbd.service >> $LIST Regards, - Chansup
