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

Security patching of compat layer #192

Open
ocaisa opened this issue Nov 10, 2023 · 1 comment
Open

Security patching of compat layer #192

ocaisa opened this issue Nov 10, 2023 · 1 comment

Comments

@ocaisa
Copy link
Member

ocaisa commented Nov 10, 2023

There is good chance that it may not be easy for us to implement security patches in our compat layer since it may break things in the associated stack. There was a discussion on this in https://github.com/EESSI/meetings/wiki/meeting-2023-02-02#compatibility-layer

The general thinking is that we could have versions of the compat layer and use a variable symlink to define the default version. This give sites the ability to use, or potentially ignore, the security updates.

@ocaisa
Copy link
Member Author

ocaisa commented Nov 10, 2023

One concern was that putting things behind a symlink may cause issues on its own, since software may resolve that link and go around the security update.

To avoid that I have a proposal:

  • The install location of the compat layer does not change
  • For user consumption, we move the compat layer and add a variable symlink (thereby keeping all paths valid)
  • For building, we put the original compat layer back in place, and when the build completes we restore the symlink (this means all software we ship is built on the same compat layer regardless of security updates)
  • We provide security fixes for the compat layer (again built in the original location but moved to a new path)
  • The variable symlink allows people to select/ignore a security-updated compat layer with EESSI controlling the default value

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

No branches or pull requests

1 participant