diff --git a/slurm.changes b/slurm.changes index 32ebb86..4c2b998 100644 --- a/slurm.changes +++ b/slurm.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Sep 28 15:53:38 UTC 2021 - Christian Goll + +- moved pam module from /lib64 to /usr/lib64 which fixes boo#1191095 + ------------------------------------------------------------------- Fri Sep 17 07:22:44 UTC 2021 - Christian Goll diff --git a/slurm.spec b/slurm.spec index d603adf..3c4208b 100644 --- a/slurm.spec +++ b/slurm.spec @@ -560,6 +560,7 @@ autoreconf --without-rpath \ --without-datawarp \ --with-shared-libslurm \ + --with-pam_dir=%{_libdir}/security \ %{?with_pmix:--with-pmix=/usr/} \ %if 0%{?build_slurmrestd} --enable-slurmrestd \ @@ -613,6 +614,8 @@ mkdir -p %{buildroot}%{_sysconfdir}/%{pname}/plugstack.conf.d cp contribs/pam_slurm_adopt/README ../README.pam_slurm_adopt cp contribs/pam/README ../README.pam_slurm +# remove static pam libs +rm -v %{buildroot}%{_libdir}/security/*la # change slurm.conf for our needs head -n -2 %{buildroot}/%{_sysconfdir}/%{pname}/slurm.conf.example | grep -v ReturnToService > %{buildroot}/%{_sysconfdir}/%{pname}/slurm.conf sed -i 's#\(StateSaveLocation=\).*#\1%_localstatedir/lib/slurm#' %{buildroot}/%{_sysconfdir}/%{pname}/slurm.conf @@ -1179,8 +1182,8 @@ exit 0 %files pam_slurm %{?comp_at} %doc ../README.pam_slurm ../README.pam_slurm_adopt -/%_lib/security/pam_slurm.so -/%_lib/security/pam_slurm_adopt.so +%{_libdir}/security/pam_slurm.so +%{_libdir}/security/pam_slurm_adopt.so %if 0%{?build_slurmrestd} %files rest