Hi James, Slurm 19.05.5 face the same problem with Centos8, so hardened environment, and the same fix helps. I will test slurm 20.02 as soon as possible.
https://bugs.schedmd.com/show_bug.cgi?id=8414 Best Regards, Stephan -----Original Message----- From: slurm-users [mailto:slurm-users-boun...@lists.schedmd.com] On Behalf Of Tina Friedrich Sent: Friday, February 21, 2020 6:03 PM To: slurm-users@lists.schedmd.com Subject: Re: [slurm-users] RHEL8 support - Missing Symbols in SelectType libraries Hi James, thank you! I can confirm that 'fixes' it. slurmd now starts, the node joins the cluster, I can at least get an interactive session on it (haven't tried anything else). In case that's of interest - this is actually SLURM 18.08.3 that I've now gotten to run (I haven't quite managed to upgrade to 19 yet). I've made minor modifications to the spec file - the unhardening of the flags and the the python dependency. Tina On 21/02/2020 15:47, Erwin, James wrote: > Hi Tina, > > I also recently encountered symbol errors with slurmd on RHEL 8 , and the > work-around posted here solved the problem: > > https://klmlinks.wordpress.com/2017/11/18/bug-2443-slurmd-does-not-sta > rt-when-built-in-hardened-environment/ > > > I simply added this to the slurm.spec file: > > %undefine _hardened_build > %global _hardened_cflags “-Wl,-z,lazy” > %global _hardened_ldflags “-Wl,-z,lazy” > > > > -James > > -----Original Message----- > From: slurm-users <slurm-users-boun...@lists.schedmd.com> On Behalf Of > Tina Friedrich > Sent: Friday, February 21, 2020 10:40 AM > To: slurm-users@lists.schedmd.com > Subject: Re: [slurm-users] RHEL8 support - Missing Symbols in > SelectType libraries > > Hello, > > shame this seems to be the last message in this thread! > > I'm currently banging against the same problem on a test system. > > Did anyone get that to run? If yes, how exactly did you build the packages? > > Tina > > On 01/11/2019 18:19, Michael Jennings wrote: >> On Friday, 01 November 2019, at 10:41:26 (-0700), Brian Andrus wrote: >> >>> That's pretty much how I did it too. >>> >>> But... >>> >>> When you try to run slurmd, it chokes on the missing symbols issue. >> >> I don't yet have a full RHEL8 cluster to test on, and this isn't >> really my area of expertise, but have you tried disabling "-Wl,-z,now" >> from $LDFLAGS during the RPM build? Since the powercap symbols are >> defined in slurmctld but not slurmd, I suspect that the symbol >> problems are related to the disabling of lazy symbol bindings. >> >> I could be completely wrong, of course, but that's what I'd try. :-) >> >> Michael >> Click https://www.mailcontrol.com/sr/QAiPGA5_nt7GX2PQPOmvUjekYHk5lulQSJVaSpHMyRkvLDVEh1Zn82wnofnM5JA5LXbtNkpjyS85N50IUBelLw== to report this email as spam.