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

deb: packaging for Ubuntu 24.04 (release-4.1) #2853

Merged
merged 2 commits into from Apr 30, 2024

Conversation

dtrudg
Copy link
Member

@dtrudg dtrudg commented Apr 29, 2024

  • Document manual apparmor profile install in INSTALL.md for source builds

  • Add Ubuntu 24.04 to the CI matrix.

  • Add an apparmor profile for Ubuntu >=24 that enables unprivileged user namespace creation in the non-setuid starter.

  • Add a placeholder apparmor profile for Ubuntu <24 that just marks the non-setuid starter as unconfined. Avoids version-dependent use of dh_apparmor.

  • Strip -D_FORTIFY_SOURCE=3 from CPPFLAGS in squashfuse build, if present (Ubuntu 24.04). This prevents a clash with the -D_FORTIFY_SOURCE=2 that we set explicitly. Squashfuse build already needs some hardening disabled. We should revisit in depth in future.

Closes #2275

* Add Ubuntu 24.04 to the CI matrix.

* Add an apparmor profile for Ubuntu >=24 that enables unprivileged user
  namespace creation in the non-setuid starter.

* Add a placeholder apparmor profile for Ubuntu <24 that just marks the
  non-setuid starter as unconfined. Avoids version-dependent use of
  dh_apparmor.

* Strip -D_FORTIFY_SOURCE=3 from CPPFLAGS in squashfuse build, if
  present (Ubuntu 24.04). This prevents a clash with the -D_FORTIFY_SOURCE=2
  that we set explicitly. Squashfuse build already needs some hardening
  disabled. We should revisit in depth in future.
@dtrudg dtrudg marked this pull request as ready for review April 29, 2024 16:46
@dtrudg dtrudg merged commit 07d1bd5 into sylabs:release-4.1 Apr 30, 2024
1 check passed
@dtrudg dtrudg deleted the 2404-4.1 branch April 30, 2024 13:26
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.

None yet

2 participants