Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix order of commands in installation script for sssd and nss-pam-ldapd #205

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

bedroge
Copy link
Collaborator

@bedroge bedroge commented Apr 16, 2024

There was a stupid mistake in #199, which first reinstalled new packages and then removed symlinks. But those new packages actually provided files that replace the symlinks, so the files themselves got removed again later on 🤦‍♂️. I fixed the order in the script, and it now first removes the symlinks.

Fixed it in the repo by manually copying the missing files to the Stratum 0, and adding them in a transaction:

[mod] /cvmfs/software.eessi.io/versions
[mod] /cvmfs/software.eessi.io/versions/2023.06
[mod] /cvmfs/software.eessi.io/versions/2023.06/compat
[mod] /cvmfs/software.eessi.io/versions/2023.06/compat/linux
[mod] /cvmfs/software.eessi.io/versions/2023.06/compat/linux/x86_64
[mod] /cvmfs/software.eessi.io/versions/2023.06/compat/linux/x86_64/lib64
[add] /cvmfs/software.eessi.io/versions/2023.06/compat/linux/x86_64/lib64/libnss_ldap.so.2
[rem] /cvmfs/software.eessi.io/versions/2023.06/compat/linux/x86_64/lib64/libnss_sss.so
[add] /cvmfs/software.eessi.io/versions/2023.06/compat/linux/x86_64/lib64/libnss_sss.so
[add] /cvmfs/software.eessi.io/versions/2023.06/compat/linux/x86_64/lib64/libnss_sss.so.2
[rem] /cvmfs/software.eessi.io/versions/2023.06/compat/linux/x86_64/lib64/libnss_sss.so.2.0.0
[add] /cvmfs/software.eessi.io/versions/2023.06/compat/linux/x86_64/lib64/libnss_sss.so.2.0.0
[mod] /cvmfs/software.eessi.io/versions/2023.06/compat/linux/aarch64
[mod] /cvmfs/software.eessi.io/versions/2023.06/compat/linux/aarch64/lib64
[add] /cvmfs/software.eessi.io/versions/2023.06/compat/linux/aarch64/lib64/libnss_ldap.so.2
[rem] /cvmfs/software.eessi.io/versions/2023.06/compat/linux/aarch64/lib64/libnss_sss.so
[add] /cvmfs/software.eessi.io/versions/2023.06/compat/linux/aarch64/lib64/libnss_sss.so
[add] /cvmfs/software.eessi.io/versions/2023.06/compat/linux/aarch64/lib64/libnss_sss.so.2
[rem] /cvmfs/software.eessi.io/versions/2023.06/compat/linux/aarch64/lib64/libnss_sss.so.2.0.0
[add] /cvmfs/software.eessi.io/versions/2023.06/compat/linux/aarch64/lib64/libnss_sss.so.2.0.0

Copy link

eessi-bot bot commented Apr 16, 2024

Instance eessi-bot-mc-aws is configured to build:

  • arch x86_64/generic for repo eessi-hpc.org-2023.06-compat
  • arch x86_64/generic for repo eessi-hpc.org-2023.06-software
  • arch x86_64/generic for repo eessi.io-2023.06-compat
  • arch x86_64/generic for repo eessi.io-2023.06-software
  • arch x86_64/intel/haswell for repo eessi-hpc.org-2023.06-compat
  • arch x86_64/intel/haswell for repo eessi-hpc.org-2023.06-software
  • arch x86_64/intel/haswell for repo eessi.io-2023.06-compat
  • arch x86_64/intel/haswell for repo eessi.io-2023.06-software
  • arch x86_64/intel/skylake_avx512 for repo eessi-hpc.org-2023.06-compat
  • arch x86_64/intel/skylake_avx512 for repo eessi-hpc.org-2023.06-software
  • arch x86_64/intel/skylake_avx512 for repo eessi.io-2023.06-compat
  • arch x86_64/intel/skylake_avx512 for repo eessi.io-2023.06-software
  • arch x86_64/amd/zen2 for repo eessi-hpc.org-2023.06-compat
  • arch x86_64/amd/zen2 for repo eessi-hpc.org-2023.06-software
  • arch x86_64/amd/zen2 for repo eessi.io-2023.06-compat
  • arch x86_64/amd/zen2 for repo eessi.io-2023.06-software
  • arch x86_64/amd/zen3 for repo eessi-hpc.org-2023.06-compat
  • arch x86_64/amd/zen3 for repo eessi-hpc.org-2023.06-software
  • arch x86_64/amd/zen3 for repo eessi.io-2023.06-compat
  • arch x86_64/amd/zen3 for repo eessi.io-2023.06-software
  • arch aarch64/generic for repo eessi-hpc.org-2023.06-compat
  • arch aarch64/generic for repo eessi-hpc.org-2023.06-software
  • arch aarch64/generic for repo eessi.io-2023.06-compat
  • arch aarch64/generic for repo eessi.io-2023.06-software
  • arch aarch64/neoverse_n1 for repo eessi-hpc.org-2023.06-compat
  • arch aarch64/neoverse_n1 for repo eessi-hpc.org-2023.06-software
  • arch aarch64/neoverse_n1 for repo eessi.io-2023.06-compat
  • arch aarch64/neoverse_n1 for repo eessi.io-2023.06-software
  • arch aarch64/neoverse_v1 for repo eessi-hpc.org-2023.06-compat
  • arch aarch64/neoverse_v1 for repo eessi-hpc.org-2023.06-software
  • arch aarch64/neoverse_v1 for repo eessi.io-2023.06-compat
  • arch aarch64/neoverse_v1 for repo eessi.io-2023.06-software

Copy link
Contributor

@trz42 trz42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@trz42 trz42 merged commit 010fa7c into EESSI:main Apr 16, 2024
3 checks passed
@bedroge bedroge deleted the fix_sssd_nss_installation_script branch April 16, 2024 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants